Home
last modified time | relevance | path

Searched refs:b_forw (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dbuf.h82 struct buf *b_forw; /* headed by d_tab of conf.c */ member
139 struct buf *b_forw, *b_back; /* queue of unit queues */ member
212 ASSERT((bp)->b_forw != NULL); \
214 (bp)->b_back->b_forw = (bp)->b_forw; \
215 (bp)->b_forw->b_back = (bp)->b_back; \
216 (bp)->b_forw = (bp)->b_back = NULL; \
219 ASSERT((bp)->b_forw == NULL); \
221 ASSERT((dp)->b_forw != NULL); \
223 (bp)->b_forw = (dp)->b_forw; \
225 (dp)->b_forw->b_back = (bp); \
[all …]
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c326 cb->cb_free = newbp->b_forw; in push_dirty_bp()
344 newbp->b_forw = bp->b_forw; in push_dirty_bp()
346 bp->b_forw->b_back = newbp; in push_dirty_bp()
347 bp->b_forw = newbp; in push_dirty_bp()
366 bp = bp->b_forw; in inval_range()
373 bp = bp->b_forw; in inval_range()
380 bp = bp->b_forw; in inval_range()
414 bp = cb->cb_bp->b_forw; in get_write_bp()
460 bp->b_forw = cb->cb_free; in alloc_wrbuf()
471 cb->cb_free = bp->b_forw; in alloc_wrbuf()
[all …]
/titanic_41/usr/src/uts/common/io/lvm/trans/
H A Dtrans_log.c154 bp->b_forw = cb->cb_free; in md_alloc_wrbuf()
167 cb->cb_free = bp->b_forw; in md_alloc_wrbuf()
169 bp->b_forw = bp; in md_alloc_wrbuf()
216 bp->b_forw = cb->cb_bp->b_forw; in md_alloc_rdbuf()
218 cb->cb_bp->b_forw->b_back = bp; in md_alloc_rdbuf()
219 cb->cb_bp->b_forw = bp; in md_alloc_rdbuf()
221 bp->b_forw = bp->b_back = bp; in md_alloc_rdbuf()
249 if (bp == bp->b_forw) in md_free_cirbuf()
252 cb->cb_bp = bp->b_forw; in md_free_cirbuf()
253 bp->b_back->b_forw = bp->b_forw; in md_free_cirbuf()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dbio.c87 wsp->walk_addr = (uintptr_t)hbufs[0].b_forw; in buf_walk_init()
111 bwp->bw_hbufs[bwp->bw_hbufi].b_forw; in buf_walk_step()
120 wsp->walk_addr = (uintptr_t)bwp->bw_bufp->b_forw; in buf_walk_step()
/titanic_41/usr/src/uts/common/os/
H A Dbio.c535 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bio_busy()
592 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in getblk_common()
798 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in trygetblk()
974 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in blkflush()
1043 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bfinval()
1188 bp->b_forw = bp->b_back = bp->av_forw = bp->av_back = bp; in binit()
1191 hbuf[i].b_forw = hbuf[i].b_back = (struct buf *)&hbuf[i]; in binit()
1197 dwbuf[i].b_forw = dwbuf[i].b_back = (struct buf *)&dwbuf[i]; in binit()
1419 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bcheck()
1641 ASSERT(bp->b_forw == NULL); in bio_bhdr_free()
[all …]
H A Daio_subr.c136 bp->b_forw = (struct buf *)reqp; in aphysio()
214 reqp = (aio_req_t *)bp->b_forw; in aio_done()
460 bp->b_forw = (struct buf *)reqp; in aio_zerolen()
/titanic_41/usr/src/cmd/sa/
H A Dsadp.c731 dfprintf (stderr, "%s: b_forw 0x%x\n", cmdname, (int)dp->b_forw); in do_disk_stats()
735 if (dp->b_forw) { in do_disk_stats()
736 if (dp->b_forw == last_bp) { in do_disk_stats()
739 last_bp = dp->b_forw; in do_disk_stats()
742 cmdname, (int)dp->b_forw); in do_disk_stats()
743 FETCH_AAL(dp->b_forw, &buffer, sizeof (struct buf), in do_disk_stats()
767 } while (dp->b_forw); in do_disk_stats()
1400 (int)dp->b_flags, (int)dp->b_forw, (int)dp->b_back,
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bio.c388 bp->b_forw = NULL; in _sd_setup_iob()
509 bp->b_forw = NULL; in _sd_extend_iob()
511 hook->tail->b_forw = bp; in _sd_extend_iob()
968 bp_next = bp->b_forw; in sd_start_io()
976 bp->b_forw = NULL; in sd_start_io()
1172 bp->b_forw = NULL; in _sd_async_ea()
/titanic_41/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c801 #define hd_private b_forw
924 bp1 = bp_merge->b_forw;
932 bp_merge->b_forw = bp;
1069 bp1 = bp->b_forw; in qmerge_iodone()
1071 bp->b_forw = bp1->av_forw; in qmerge_iodone()
1075 pp1 = bp->b_forw->b_pages; in qmerge_iodone()
1090 } while ((bp1 = bp->b_forw) != bp->b_forw->av_forw); in qmerge_iodone()
1313 bp_merge->b_forw = bp; in qmerge_del()
1398 #define b_pasf b_forw
/titanic_41/usr/src/uts/sun/io/dada/targets/
H A Ddad.c524 if (dp->b_actf && (dp->b_forw == NULL)) { in dcdattach()
1950 tscmdp = (struct udcd_cmd *)bp->b_forw; in dcdstrategy()
1996 un->un_ncmds, un->un_throttle, (void *)dp->b_forw); in dcdstrategy()
1999 if ((un->un_ncmds < un->un_throttle) && (dp->b_forw == NULL)) { in dcdstrategy()
2026 (dp->b_forw == NULL)) { in dcdstrategy()
2060 (dp->b_forw != NULL)) { in dcdstart()
2127 (dp->b_forw == NULL)) { in dcdstart()
2184 (dp->b_forw == NULL)) { in dcdstart()
2215 (dp->b_forw == NULL)) { in dcdstart()
2360 struct udcd_cmd *scmd = (struct udcd_cmd *)bp->b_forw; in make_dcd_cmd()
[all …]
/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_replay.c140 bp->b_forw = bp; in raid_rply_alloc()
161 bp->b_forw = bp; in raid_rply_alloc()
171 bp->b_forw = bp; in raid_rply_alloc()
H A Draid.c1501 cs->cs_dbuf.b_forw = &cs->cs_dbuf; in raid_read_retry()
1513 cs->cs_pbuf.b_forw = &cs->cs_pbuf; in raid_read_retry()
2082 bp.b_forw = &bp; in raid_check_cols()
2841 cs->cs_dbuf.b_forw = &cs->cs_dbuf; in raid_write_retry()
2853 cs->cs_pbuf.b_forw = &cs->cs_pbuf; in raid_write_retry()
2864 cs->cs_hbuf.b_forw = &cs->cs_hbuf; in raid_write_retry()
3450 bp->b_forw = bp; in raid_stage()
H A Draid_resync.c207 bp->b_forw = bp; in init_buf()
H A Draid_ioctl.c283 bp.b_forw = &bp; in raid_check_pw()
517 cur->ci_buf.b_forw = &cur->ci_buf; in raid_init_columns()
/titanic_41/usr/src/uts/common/fs/
H A Dfdbuffer.c415 bp->b_forw = (struct buf *)fdb; in fdb_iosetup()
466 fdbuffer_t *fdb = (fdbuffer_t *)bp->b_forw; in fdb_iodone()
/titanic_41/usr/src/uts/common/avs/ns/
H A Dcontract.h393 #define b_forw b_pad1 /* b_forw in struct buf */ macro
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c759 bp->b_forw = (struct buf *)dadkp; in dadk_ioctl()
1168 if (bp->b_forw == (struct buf *)dadkp) in dadk_ioprep()
1703 bp->b_forw = (struct buf *)dadkp->dad_flcobjp; in dadk_rmb_ioctl()
1747 bp->av_forw = bp->b_forw = (struct buf *)dadkp; in dadk_dk_buf_setup()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c103 #define b_clone_private b_forw in _NOTE()
H A Dst.c4391 (void *)bp->b_forw, bp->b_bcount, in st_queued_strategy()
4403 ((uchar_t)(uintptr_t)bp->b_forw == SCMD_READ || in st_queued_strategy()
4404 (uchar_t)(uintptr_t)bp->b_forw == SCMD_READ_G4 || in st_queued_strategy()
4405 (uchar_t)(uintptr_t)bp->b_forw == SCMD_WRITE || in st_queued_strategy()
4406 (uchar_t)(uintptr_t)bp->b_forw == SCMD_WRITE_G4)) { in st_queued_strategy()
4500 (unsigned char)(uintptr_t)bp->b_forw, bp->b_bcount, in st_strategy()
6297 bp->b_forw = (struct buf *)(uintptr_t)uscmd->uscsi_cdb[0]; in st_uscsi_cmd()
6414 (void *)bp->b_forw, bp->b_bcount, in st_start_dump()
7841 bp->b_forw = (struct buf *)(uintptr_t)com; in st_setup_cmd()
7850 bp->b_forw = (struct buf *)(uintptr_t)com; in st_setup_cmd()
[all …]
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_subr.c3096 bp->b_forw = bp; in md_bioinit()
3107 bp->b_forw = bp; in md_bioreset()
H A Dmd_mddb.c507 bfp->bf_buf.b_back = bfp->bf_buf.b_forw = &bfp->bf_buf; in allocbuffer()