Searched refs:bp2 (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-frag6.c44 frag6_print(register const u_char *bp, register const u_char *bp2) argument
50 ip6 = (const struct ip6_hdr *)bp2;
59 (long)(bp - bp2) - sizeof(struct ip6_frag));
64 (long)(bp - bp2) - sizeof(struct ip6_frag));
H A Dprint-sunrpc.c88 register const u_char *bp2)
110 switch (IP_V((struct ip *)bp2)) {
112 ip = (struct ip *)bp2;
119 ip6 = (struct ip6_hdr *)bp2;
87 sunrpcrequest_print(register const u_char *bp, register u_int length, register const u_char *bp2) argument
H A Dprint-rt6.c44 rt6_print(register const u_char *bp, const u_char *bp2 _U_)
H A Dprint-sctp.c86 const u_char *bp2, /* beginning of enclosing */
108 ip = (struct ip *)bp2;
111 ip6 = (const struct ip6_hdr *)bp2;
85 sctp_print(const u_char *bp, const u_char *bp2, u_int sctpPacketLength) argument
H A Dprint-esp.c517 const u_char *bp, const int length, const u_char *bp2
589 ip = (struct ip *)bp2;
593 ip6 = (struct ip6_hdr *)bp2;
643 if (ep - bp2 < len)
645 if (ep - bp2 > len) {
647 ep = bp2 + len;
H A Dprint-udp.c362 register const u_char *bp2, int fragmented)
376 ip = (struct ip *)bp2;
379 ip6 = (struct ip6_hdr *)bp2;
586 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
588 isakmp_rfc3948_print(gndo, (const u_char *)(up + 1), length, bp2);
591 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
361 udp_print(register const u_char *bp, u_int length, register const u_char *bp2, int fragmented) argument
H A Dprint-igrp.c80 igrp_print(register const u_char *bp, u_int length, const u_char *bp2 _U_)
H A Dprint-isakmp.c130 const u_char *bp2, struct isakmp *base);
259 cookie_record(cookie_t *in, const u_char *bp2) argument
275 ip = (struct ip *)bp2;
303 ip6 = (struct ip6_hdr *)bp2;
328 cookie_sidecheck(int i, const u_char *bp2, int initiator) argument
341 ip = (struct ip *)bp2;
353 ip6 = (struct ip6_hdr *)bp2;
2220 const u_char *bp2, struct isakmp *base)
2242 if (bp2)
2243 cookie_record(&base->i_ck, bp2);
2218 ikev1_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2, struct isakmp *base) argument
2450 isakmp_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2) argument
2512 isakmp_rfc3948_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2) argument
[all...]
H A Dnetdissect.h286 register const u_char *bp, int len, register const u_char *bp2,
300 const u_char *bp2);
417 const u_char *bp, const u_char *bp2,
/freebsd-10.0-release/sys/geom/uzip/
H A Dg_uzip.c122 struct bio *bp2; local
132 bp2 = bp->bio_parent;
133 pp = bp2->bio_to;
140 bp2->bio_error = bp->bio_error;
141 if (bp2->bio_error != 0)
151 bp2->bio_error = EIO;
154 start_blk = bp2->bio_offset / sc->blksz;
160 bp2->bio_offset, sc->blksz, bsize));
161 for (i = start_blk; upos < bp2->bio_length; i++) {
164 uoff = i == start_blk ? bp2
228 struct bio *bp2; local
[all...]
/freebsd-10.0-release/sys/geom/uncompress/
H A Dg_uncompress.c170 struct bio *bp2; local
177 bp2 = bp->bio_parent;
178 pp = bp2->bio_to;
185 bp2->bio_error = bp->bio_error;
186 if (bp2->bio_error != 0)
202 * start_blk = bp2->bio_offset / 65536 = 65540/65536 = 1
211 start_blk = bp2->bio_offset / sc->blksz;
219 bp2->bio_offset, sc->blksz, bsize));
221 for (i = start_blk; upos < bp2->bio_length; i++) {
224 uoff = i == start_blk ? bp2
315 struct bio *bp2; local
[all...]
/freebsd-10.0-release/sys/geom/
H A Dgeom_disk.c232 struct bio *bp2; local
237 bp2 = bp->bio_parent;
238 sc = bp2->bio_to->private;
241 if (bp2->bio_error == 0)
242 bp2->bio_error = bp->bio_error;
243 bp2->bio_completed += bp->bio_completed;
247 bp2->bio_inbed++;
248 if (bp2->bio_children == bp2->bio_inbed) {
249 bp2
276 struct bio *bp2, *bp3; local
[all...]
H A Dgeom_slice.c143 struct bio *bp2; local
161 bp2 = g_clone_bio(bp);
162 if (bp2 == NULL) {
166 if (bp2->bio_offset + bp2->bio_length > gsl->length)
167 bp2->bio_length = gsl->length - bp2->bio_offset;
168 bp2->bio_done = g_std_done;
169 bp2->bio_offset += gsl->offset;
170 g_io_request(bp2, c
199 struct bio *bp2; local
[all...]
H A Dgeom_aes.c176 struct bio *bp2; local
186 bp2 = g_clone_bio(bp);
187 if (bp2 == NULL) {
191 bp2->bio_done = g_aes_read_done;
192 bp2->bio_offset += sc->sectorsize;
193 g_io_request(bp2, cp);
196 bp2 = g_clone_bio(bp);
197 if (bp2 == NULL) {
201 bp2->bio_done = g_aes_write_done;
202 bp2
[all...]
H A Dgeom_dev.c477 g_dev_done(struct bio *bp2) argument
484 cp = bp2->bio_from;
486 bp = bp2->bio_parent;
487 bp->bio_error = bp2->bio_error;
490 bp2, bp->bio_error);
494 bp2, bp, bp->bio_resid, (intmax_t)bp2->bio_completed);
496 bp->bio_resid = bp->bio_length - bp2->bio_completed;
497 bp->bio_completed = bp2->bio_completed;
498 g_destroy_bio(bp2);
517 struct bio *bp2; local
[all...]
H A Dgeom_io.c187 struct bio *bp2; local
189 bp2 = uma_zalloc(biozone, M_NOWAIT | M_ZERO);
190 if (bp2 != NULL) {
191 bp2->bio_parent = bp;
192 bp2->bio_cmd = bp->bio_cmd;
200 bp2->bio_flags = bp->bio_flags & (BIO_ORDERED | BIO_UNMAPPED);
201 bp2->bio_length = bp->bio_length;
202 bp2->bio_offset = bp->bio_offset;
203 bp2->bio_data = bp->bio_data;
204 bp2
228 struct bio *bp2; local
[all...]
H A Dgeom_fox.c236 struct bio *bp2; local
250 bp2 = g_clone_bio(bp);
251 if (bp2 == NULL) {
255 bp2->bio_offset += sc->sectorsize;
256 bp2->bio_done = g_fox_done;
263 g_destroy_bio(bp2);
264 bp2 = NULL;
270 if (bp2 != NULL)
271 TAILQ_INSERT_TAIL(&sc->queue, bp2,
274 g_io_request(bp2, s
[all...]
H A Dgeom_subr.c1009 struct bio *bp2; local
1011 bp2 = bp->bio_parent;
1012 if (bp2->bio_error == 0)
1013 bp2->bio_error = bp->bio_error;
1014 bp2->bio_completed += bp->bio_completed;
1016 bp2->bio_inbed++;
1017 if (bp2->bio_children == bp2->bio_inbed)
1018 g_io_deliver(bp2, bp2
[all...]
/freebsd-10.0-release/sys/fs/cd9660/
H A Dcd9660_node.c119 struct buf *bp2 = NULL; local
141 &bp2);
142 bp = bp2;
170 if (bp2)
171 brelse(bp2);
184 struct buf *bp2 = NULL; local
193 &bp2);
194 bp = bp2;
215 if (bp2)
216 brelse(bp2);
[all...]
H A Dcd9660_vfsops.c794 struct buf *bp2; local
799 &bp2);
801 bp2 = NULL;
802 cd9660_defattr(isodir, ip, bp2, ISO_FTYPE_9660);
803 cd9660_deftstamp(isodir, ip, bp2, ISO_FTYPE_9660);
804 if (bp2)
805 brelse(bp2);
/freebsd-10.0-release/crypto/openssl/crypto/objects/
H A Dobjxref.pl53 my$bp2 = $oid_tbl{$xref_tbl{$b}[1]};
55 return $ap2 - $bp2;
/freebsd-10.0-release/sys/fs/nandfs/
H A Dnandfs_alloc.c93 struct buf *bp, *bp2; local
103 bp = bp2 = NULL;
132 if (bp2)
133 brelse(bp2);
136 NOCRED, 0, &bp2);
143 group_block, NOCRED, 0, &bp2);
148 mask = (uint32_t *)bp2->b_data;
180 req->bp_bitmap = bp2;
/freebsd-10.0-release/sys/geom/cache/
H A Dg_cache.c215 struct bio *bp2, *tmpbp; local
221 bp2 = dp->d_biolist;
222 while (bp2 != NULL) {
223 KASSERT(G_CACHE_NEXT_BIO1(bp2) == sc, ("corrupt bio_driver in g_cache_done()"));
224 tmpbp = G_CACHE_NEXT_BIO2(bp2);
225 g_cache_deliver(sc, bp2, dp, bp->bio_error);
226 bp2 = tmpbp;
/freebsd-10.0-release/sys/net/
H A Dbridgestp.c898 struct bstp_port *bp2; local
906 LIST_FOREACH(bp2, &bs->bs_bplist, bp_next) {
907 if (!(bp2->bp_synced ||
908 bp2->bp_role == BSTP_ROLE_ROOT)) {
1162 struct bstp_port *bp2; local
1166 LIST_FOREACH(bp2, &bs->bs_bplist, bp_next) {
1167 if (bp2 == bp)
1169 bp2->bp_tc_prop = 1;
1454 struct bstp_port *bp2; local
1457 LIST_FOREACH(bp2,
[all...]
/freebsd-10.0-release/sys/geom/part/
H A Dg_part.c2077 struct bio *bp2; local
2108 bp2 = g_clone_bio(bp);
2109 if (bp2 == NULL) {
2113 if (bp2->bio_offset + bp2->bio_length > pp->mediasize)
2114 bp2->bio_length = pp->mediasize - bp2->bio_offset;
2115 bp2->bio_done = g_std_done;
2116 bp2->bio_offset += entry->gpe_offset;
2117 g_io_request(bp2, c
[all...]

Completed in 168 milliseconds

12