/freebsd-12-stable/sys/geom/vinum/ |
H A D | geom_vinum_plex.c | 306 struct bio *pbp; local 308 pbp = bp->bio_parent; 309 if (pbp->bio_error == 0) 310 pbp->bio_error = bp->bio_error; 312 pbp->bio_inbed++; 313 if (pbp->bio_children == pbp->bio_inbed) { 316 pbp->bio_completed = pbp->bio_length; 317 if (pbp 333 struct bio *cbp, *pbp; local 455 struct bio *pbp; local 510 struct bio *cbp, *pbp; local [all...] |
/freebsd-12-stable/sys/geom/raid/ |
H A D | tr_concat.c | 335 struct bio *pbp; local 337 pbp = bp->bio_parent; 338 if (pbp->bio_error == 0) 339 pbp->bio_error = bp->bio_error; 341 pbp->bio_inbed++; 342 if (pbp->bio_children == pbp->bio_inbed) { 343 pbp->bio_completed = pbp->bio_length; 344 g_raid_iodone(pbp, pb [all...] |
H A D | tr_raid0.c | 317 struct bio *pbp; local 319 pbp = bp->bio_parent; 320 if (pbp->bio_error == 0) 321 pbp->bio_error = bp->bio_error; 323 pbp->bio_inbed++; 324 if (pbp->bio_children == pbp->bio_inbed) { 325 pbp->bio_completed = pbp->bio_length; 326 g_raid_iodone(pbp, pb [all...] |
H A D | tr_raid1.c | 660 struct bio *pbp; local 772 pbp = bp->bio_parent; 773 pbp->bio_inbed++; 794 if (pbp->bio_children == 1) 801 mask = (uintptr_t *)(&pbp->bio_driver2); 802 if (pbp->bio_children == 1) { 804 pbp->bio_driver1 = do_write ? sd : NULL; 808 nsd = g_raid_tr_raid1_select_read_disk(vol, pbp, *mask); 809 if (nsd != NULL && (cbp = g_clone_bio(pbp)) != NULL) { 813 if (pbp [all...] |
H A D | tr_raid5.c | 373 struct bio *pbp; local 375 pbp = bp->bio_parent; 376 if (pbp->bio_error == 0) 377 pbp->bio_error = bp->bio_error; 378 pbp->bio_inbed++; 380 if (pbp->bio_children == pbp->bio_inbed) { 381 pbp->bio_completed = pbp->bio_length; 382 g_raid_iodone(pbp, pb [all...] |
H A D | tr_raid1e.c | 888 struct bio *pbp; local 996 pbp = bp->bio_parent; 997 pbp->bio_inbed++; 1030 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) { 1055 virtual, cbp->bio_length, pbp, cbp); 1081 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) { 1128 if (pbp->bio_cmd != BIO_READ) { 1129 if (pbp->bio_inbed == 1 || pbp->bio_error != 0) 1130 pbp [all...] |
/freebsd-12-stable/sys/geom/raid3/ |
H A D | g_raid3.c | 125 static int g_raid3_register_request(struct bio *pbp); 916 #define G_RAID3_HEAD_BIO(pbp) (pbp)->bio_driver1 920 #define G_RAID3_FOREACH_BIO(pbp, bp) \ 921 for ((bp) = G_RAID3_HEAD_BIO(pbp); (bp) != NULL; \ 924 #define G_RAID3_FOREACH_SAFE_BIO(pbp, bp, tmpbp) \ 925 for ((bp) = G_RAID3_HEAD_BIO(pbp); \ 930 g_raid3_init_bio(struct bio *pbp) argument 933 G_RAID3_HEAD_BIO(pbp) = NULL; 939 struct bio *pbp, *b local 958 struct bio *pbp, *bp; local 979 struct bio *bp, *pbp; local 1007 g_raid3_clone_bio(struct g_raid3_softc *sc, struct bio *pbp) argument 1042 g_raid3_scatter(struct bio *pbp) argument 1112 g_raid3_gather(struct bio *pbp) argument 1280 struct bio *pbp; local 1769 g_raid3_register_request(struct bio *pbp) argument [all...] |
/freebsd-12-stable/sys/geom/journal/ |
H A D | g_journal.c | 804 struct bio *nbp, *cbp, *pbp; local 812 pbp = NULL; 842 if (pbp == NULL) 845 pbp->bio_next = nbp; 848 GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp, 849 pbp); 964 if (pbp == NULL) 967 pbp->bio_next = nbp; 988 pbp = cbp; 991 if (pbp 1020 struct bio *cbp, *pbp; local 1168 struct bio *pbp; local 1240 struct bio *bp, *fbp, *pbp; local 1477 g_journal_read_find(struct bio *head, int sorted, struct bio *pbp, off_t ostart, off_t oend) argument 1528 g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t ostart, off_t oend) argument 1624 struct bio *pbp; local [all...] |
H A D | g_journal.h | 179 #define GJQ_INSERT_AFTER(head, bp, pbp) do { \ 180 if ((pbp) == NULL) \ 183 (bp)->bio_next = (pbp)->bio_next; \ 184 (pbp)->bio_next = (bp); \
|
/freebsd-12-stable/sys/geom/eli/ |
H A D | g_eli.c | 234 struct bio *pbp; local 237 pbp = bp->bio_parent; 238 if (pbp->bio_error == 0 && bp->bio_error != 0) 239 pbp->bio_error = bp->bio_error; 244 pbp->bio_inbed++; 245 if (pbp->bio_inbed < pbp->bio_children) 247 sc = pbp->bio_to->geom->softc; 248 if (pbp->bio_error != 0) { 249 G_ELI_LOGREQ(0, pbp, " 276 struct bio *pbp; local [all...] |
/freebsd-12-stable/sys/geom/gate/ |
H A D | g_gate.c | 225 struct bio *pbp; local 229 pbp = cbp->bio_parent; 231 pbp->bio_completed = cbp->bio_completed; 233 pbp->bio_inbed++; 234 g_io_deliver(pbp, 0); 238 pbp->bio_children--; 239 g_gate_queue_io(pbp); 250 g_gate_start(struct bio *pbp) argument 256 sc = pbp->bio_to->geom->softc; 258 g_io_deliver(pbp, ENXI [all...] |
/freebsd-12-stable/sys/geom/shsec/ |
H A D | g_shsec.c | 249 struct bio *pbp; local 251 pbp = bp->bio_parent; 252 sc = pbp->bio_to->geom->softc; 258 if (pbp->bio_error == 0) 259 pbp->bio_error = bp->bio_error; 261 if (pbp->bio_cmd == BIO_READ) { 262 if ((pbp->bio_pflags & G_SHSEC_BFLAG_FIRST) != 0) { 263 bcopy(bp->bio_data, pbp->bio_data, pbp->bio_length); 264 pbp [all...] |
/freebsd-12-stable/contrib/sendmail/src/ |
H A D | collect.c | 301 unsigned char *pbp; local 327 pbp = peekbuf; 363 if (pbp > peekbuf) 364 c = *--pbp; 452 SM_ASSERT(pbp < peekbuf + 454 *pbp++ = c; 465 SM_ASSERT(pbp < peekbuf + 467 *pbp++ = c; 472 SM_ASSERT(pbp < peekbuf + 474 *pbp [all...] |
H A D | deliver.c | 4956 register char *pbp; local 4980 pbp = peekbuf; 4983 if (pbp > peekbuf) 4984 c = *--pbp; 5087 SM_ASSERT(pbp < peekbuf + 5089 *pbp++ = c; 5126 SM_ASSERT(pbp < peekbuf + sizeof(peekbuf)); 5127 *pbp++ = c; 5150 if (pbp > peekbuf) 5151 d = *(pbp [all...] |
/freebsd-12-stable/contrib/libpcap/ |
H A D | sf-pcapng.c | 1090 struct packet_block *pbp; local 1183 pbp = get_from_block_data(&cursor, sizeof(*pbp), 1185 if (pbp == NULL) 1193 interface_id = SWAPSHORT(pbp->interface_id); 1194 hdr->caplen = SWAPLONG(pbp->caplen); 1195 hdr->len = SWAPLONG(pbp->len); 1196 t = ((uint64_t)SWAPLONG(pbp->timestamp_high)) << 32 | 1197 SWAPLONG(pbp->timestamp_low); 1199 interface_id = pbp [all...] |
/freebsd-12-stable/sys/geom/ |
H A D | geom_ccd.c | 688 struct bio *mbp, *pbp; local 691 pbp = cbp->bio_parent; 693 if (pbp->bio_cmd == BIO_READ) { 697 pbp->bio_inbed++; 706 pbp->bio_inbed++; 720 pbp->bio_inbed++; 721 if (cbp->bio_error != 0 && pbp->bio_error == 0) 722 pbp->bio_error = cbp->bio_error;
|
/freebsd-12-stable/sbin/fsck_ffs/ |
H A D | globs.c | 59 struct bufarea *pbp; /* current inode block */ variable in typeref:struct:bufarea 134 pbp = NULL;
|
H A D | inode.c | 300 if (pbp != NULL) 301 pbp->b_flags &= ~B_INUSE; 302 pbp = getdatablk(iblk, sblock.fs_bsize, BT_INODES); 307 &pbp->b_un.b_dinode1[inumber % INOPB(&sblock)]); 308 return ((union dinode *)&pbp->b_un.b_dinode2[inumber % INOPB(&sblock)]); 530 dirty(pbp);
|
H A D | fsck.h | 205 extern struct bufarea *pbp; /* current inode block */
|
/freebsd-12-stable/sys/geom/concat/ |
H A D | g_concat.c | 264 struct bio *pbp; local 266 pbp = bp->bio_parent; 267 sc = pbp->bio_to->geom->softc; 269 if (pbp->bio_error == 0) 270 pbp->bio_error = bp->bio_error; 271 pbp->bio_completed += bp->bio_completed; 272 pbp->bio_inbed++; 273 if (pbp->bio_children == pbp->bio_inbed) { 275 g_io_deliver(pbp, pb [all...] |
/freebsd-12-stable/sys/geom/mirror/ |
H A D | g_mirror.c | 945 struct bio *pbp; local 951 pbp = bp->bio_parent; 981 pbp->bio_inbed++; 982 KASSERT(pbp->bio_inbed <= pbp->bio_children, 983 ("bio_inbed (%u) is bigger than bio_children (%u).", pbp->bio_inbed, 984 pbp->bio_children)); 985 if (bp->bio_error == 0 && pbp->bio_error == 0) { 988 if (pbp->bio_children == pbp [all...] |
/freebsd-12-stable/sys/geom/stripe/ |
H A D | g_stripe.c | 281 struct bio *pbp; local 283 pbp = bp->bio_parent; 284 sc = pbp->bio_to->geom->softc; 292 if (pbp->bio_error == 0) 293 pbp->bio_error = bp->bio_error; 294 pbp->bio_completed += bp->bio_completed; 295 pbp->bio_inbed++; 296 if (pbp->bio_children == pbp->bio_inbed) { 298 if (pbp [all...] |
/freebsd-12-stable/sys/geom/mountver/ |
H A D | g_mountver.c | 103 struct bio *pbp; local 118 pbp = bp->bio_parent; 119 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider), 122 pbp->bio_inbed++; 123 g_mountver_queue(pbp);
|
/freebsd-12-stable/contrib/one-true-awk/ |
H A D | proto.h | 144 extern int adjbuf(char **pb, int *sz, int min, int q, char **pbp, const char *what);
|
/freebsd-12-stable/sys/geom/multipath/ |
H A D | g_multipath.c | 403 struct bio *pbp; local 418 pbp = bp->bio_parent; 419 gp = pbp->bio_to->geom; 444 if (pbp->bio_children < (uintptr_t)pbp->bio_driver1) { 445 pbp->bio_inbed++; 446 SDT_PROBE2(geom, multipath, io, restart, bp, pbp); 448 g_multipath_start(pbp);
|