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

12

/freebsd-11-stable/sys/geom/vinum/
H A Dgeom_vinum_plex.c304 struct bio *pbp; local
306 pbp = bp->bio_parent;
307 if (pbp->bio_error == 0)
308 pbp->bio_error = bp->bio_error;
310 pbp->bio_inbed++;
311 if (pbp->bio_children == pbp->bio_inbed) {
314 pbp->bio_completed = pbp->bio_length;
315 if (pbp
331 struct bio *cbp, *pbp; local
453 struct bio *pbp; local
508 struct bio *cbp, *pbp; local
[all...]
/freebsd-11-stable/sys/geom/raid/
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, pb
[all...]
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, pb
[all...]
H A Dtr_raid1.c658 struct bio *pbp; local
770 pbp = bp->bio_parent;
771 pbp->bio_inbed++;
792 if (pbp->bio_children == 1)
799 mask = (uintptr_t *)(&pbp->bio_driver2);
800 if (pbp->bio_children == 1) {
802 pbp->bio_driver1 = do_write ? sd : NULL;
806 nsd = g_raid_tr_raid1_select_read_disk(vol, pbp, *mask);
807 if (nsd != NULL && (cbp = g_clone_bio(pbp)) != NULL) {
811 if (pbp
[all...]
H A Dtr_raid5.c373 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 Dtr_raid1e.c886 struct bio *pbp; local
994 pbp = bp->bio_parent;
995 pbp->bio_inbed++;
1028 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) {
1053 virtual, cbp->bio_length, pbp, cbp);
1079 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) {
1126 if (pbp->bio_cmd != BIO_READ) {
1127 if (pbp->bio_inbed == 1 || pbp->bio_error != 0)
1128 pbp
[all...]
/freebsd-11-stable/sys/geom/raid3/
H A Dg_raid3.c123 static int g_raid3_register_request(struct bio *pbp);
914 #define G_RAID3_HEAD_BIO(pbp) (pbp)->bio_driver1
918 #define G_RAID3_FOREACH_BIO(pbp, bp) \
919 for ((bp) = G_RAID3_HEAD_BIO(pbp); (bp) != NULL; \
922 #define G_RAID3_FOREACH_SAFE_BIO(pbp, bp, tmpbp) \
923 for ((bp) = G_RAID3_HEAD_BIO(pbp); \
928 g_raid3_init_bio(struct bio *pbp) argument
931 G_RAID3_HEAD_BIO(pbp) = NULL;
937 struct bio *pbp, *b local
956 struct bio *pbp, *bp; local
977 struct bio *bp, *pbp; local
1005 g_raid3_clone_bio(struct g_raid3_softc *sc, struct bio *pbp) argument
1040 g_raid3_scatter(struct bio *pbp) argument
1110 g_raid3_gather(struct bio *pbp) argument
1278 struct bio *pbp; local
1767 g_raid3_register_request(struct bio *pbp) argument
[all...]
/freebsd-11-stable/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
1475 g_journal_read_find(struct bio *head, int sorted, struct bio *pbp, off_t ostart, off_t oend) argument
1526 g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t ostart, off_t oend) argument
1622 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-11-stable/sys/geom/eli/
H A Dg_eli.c232 struct bio *pbp; local
235 pbp = bp->bio_parent;
236 if (pbp->bio_error == 0 && bp->bio_error != 0)
237 pbp->bio_error = bp->bio_error;
242 pbp->bio_inbed++;
243 if (pbp->bio_inbed < pbp->bio_children)
245 sc = pbp->bio_to->geom->softc;
246 if (pbp->bio_error != 0) {
247 G_ELI_LOGREQ(0, pbp, "
274 struct bio *pbp; local
[all...]
/freebsd-11-stable/sys/geom/gate/
H A Dg_gate.c223 struct bio *pbp; local
227 pbp = cbp->bio_parent;
229 pbp->bio_completed = cbp->bio_completed;
231 pbp->bio_inbed++;
232 g_io_deliver(pbp, 0);
236 pbp->bio_children--;
237 g_gate_queue_io(pbp);
248 g_gate_start(struct bio *pbp) argument
254 sc = pbp->bio_to->geom->softc;
256 g_io_deliver(pbp, ENXI
[all...]
/freebsd-11-stable/sys/geom/shsec/
H A Dg_shsec.c247 struct bio *pbp; local
249 pbp = bp->bio_parent;
250 sc = pbp->bio_to->geom->softc;
256 if (pbp->bio_error == 0)
257 pbp->bio_error = bp->bio_error;
259 if (pbp->bio_cmd == BIO_READ) {
260 if ((pbp->bio_pflags & G_SHSEC_BFLAG_FIRST) != 0) {
261 bcopy(bp->bio_data, pbp->bio_data, pbp->bio_length);
262 pbp
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dcollect.c301 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...]
/freebsd-11-stable/contrib/libpcap/
H A Dsf-pcapng.c1090 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-11-stable/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-11-stable/sbin/fsck_ffs/
H A Dglobs.c57 struct bufarea *pbp; /* current inode block */ variable in typeref:struct:bufarea
131 pbp = NULL;
H A Dinode.c298 if (pbp != NULL)
299 pbp->b_flags &= ~B_INUSE;
300 pbp = getdatablk(iblk, sblock.fs_bsize, BT_INODES);
305 &pbp->b_un.b_dinode1[inumber % INOPB(&sblock)]);
306 return ((union dinode *)&pbp->b_un.b_dinode2[inumber % INOPB(&sblock)]);
528 dirty(pbp);
H A Dfsck.h203 extern struct bufarea *pbp; /* current inode block */
/freebsd-11-stable/libexec/rlogind/
H A Drlogind.c352 char pibuf[1024+1], fibuf[1024], *pbp = NULL, *fbp = NULL; local
444 pbp = pibuf;
450 pbp++, pcc--;
460 cc = write(f, pbp, pcc);
463 pbp += cc;
/freebsd-11-stable/sys/geom/mirror/
H A Dg_mirror.c944 struct bio *pbp; local
950 pbp = bp->bio_parent;
980 pbp->bio_inbed++;
981 KASSERT(pbp->bio_inbed <= pbp->bio_children,
982 ("bio_inbed (%u) is bigger than bio_children (%u).", pbp->bio_inbed,
983 pbp->bio_children));
984 if (bp->bio_error == 0 && pbp->bio_error == 0) {
987 if (pbp->bio_children == pbp
[all...]
/freebsd-11-stable/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-11-stable/sys/geom/stripe/
H A Dg_stripe.c279 struct bio *pbp; local
281 pbp = bp->bio_parent;
282 sc = pbp->bio_to->geom->softc;
290 if (pbp->bio_error == 0)
291 pbp->bio_error = bp->bio_error;
292 pbp->bio_completed += bp->bio_completed;
293 pbp->bio_inbed++;
294 if (pbp->bio_children == pbp->bio_inbed) {
296 if (pbp
[all...]
/freebsd-11-stable/sys/geom/mountver/
H A Dg_mountver.c101 struct bio *pbp; local
116 pbp = bp->bio_parent;
117 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider),
120 pbp->bio_inbed++;
121 g_mountver_queue(pbp);
/freebsd-11-stable/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-11-stable/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 238 milliseconds

12