| /freebsd-13.1/sys/geom/uzip/ |
| H A D | g_uzip.c | 226 struct bio *bp2; in g_uzip_request() local 294 bp2->bio_length = TLEN_2_BLEN(sc, pp, bp2, end_blk - 1); in g_uzip_request() 306 (intmax_t)bp2->bio_length, (intmax_t)bp2->bio_offset)); in g_uzip_request() 308 bp2->bio_data = malloc(bp2->bio_length, M_GEOM_UZIP, M_NOWAIT); in g_uzip_request() 317 (intmax_t)bp2->bio_length, (intmax_t)bp2->bio_offset)); in g_uzip_request() 326 struct bio *bp2; in g_uzip_read_done() local 352 struct bio *bp2; in g_uzip_do() local 377 ofs = bp2->bio_offset + bp2->bio_completed; in g_uzip_do() 381 data2 = bp2->bio_data + bp2->bio_completed; in g_uzip_do() 451 if (bp2->bio_error != 0 || bp2->bio_resid == 0) in g_uzip_do() [all …]
|
| /freebsd-13.1/sys/geom/ |
| H A D | geom_slice.c | 162 struct bio *bp2; in g_slice_finish_hot() local 180 bp2 = g_clone_bio(bp); in g_slice_finish_hot() 181 if (bp2 == NULL) { in g_slice_finish_hot() 185 if (bp2->bio_offset + bp2->bio_length > gsl->length) in g_slice_finish_hot() 186 bp2->bio_length = gsl->length - bp2->bio_offset; in g_slice_finish_hot() 218 struct bio *bp2; in g_slice_start() local 281 if (bp2 == NULL) { in g_slice_start() 285 if (bp2->bio_offset + bp2->bio_length > gsl->length) in g_slice_start() 286 bp2->bio_length = gsl->length - bp2->bio_offset; in g_slice_start() 297 if (bp2 == NULL) { in g_slice_start() [all …]
|
| H A D | geom_disk.c | 230 struct bio *bp2; in g_disk_done() local 255 bp2->bio_inbed++; in g_disk_done() 256 if (bp2->bio_children == bp2->bio_inbed) { in g_disk_done() 258 bp2->bio_resid = bp2->bio_bcount - bp2->bio_completed; in g_disk_done() 259 g_io_deliver(bp2, bp2->bio_error); in g_disk_done() 451 if (bp2 == NULL) { in g_disk_start() 469 bp2->bio_pblkno = bp2->bio_offset / dp->d_sectorsize; in g_disk_start() 470 bp2->bio_bcount = bp2->bio_length; in g_disk_start() 478 bp2 = bp3; in g_disk_start() 548 if (bp2 == NULL) { in g_disk_start() [all …]
|
| H A D | geom_io.c | 193 struct bio *bp2; in g_clone_bio() local 196 if (bp2 != NULL) { in g_clone_bio() 197 bp2->bio_parent = bp; in g_clone_bio() 198 bp2->bio_cmd = bp->bio_cmd; in g_clone_bio() 211 bp2->bio_ma = bp->bio_ma; in g_clone_bio() 232 return(bp2); in g_clone_bio() 238 struct bio *bp2; in g_duplicate_bio() local 242 bp2->bio_parent = bp; in g_duplicate_bio() 243 bp2->bio_cmd = bp->bio_cmd; in g_duplicate_bio() 247 bp2->bio_ma = bp->bio_ma; in g_duplicate_bio() [all …]
|
| H A D | geom_dev.c | 763 cp = bp2->bio_from; in g_dev_done() 765 bp = bp2->bio_parent; in g_dev_done() 774 bp2, bp2->bio_error); in g_dev_done() 778 bp2, bp, bp2->bio_resid, (intmax_t)bp2->bio_completed); in g_dev_done() 780 g_destroy_bio(bp2); in g_dev_done() 795 struct bio *bp2; in g_dev_strategy() local 827 bp2 = g_clone_bio(bp); in g_dev_strategy() 828 if (bp2 != NULL) in g_dev_strategy() 836 bp, bp2, (intmax_t)bp->bio_offset, (intmax_t)bp2->bio_length, in g_dev_strategy() 837 bp2->bio_data, bp2->bio_cmd); in g_dev_strategy() [all …]
|
| H A D | geom_subr.c | 1156 struct bio *bp2; in g_std_done() local 1158 bp2 = bp->bio_parent; in g_std_done() 1159 if (bp2->bio_error == 0) in g_std_done() 1160 bp2->bio_error = bp->bio_error; in g_std_done() 1161 bp2->bio_completed += bp->bio_completed; in g_std_done() 1163 bp2->bio_inbed++; in g_std_done() 1164 if (bp2->bio_children == bp2->bio_inbed) { in g_std_done() 1165 if (bp2->bio_cmd == BIO_SPEEDUP) in g_std_done() 1166 bp2->bio_completed = bp2->bio_length; in g_std_done() 1167 g_io_deliver(bp2, bp2->bio_error); in g_std_done()
|
| /freebsd-13.1/sys/fs/cd9660/ |
| H A D | cd9660_node.c | 115 struct buf *bp2 = NULL; local 137 &bp2); 138 bp = bp2; 166 if (bp2) 167 brelse(bp2); 180 struct buf *bp2 = NULL; local 189 &bp2); 190 bp = bp2; 211 if (bp2) 212 brelse(bp2);
|
| H A D | cd9660_vfsops.c | 809 struct buf *bp2; local 814 &bp2); 816 bp2 = NULL; 817 cd9660_defattr(isodir, ip, bp2, ISO_FTYPE_9660); 818 cd9660_deftstamp(isodir, ip, bp2, ISO_FTYPE_9660); 819 if (bp2) 820 brelse(bp2);
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-frag6.c | 36 frag6_print(netdissect_options *ndo, register const u_char *bp, register const u_char *bp2) in frag6_print() argument 42 ip6 = (const struct ip6_hdr *)bp2; in frag6_print() 51 (long)(bp - bp2) - sizeof(struct ip6_frag))); in frag6_print() 56 (long)(bp - bp2) - sizeof(struct ip6_frag))); in frag6_print()
|
| H A D | print-sunrpc.c | 169 register u_int length, register const u_char *bp2) in sunrpcrequest_print() argument 189 switch (IP_V((const struct ip *)bp2)) { in sunrpcrequest_print() 191 ip = (const struct ip *)bp2; in sunrpcrequest_print() 197 ip6 = (const struct ip6_hdr *)bp2; in sunrpcrequest_print()
|
| H A D | print-pim.c | 456 register const u_char *bp, register u_int len, const u_char *bp2) in pim_print() argument 478 pimv2_print(ndo, bp, len, bp2); in pim_print() 665 const u_char *bp2, u_int len) in pimv2_check_checksum() argument 674 ip = (const struct ip *)bp2; in pimv2_check_checksum() 685 ip6 = (const struct ip6_hdr *)bp2; in pimv2_check_checksum() 695 register const u_char *bp, register u_int len, const u_char *bp2) in pimv2_print() argument 721 cksum_status = pimv2_check_checksum(ndo, bp, bp2, 8); in pimv2_print() 729 cksum_status = pimv2_check_checksum(ndo, bp, bp2, len); in pimv2_print() 735 cksum_status = pimv2_check_checksum(ndo, bp, bp2, len); in pimv2_print()
|
| H A D | print-vrrp.c | 108 register const u_char *bp2, int ttl) in vrrp_print() argument 153 uint16_t cksum = nextproto4_cksum(ndo, (const struct ip *)bp2, bp, in vrrp_print()
|
| H A D | print-esp.c | 657 const u_char *bp, const int length, const u_char *bp2 in esp_print() 727 ip = (const struct ip *)bp2; in esp_print() 730 ip6 = (const struct ip6_hdr *)bp2; in esp_print() 778 if (ep - bp2 < len) in esp_print() 780 if (ep - bp2 > len) { in esp_print() 782 ep = bp2 + len; in esp_print()
|
| H A D | print-udp.c | 371 register const u_char *bp2, int fragmented) in udp_print() argument 383 ip = (const struct ip *)bp2; in udp_print() 385 ip6 = (const struct ip6_hdr *)bp2; in udp_print() 494 pgm_print(ndo, cp, length, bp2); in udp_print() 589 isakmp_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print() 591 isakmp_rfc3948_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print() 594 isakmp_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
|
| H A D | print-isakmp.c | 791 ip = (const struct ip *)bp2; in cookie_record() 799 ip6 = (const struct ip6_hdr *)bp2; in cookie_record() 819 ip = (const struct ip *)bp2; in cookie_sidecheck() 835 ip6 = (const struct ip6_hdr *)bp2; in cookie_sidecheck() 2837 if (bp2) in ikev1_print() 2838 cookie_record(&base->i_ck, bp2); in ikev1_print() 2842 if (bp2 && cookie_isinitiator(i, bp2)) in ikev1_print() 2844 else if (bp2 && cookie_isresponder(i, bp2)) in ikev1_print() 3033 const u_char *bp2) in isakmp_print() argument 3095 const u_char *bp2) in isakmp_rfc3948_print() argument [all …]
|
| H A D | print-rt6.c | 39 rt6_print(netdissect_options *ndo, register const u_char *bp, const u_char *bp2 _U_) in rt6_print()
|
| H A D | print-sctp.c | 495 const u_char *bp2, /* beginning of enclosing */ in sctp_print() argument 521 ip = (const struct ip *)bp2; in sctp_print() 523 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
|
| H A D | print-nfs.c | 324 register const u_char *bp2) in nfsreply_print() argument 342 print_nfsaddr(ndo, bp2, srcid, dstid); in nfsreply_print() 344 nfsreply_print_noaddr(ndo, bp, length, bp2); in nfsreply_print() 355 register const u_char *bp2) in nfsreply_print_noaddr() argument 373 if (xid_map_find(rp, bp2, &proc, &vers) >= 0) in nfsreply_print_noaddr() 523 register const u_char *bp2) in nfsreq_print_noaddr() argument 537 if (!xid_map_enter(ndo, rp, bp2)) /* record proc number for later on */ in nfsreq_print_noaddr()
|
| H A D | print-pgm.c | 148 register const u_char *bp2) in pgm_print() argument 161 ip = (const struct ip *)bp2; in pgm_print() 163 ip6 = (const struct ip6_hdr *)bp2; in pgm_print()
|
| /freebsd-13.1/crypto/openssl/crypto/objects/ |
| H A D | objxref.pl | 68 my$bp2 = $oid_tbl{$xref_tbl{$b}[1]}; 70 return $ap2 - $bp2;
|
| /freebsd-13.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 1217 struct bio *bp1, *bp2; in ndadone() local 1242 while ((bp2 = TAILQ_FIRST(&queue)) != NULL) { in ndadone() 1243 TAILQ_REMOVE(&queue, bp2, bio_queue); in ndadone() 1244 bp2->bio_error = error; in ndadone() 1246 bp2->bio_flags |= BIO_ERROR; in ndadone() 1247 bp2->bio_resid = bp1->bio_bcount; in ndadone() 1249 bp2->bio_resid = 0; in ndadone() 1250 if (bp1 != bp2) in ndadone() 1251 cam_iosched_bio_complete(softc->cam_iosched, bp2, NULL); in ndadone() 1252 biodone(bp2); in ndadone()
|
| /freebsd-13.1/sys/geom/cache/ |
| H A D | g_cache.c | 220 struct bio *bp2, *tmpbp; in g_cache_done() local 226 bp2 = dp->d_biolist; in g_cache_done() 227 while (bp2 != NULL) { in g_cache_done() 228 KASSERT(G_CACHE_NEXT_BIO1(bp2) == sc, ("corrupt bio_driver in g_cache_done()")); in g_cache_done() 229 tmpbp = G_CACHE_NEXT_BIO2(bp2); in g_cache_done() 230 g_cache_deliver(sc, bp2, dp, bp->bio_error); in g_cache_done() 231 bp2 = tmpbp; in g_cache_done()
|
| /freebsd-13.1/sys/net/ |
| H A D | bridgestp.c | 921 struct bstp_port *bp2; in bstp_update_state() local 930 if (!(bp2->bp_synced || in bstp_update_state() 931 bp2->bp_role == BSTP_ROLE_ROOT)) { in bstp_update_state() 1187 struct bstp_port *bp2; in bstp_set_other_tcprop() local 1191 LIST_FOREACH(bp2, &bs->bs_bplist, bp_next) { in bstp_set_other_tcprop() 1192 if (bp2 == bp) in bstp_set_other_tcprop() 1194 bp2->bp_tc_prop = 1; in bstp_set_other_tcprop() 1479 struct bstp_port *bp2; in bstp_rerooted() local 1482 LIST_FOREACH(bp2, &bs->bs_bplist, bp_next) { in bstp_rerooted() 1483 if (bp2 == bp) in bstp_rerooted() [all …]
|
| /freebsd-13.1/sys/geom/part/ |
| H A D | g_part.c | 2225 struct bio *bp2; in g_part_start() local 2259 bp2 = g_clone_bio(bp); in g_part_start() 2260 if (bp2 == NULL) { in g_part_start() 2264 if (bp2->bio_offset + bp2->bio_length > pp->mediasize) in g_part_start() 2265 bp2->bio_length = pp->mediasize - bp2->bio_offset; in g_part_start() 2266 bp2->bio_done = g_std_done; in g_part_start() 2268 g_io_request(bp2, cp); in g_part_start() 2329 bp2 = g_clone_bio(bp); in g_part_start() 2330 if (bp2 == NULL) { in g_part_start() 2334 bp2->bio_done = done_func; in g_part_start() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | spa.h | 565 #define BP_EQUAL(bp1, bp2) \ argument 566 (BP_PHYSICAL_BIRTH(bp1) == BP_PHYSICAL_BIRTH(bp2) && \ 567 (bp1)->blk_birth == (bp2)->blk_birth && \ 568 DVA_EQUAL(&(bp1)->blk_dva[0], &(bp2)->blk_dva[0]) && \ 569 DVA_EQUAL(&(bp1)->blk_dva[1], &(bp2)->blk_dva[1]) && \ 570 DVA_EQUAL(&(bp1)->blk_dva[2], &(bp2)->blk_dva[2]))
|