Home
last modified time | relevance | path

Searched refs:av_forw (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dbdev_dsort.c76 bp->av_forw = NULL;
85 while (ap->av_forw) {
91 if (ap->av_forw->b_cylin < ap->b_cylin) {
99 if (bp->b_cylin < ap->av_forw->b_cylin)
101 ap = ap->av_forw;
102 } while (ap->av_forw);
105 ap = ap->av_forw;
117 while (ap->av_forw) {
124 if (ap->av_forw->b_cylin < ap->b_cylin ||
125 bp->b_cylin < ap->av_forw->b_cylin)
[all …]
H A Dbio.c483 backp = &dp->av_forw; in brelse()
485 bp->av_forw = *backp; in brelse()
490 (*backp)->av_forw = bp; in brelse()
493 bp->av_forw = dp; in brelse()
757 bp->av_forw = bp->av_back = NULL; in ngeteblk()
894 for (bp = dp->av_forw; bp != dp; bp = bp->av_forw) { in bflush()
1073 backp = &dp->av_forw; in bfinval()
1075 bp->av_forw = *backp; in bfinval()
1189 bp->b_forw = bp->b_back = bp->av_forw = bp->av_back = bp; in binit()
1193 hbuf[i].av_forw = hbuf[i].av_back = (struct buf *)&hbuf[i]; in binit()
[all …]
/titanic_50/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c774 qfp->q_tab.b_actf = bp->av_forw; in que_del()
777 bp->av_forw = 0; in que_del()
803 #define hd_sync_next av_forw
926 bp1->av_back->av_forw = bp;
929 bp->av_forw = bp1;
964 bp->av_forw = bp->av_back = bp; in que_insert()
981 bp->av_forw = bp1->av_forw; in que_insert()
982 bp1->av_forw->av_back = bp; in que_insert()
983 bp1->av_forw = bp; in que_insert()
1001 bp->av_forw = lowest_bp; in que_insert()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dbuf.h84 struct buf *av_forw; /* position on free list, */ member
111 #define b_actf av_forw
140 struct buf *av_forw, *av_back; /* queue of bufs for this unit */ member
256 struct buf *av_forw; /* free list forw pointer */ member
273 struct buf *av_forw; /* delayed write forw pointer */ member
285 ASSERT((bp)->av_forw != NULL); \
287 ASSERT((bp)->av_forw != (bp)); \
289 (bp)->av_back->av_forw = (bp)->av_forw; \
290 (bp)->av_forw->av_back = (bp)->av_back; \
292 (bp)->av_forw = (bp)->av_back = NULL; \
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c250 xap->xa_tailp->av_forw = bp; in ddi_xbuf_qstrategy()
253 bp->av_forw = NULL; in ddi_xbuf_qstrategy()
521 xap->xa_headp = bp0->av_forw; in xbuf_iostart()
522 bp0->av_forw = NULL; in xbuf_iostart()
527 xap->xa_headp = bp->av_forw; in xbuf_iostart()
528 bp->av_forw = NULL; in xbuf_iostart()
620 next_bp = bp->av_forw; /* Save for next iteration */ in ddi_xbuf_flushq()
644 prev_bp->av_forw = next_bp; in ddi_xbuf_flushq()
646 bp->av_forw = NULL; in ddi_xbuf_flushq()
654 xap->xa_flush_tailp->av_forw = bp; in ddi_xbuf_flushq()
[all …]
H A Dsd.c6309 un->un_retry_bp->av_forw = un->un_waitq_headp; in sd_ddi_suspend()
11674 bp->av_forw = NULL;
14455 new_bp->av_forw = NULL;
14661 bp->av_forw = NULL;
14672 un->un_waitq_tailp->av_forw = bp;
14674 bp->av_forw = NULL;
14698 while (ap->av_forw != NULL) {
14704 if (SD_GET_BLKNO(ap->av_forw) < SD_GET_BLKNO(ap)) {
14713 SD_GET_BLKNO(ap->av_forw)) {
14716 ap = ap->av_forw;
[all …]
H A Dst.c4383 bp->av_forw = NULL; in st_queued_strategy()
4492 bp->av_forw = NULL; in st_strategy()
16330 cont_bp->av_forw = bp->av_forw; in st_get_bigblk_bp()
18144 for (runqbp = *head; runqbp != 0; runqbp = runqbp->av_forw) { in st_remove_from_queue()
18148 *head = bp->av_forw; in st_remove_from_queue()
18150 prevbp->av_forw = bp->av_forw; in st_remove_from_queue()
18155 bp->av_forw = NULL; in st_remove_from_queue()
18172 bp->av_forw = NULL; in st_add_to_queue()
18177 bp->av_forw = *head; in st_add_to_queue()
18181 (*tail)->av_forw = bp; in st_add_to_queue()
H A Dses.c952 bp->av_forw = (struct buf *)NULL; in ses_uscsi_cmd()
H A Dsgen.c1261 bp->av_forw = NULL; in sgen_uscsi_cmd()
/titanic_50/usr/src/uts/common/fs/
H A Dfsflush.c409 if (dwp->av_forw == dwp) { in fsflush()
415 bp = dwp->av_forw; in fsflush()
438 bp = dwp->av_forw; in fsflush()
440 bp = bp->av_forw; in fsflush()
/titanic_50/usr/src/cmd/mdb/common/modules/sd/
H A Dsd.c145 wsp->walk_addr = (uintptr_t)(((buf_t *)wsp->walk_data)->av_forw); in buf_avforw_walk_step()
190 if (((buf_t *)walk_data)->av_forw == NULL) { in buf_callback()
458 rootBuf = (uintptr_t)currentBuf.av_forw; in process_semo_sleepq()
515 rootBuf = (uintptr_t)currentBuf.av_forw; in process_sdlun_waitq()
595 xba_root = (void *)xba_current.av_forw; in process_xbuf()
/titanic_50/usr/src/uts/common/xen/io/
H A Dxdf.c722 bp = bp->av_forw; in xdf_kstat_create()
772 bp = bp->av_forw; in xdf_kstat_delete()
798 ASSERT(bp->av_forw == NULL); in xdf_bp_push()
821 vdp->xdf_l_act->av_forw = bp; in xdf_bp_push()
837 ASSERT(bp->av_forw == NULL); in xdf_bp_pop()
843 ASSERT((bp->av_forw != NULL) || (bp == vdp->xdf_l_act)); in xdf_bp_pop()
844 ASSERT((bp->av_forw == NULL) || (bp != vdp->xdf_l_act)); in xdf_bp_pop()
850 vdp->xdf_f_act = bp->av_forw; in xdf_bp_pop()
856 while (bp != bp_iter->av_forw) { in xdf_bp_pop()
857 bp_iter = bp_iter->av_forw; in xdf_bp_pop()
[all …]
H A Dxdb.c600 bp->av_forw = NULL; in xdb_intr()
611 vdp->xs_l_iobuf->av_forw = bp; in xdb_intr()
1522 vdp->xs_f_iobuf = bp->av_forw; in xdb_send_buf()
1523 bp->av_forw = NULL; in xdb_send_buf()
/titanic_50/usr/src/cmd/sa/
H A Dsadp.c816 temp1 = (unsigned)x->av_forw;
838 temp1 = (unsigned)bp[m].av_forw; in testdev()
1401 (int)dp->av_forw, (int)dp->av_back, (int)dp->b_bcount);
/titanic_50/usr/src/uts/common/io/
H A Dfd.c1086 bp->av_forw = 0; in fd_strategy()
1091 fdp->d_actl->av_forw = bp; in fd_strategy()
1136 fdp->d_actf = bp->av_forw; in fdstart()
/titanic_50/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c1747 bp->av_forw = bp->b_forw = (struct buf *)dadkp; in dadk_dk_buf_setup()
1781 dadk_dk((struct dadk *)bp->av_forw, (struct dadkio_rwcmd *)bp->b_back, in dadk_dk_strategy()
/titanic_50/usr/src/uts/sun/io/
H A Dfd.c1784 bp->av_forw = 0; in fd_strategy()
1812 fdc->c_actl->av_forw = bp; in fd_strategy()
3110 fdc->c_actf = bp->av_forw; in fdstart()
/titanic_50/usr/src/uts/sun/io/dada/targets/
H A Ddad.c1851 bp->av_forw = 0; in dcdstrategy()