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

12

/freebsd-10.3-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.3-release/sys/geom/uzip/
H A Dg_uzip.c167 struct bio *bp2; local
178 bp2 = g_clone_bio(bp);
179 if (bp2 == NULL) {
183 bp2->bio_done = g_uzip_done;
199 bp2->bio_offset = sc->offsets[start_blk] -
202 bp2->bio_length = sc->offsets[end_blk] - bp2->bio_offset;
203 bp2->bio_length = (bp2->bio_length + pp->sectorsize - 1) /
205 if (bp2
230 struct bio *bp2; local
[all...]
/freebsd-10.3-release/sys/geom/uncompress/
H A Dg_uncompress.c171 struct bio *bp2; local
178 bp2 = bp->bio_parent;
179 pp = bp2->bio_to;
186 bp2->bio_error = bp->bio_error;
187 if (bp2->bio_error != 0)
203 * start_blk = bp2->bio_offset / 65536 = 65540/65536 = 1
212 start_blk = bp2->bio_offset / sc->blksz;
222 (intmax_t)bp2->bio_offset, sc->blksz, bsize));
224 for (i = start_blk; upos < bp2->bio_length; i++) {
227 uoff = i == start_blk ? bp2
326 struct bio *bp2; local
[all...]
/freebsd-10.3-release/sys/geom/
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.c586 g_dev_done(struct bio *bp2) argument
593 cp = bp2->bio_from;
595 bp = bp2->bio_parent;
596 bp->bio_error = bp2->bio_error;
597 bp->bio_completed = bp2->bio_completed;
598 bp->bio_resid = bp->bio_length - bp2->bio_completed;
599 if (bp2->bio_error != 0) {
601 bp2, bp2->bio_error);
605 bp2, b
626 struct bio *bp2; local
[all...]
H A Dgeom_disk.c235 struct bio *bp2; local
240 bp2 = bp->bio_parent;
241 sc = bp2->bio_to->private;
245 if (bp2->bio_error == 0)
246 bp2->bio_error = bp->bio_error;
247 bp2->bio_completed += bp->bio_completed;
250 bp2->bio_inbed++;
251 if (bp2->bio_children == bp2->bio_inbed) {
253 bp2
420 struct bio *bp2, *bp3; local
[all...]
H A Dgeom_io.c199 struct bio *bp2; local
201 bp2 = uma_zalloc(biozone, M_NOWAIT | M_ZERO);
202 if (bp2 != NULL) {
203 bp2->bio_parent = bp;
204 bp2->bio_cmd = bp->bio_cmd;
212 bp2->bio_flags = bp->bio_flags &
214 bp2->bio_length = bp->bio_length;
215 bp2->bio_offset = bp->bio_offset;
216 bp2->bio_data = bp->bio_data;
217 bp2
241 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.c1023 struct bio *bp2; local
1025 bp2 = bp->bio_parent;
1026 if (bp2->bio_error == 0)
1027 bp2->bio_error = bp->bio_error;
1028 bp2->bio_completed += bp->bio_completed;
1030 bp2->bio_inbed++;
1031 if (bp2->bio_children == bp2->bio_inbed)
1032 g_io_deliver(bp2, bp2
[all...]
/freebsd-10.3-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.3-release/crypto/openssl/crypto/objects/
H A Dobjxref.pl53 my$bp2 = $oid_tbl{$xref_tbl{$b}[1]};
55 return $ap2 - $bp2;
/freebsd-10.3-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.3-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.3-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.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa.h458 #define BP_EQUAL(bp1, bp2) \
459 (BP_PHYSICAL_BIRTH(bp1) == BP_PHYSICAL_BIRTH(bp2) && \
460 (bp1)->blk_birth == (bp2)->blk_birth && \
461 DVA_EQUAL(&(bp1)->blk_dva[0], &(bp2)->blk_dva[0]) && \
462 DVA_EQUAL(&(bp1)->blk_dva[1], &(bp2)->blk_dva[1]) && \
463 DVA_EQUAL(&(bp1)->blk_dva[2], &(bp2)->blk_dva[2]))

Completed in 213 milliseconds

12