Searched refs:pbp (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.3-release/sys/geom/vinum/
H A Dgeom_vinum_plex.c303 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-10.3-release/sys/geom/journal/
H A Dg_journal.c802 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 Dg_journal.h177 #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-10.3-release/sys/geom/raid3/
H A Dg_raid3.c133 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-10.3-release/sys/geom/raid/
H A Dtr_concat.c333 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 Dtr_raid0.c315 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 Dtr_raid1.c666 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 Dtr_raid5.c373 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 Dtr_raid1e.c894 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-10.3-release/sys/geom/eli/
H A Dg_eli.c200 struct bio *pbp; local
203 pbp = bp->bio_parent;
204 if (pbp->bio_error == 0 && bp->bio_error != 0)
205 pbp->bio_error = bp->bio_error;
210 pbp->bio_inbed++;
211 if (pbp->bio_inbed < pbp->bio_children)
213 sc = pbp->bio_to->geom->softc;
214 if (pbp->bio_error != 0) {
215 G_ELI_LOGREQ(0, pbp, "
241 struct bio *pbp; local
[all...]
/freebsd-10.3-release/contrib/libpcap/
H A Dsf-pcap-ng.c773 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-10.3-release/sys/geom/gate/
H A Dg_gate.c211 struct bio *pbp; local
213 pbp = cbp->bio_parent;
215 pbp->bio_completed = cbp->bio_completed;
217 pbp->bio_inbed++;
218 g_io_deliver(pbp, 0);
222 pbp->bio_children--;
223 g_gate_queue_io(pbp);
228 g_gate_start(struct bio *pbp) argument
232 sc = pbp->bio_to->geom->softc;
234 g_io_deliver(pbp, ENXI
[all...]
/freebsd-10.3-release/sys/geom/shsec/
H A Dg_shsec.c255 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-10.3-release/sbin/fsck_ffs/
H A Dglobs.c57 struct bufarea *pbp; /* current inode block */ variable in typeref:struct:bufarea
124 pbp = NULL;
H A Dinode.c293 if (pbp != 0)
294 pbp->b_flags &= ~B_INUSE;
295 pbp = getdatablk(iblk, sblock.fs_bsize, BT_INODES);
300 &pbp->b_un.b_dinode1[inumber % INOPB(&sblock)]);
301 return ((union dinode *)&pbp->b_un.b_dinode2[inumber % INOPB(&sblock)]);
521 dirty(pbp);
/freebsd-10.3-release/contrib/sendmail/src/
H A Dcollect.c301 unsigned char *pbp; local
327 pbp = peekbuf;
363 if (pbp > peekbuf)
364 c = *--pbp;
454 SM_ASSERT(pbp < peekbuf +
456 *pbp++ = c;
467 SM_ASSERT(pbp < peekbuf +
469 *pbp++ = c;
474 SM_ASSERT(pbp < peekbuf +
476 *pbp
[all...]
/freebsd-10.3-release/sys/geom/mirror/
H A Dg_mirror.c872 struct bio *pbp; local
874 pbp = bp->bio_parent;
875 sc = pbp->bio_to->geom->softc;
877 if (pbp->bio_error == 0)
878 pbp->bio_error = bp->bio_error;
879 pbp->bio_completed += bp->bio_completed;
880 pbp->bio_inbed++;
881 if (pbp->bio_children == pbp->bio_inbed) {
883 g_io_deliver(pbp, pb
907 struct bio *pbp; local
[all...]
/freebsd-10.3-release/sys/geom/
H A Dgeom_ccd.c658 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-10.3-release/libexec/rlogind/
H A Drlogind.c337 char pibuf[1024+1], fibuf[1024], *pbp = NULL, *fbp = NULL; local
439 pbp = pibuf;
445 pbp++, pcc--;
456 cc = write(f, pbp, pcc);
469 pbp += cc;
/freebsd-10.3-release/sys/geom/concat/
H A Dg_concat.c245 struct bio *pbp; local
247 pbp = bp->bio_parent;
248 sc = pbp->bio_to->geom->softc;
250 if (pbp->bio_error == 0)
251 pbp->bio_error = bp->bio_error;
252 pbp->bio_completed += bp->bio_completed;
253 pbp->bio_inbed++;
254 if (pbp->bio_children == pbp->bio_inbed) {
256 g_io_deliver(pbp, pb
[all...]
/freebsd-10.3-release/sys/geom/stripe/
H A Dg_stripe.c283 struct bio *pbp; local
285 pbp = bp->bio_parent;
286 sc = pbp->bio_to->geom->softc;
294 if (pbp->bio_error == 0)
295 pbp->bio_error = bp->bio_error;
296 pbp->bio_completed += bp->bio_completed;
297 pbp->bio_inbed++;
298 if (pbp->bio_children == pbp->bio_inbed) {
300 if (pbp
[all...]
/freebsd-10.3-release/sys/geom/mountver/
H A Dg_mountver.c88 struct bio *pbp; local
103 pbp = bp->bio_parent;
104 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider),
107 pbp->bio_inbed++;
108 g_mountver_queue(pbp);
/freebsd-10.3-release/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c75 struct board_config **pbp; local
79 SET_FOREACH(pbp, boards)
81 if ((*pbp)->probe(0)) {
82 (*pbp)->init();
83 return (*pbp)->desc;
/freebsd-10.3-release/contrib/one-true-awk/
H A Dproto.h144 extern int adjbuf(char **pb, int *sz, int min, int q, char **pbp, const char *what);
/freebsd-10.3-release/sys/geom/multipath/
H A Dg_multipath.c386 struct bio *pbp; local
401 pbp = bp->bio_parent;
402 gp = pbp->bio_to->geom;
425 if (pbp->bio_children < (uintptr_t)pbp->bio_driver1) {
426 pbp->bio_inbed++;
428 g_multipath_start(pbp);

Completed in 225 milliseconds

12