/freebsd-9.3-release/sys/geom/vinum/ |
H A D | geom_vinum_plex.c | 303 struct bio *pbp; local 305 pbp = bp->bio_parent; 306 if (pbp->bio_error == 0) 307 pbp->bio_error = bp->bio_error; 309 pbp->bio_inbed++; 310 if (pbp->bio_children == pbp->bio_inbed) { 313 pbp->bio_completed = pbp->bio_length; 314 if (pbp 330 struct bio *cbp, *pbp; local 452 struct bio *pbp; local 507 struct bio *cbp, *pbp; local [all...] |
/freebsd-9.3-release/sys/geom/journal/ |
H A D | g_journal.c | 802 struct bio *nbp, *cbp, *pbp; local 810 pbp = NULL; 840 if (pbp == NULL) 843 pbp->bio_next = nbp; 846 GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp, 847 pbp); 962 if (pbp == NULL) 965 pbp->bio_next = nbp; 986 pbp = cbp; 989 if (pbp 1018 struct bio *cbp, *pbp; local 1166 struct bio *pbp; local 1238 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 1522 g_journal_read_queue_find(struct bio_queue *head, struct bio *pbp, off_t ostart, off_t oend) argument 1567 g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t ostart, off_t oend) argument 1672 struct bio *pbp; local [all...] |
H A D | g_journal.h | 177 #define GJQ_INSERT_AFTER(head, bp, pbp) do { \ 178 if ((pbp) == NULL) \ 181 (bp)->bio_next = (pbp)->bio_next; \ 182 (pbp)->bio_next = (bp); \
|
/freebsd-9.3-release/sys/geom/raid3/ |
H A D | g_raid3.c | 133 static int g_raid3_register_request(struct bio *pbp); 924 #define G_RAID3_HEAD_BIO(pbp) (pbp)->bio_driver1 928 #define G_RAID3_FOREACH_BIO(pbp, bp) \ 929 for ((bp) = G_RAID3_HEAD_BIO(pbp); (bp) != NULL; \ 932 #define G_RAID3_FOREACH_SAFE_BIO(pbp, bp, tmpbp) \ 933 for ((bp) = G_RAID3_HEAD_BIO(pbp); \ 938 g_raid3_init_bio(struct bio *pbp) argument 941 G_RAID3_HEAD_BIO(pbp) = NULL; 947 struct bio *pbp, *b local 966 struct bio *pbp, *bp; local 987 struct bio *bp, *pbp; local 1015 g_raid3_clone_bio(struct g_raid3_softc *sc, struct bio *pbp) argument 1050 g_raid3_scatter(struct bio *pbp) argument 1120 g_raid3_gather(struct bio *pbp) argument 1288 struct bio *pbp; local 1777 g_raid3_register_request(struct bio *pbp) argument [all...] |
/freebsd-9.3-release/sys/geom/raid/ |
H A D | tr_concat.c | 333 struct bio *pbp; local 335 pbp = bp->bio_parent; 336 if (pbp->bio_error == 0) 337 pbp->bio_error = bp->bio_error; 339 pbp->bio_inbed++; 340 if (pbp->bio_children == pbp->bio_inbed) { 341 pbp->bio_completed = pbp->bio_length; 342 g_raid_iodone(pbp, b [all...] |
H A D | tr_raid0.c | 315 struct bio *pbp; local 317 pbp = bp->bio_parent; 318 if (pbp->bio_error == 0) 319 pbp->bio_error = bp->bio_error; 321 pbp->bio_inbed++; 322 if (pbp->bio_children == pbp->bio_inbed) { 323 pbp->bio_completed = pbp->bio_length; 324 g_raid_iodone(pbp, b [all...] |
H A D | tr_raid1.c | 666 struct bio *pbp; local 778 pbp = bp->bio_parent; 779 pbp->bio_inbed++; 800 if (pbp->bio_children == 1) 807 mask = (uintptr_t *)(&pbp->bio_driver2); 808 if (pbp->bio_children == 1) { 810 pbp->bio_driver1 = do_write ? sd : NULL; 814 nsd = g_raid_tr_raid1_select_read_disk(vol, pbp, *mask); 815 if (nsd != NULL && (cbp = g_clone_bio(pbp)) != NULL) { 819 if (pbp [all...] |
H A D | tr_raid5.c | 373 struct bio *pbp; local 376 pbp = bp->bio_parent; 377 pbp->bio_inbed++; 380 if (pbp->bio_children == pbp->bio_inbed) { 381 pbp->bio_completed = pbp->bio_length; 382 g_raid_iodone(pbp, error);
|
H A D | tr_raid1e.c | 894 struct bio *pbp; local 1002 pbp = bp->bio_parent; 1003 pbp->bio_inbed++; 1036 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) { 1061 virtual, cbp->bio_length, pbp, cbp); 1087 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) { 1134 if (pbp->bio_cmd != BIO_READ) { 1135 if (pbp->bio_inbed == 1 || pbp->bio_error != 0) 1136 pbp [all...] |
/freebsd-9.3-release/sys/geom/eli/ |
H A D | g_eli.c | 163 struct bio *pbp; local 166 pbp = bp->bio_parent; 167 if (pbp->bio_error == 0) 168 pbp->bio_error = bp->bio_error; 173 pbp->bio_inbed++; 174 if (pbp->bio_inbed < pbp->bio_children) 176 sc = pbp->bio_to->geom->softc; 177 if (pbp->bio_error != 0) { 178 G_ELI_LOGREQ(0, pbp, " 203 struct bio *pbp; local [all...] |
/freebsd-9.3-release/contrib/libpcap/ |
H A D | sf-pcap-ng.c | 773 struct packet_block *pbp; local 868 pbp = get_from_block_data(&cursor, sizeof(*pbp), 870 if (pbp == NULL) 878 interface_id = SWAPSHORT(pbp->interface_id); 879 hdr->caplen = SWAPLONG(pbp->caplen); 880 hdr->len = SWAPLONG(pbp->len); 881 t = ((u_int64_t)SWAPLONG(pbp->timestamp_high)) << 32 | 882 SWAPLONG(pbp->timestamp_low); 884 interface_id = pbp [all...] |
/freebsd-9.3-release/sys/geom/gate/ |
H A D | g_gate.c | 209 struct bio *pbp; local 211 pbp = cbp->bio_parent; 213 pbp->bio_completed = cbp->bio_completed; 215 pbp->bio_inbed++; 216 g_io_deliver(pbp, 0); 220 pbp->bio_children--; 221 g_gate_queue_io(pbp); 226 g_gate_start(struct bio *pbp) argument 230 sc = pbp->bio_to->geom->softc; 232 g_io_deliver(pbp, ENXI [all...] |
/freebsd-9.3-release/sys/geom/shsec/ |
H A D | g_shsec.c | 255 struct bio *pbp; local 257 pbp = bp->bio_parent; 258 sc = pbp->bio_to->geom->softc; 264 if (pbp->bio_error == 0) 265 pbp->bio_error = bp->bio_error; 267 if (pbp->bio_cmd == BIO_READ) { 268 if ((pbp->bio_pflags & G_SHSEC_BFLAG_FIRST) != 0) { 269 bcopy(bp->bio_data, pbp->bio_data, pbp->bio_length); 270 pbp [all...] |
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | collect.c | 300 unsigned char *pbp; local 326 pbp = peekbuf; 362 if (pbp > peekbuf) 363 c = *--pbp; 453 SM_ASSERT(pbp < peekbuf + 455 *pbp++ = c; 466 SM_ASSERT(pbp < peekbuf + 468 *pbp++ = c; 473 SM_ASSERT(pbp < peekbuf + 475 *pbp [all...] |
H A D | deliver.c | 4703 register char *pbp; local 4727 pbp = peekbuf; 4730 if (pbp > peekbuf) 4731 c = *--pbp; 4834 SM_ASSERT(pbp < peekbuf + 4836 *pbp++ = c; 4873 SM_ASSERT(pbp < peekbuf + sizeof(peekbuf)); 4874 *pbp++ = c; 4897 if (pbp > peekbuf) 4898 d = *(pbp [all...] |
/freebsd-9.3-release/sys/geom/ |
H A D | geom_ccd.c | 658 struct bio *mbp, *pbp; local 661 pbp = cbp->bio_parent; 663 if (pbp->bio_cmd == BIO_READ) { 667 pbp->bio_inbed++; 676 pbp->bio_inbed++; 690 pbp->bio_inbed++; 691 if (cbp->bio_error != 0 && pbp->bio_error == 0) 692 pbp->bio_error = cbp->bio_error;
|
/freebsd-9.3-release/libexec/rlogind/ |
H A D | rlogind.c | 341 char pibuf[1024+1], fibuf[1024], *pbp = NULL, *fbp = NULL; local 443 pbp = pibuf; 449 pbp++, pcc--; 460 cc = write(f, pbp, pcc); 473 pbp += cc;
|
/freebsd-9.3-release/sys/geom/mirror/ |
H A D | g_mirror.c | 874 struct bio *pbp; local 878 pbp = bp->bio_parent; 879 sc = pbp->bio_to->geom->softc; 890 pbp->bio_inbed++; 891 KASSERT(pbp->bio_inbed <= pbp->bio_children, 892 ("bio_inbed (%u) is bigger than bio_children (%u).", pbp->bio_inbed, 893 pbp->bio_children)); 894 if (bp->bio_error == 0 && pbp->bio_error == 0) { 897 if (pbp [all...] |
/freebsd-9.3-release/sys/geom/stripe/ |
H A D | g_stripe.c | 283 struct bio *pbp; local 285 pbp = bp->bio_parent; 286 sc = pbp->bio_to->geom->softc; 287 if (pbp->bio_error == 0) 288 pbp->bio_error = bp->bio_error; 289 pbp->bio_completed += bp->bio_completed; 297 pbp->bio_inbed++; 298 if (pbp->bio_children == pbp->bio_inbed) { 299 if (pbp [all...] |
/freebsd-9.3-release/sys/boot/arm/ixp425/boot2/ |
H A D | ixp425_board.c | 75 struct board_config **pbp; local 79 SET_FOREACH(pbp, boards) 81 if ((*pbp)->probe(0)) { 82 (*pbp)->init(); 83 return (*pbp)->desc;
|
/freebsd-9.3-release/sys/geom/mountver/ |
H A D | g_mountver.c | 87 struct bio *pbp; local 102 pbp = bp->bio_parent; 103 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider), 106 pbp->bio_inbed++; 107 g_mountver_queue(pbp);
|
/freebsd-9.3-release/sbin/fsck_ffs/ |
H A D | inode.c | 292 if (pbp != 0) 293 pbp->b_flags &= ~B_INUSE; 294 pbp = getdatablk(iblk, sblock.fs_bsize, BT_INODES); 299 &pbp->b_un.b_dinode1[inumber % INOPB(&sblock)]); 300 return ((union dinode *)&pbp->b_un.b_dinode2[inumber % INOPB(&sblock)]); 518 dirty(pbp);
|
H A D | fsck.h | 203 struct bufarea *pbp; /* current inode block */ variable in typeref:struct:bufarea
|
/freebsd-9.3-release/sys/geom/multipath/ |
H A D | g_multipath.c | 304 struct bio *pbp; local 319 pbp = bp->bio_parent; 320 gp = pbp->bio_to->geom; 343 if (pbp->bio_children < (uintptr_t)pbp->bio_driver1) { 344 pbp->bio_inbed++; 346 g_multipath_start(pbp);
|
/freebsd-9.3-release/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);
|