/illumos-gate/usr/src/uts/common/os/ |
H A D | bdev_dsort.c | 76 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 D | bio.c | 486 backp = &dp->av_forw; in brelse() 488 bp->av_forw = *backp; in brelse() 493 (*backp)->av_forw = bp; in brelse() 496 bp->av_forw = dp; in brelse() 759 bp->av_forw = bp->av_back = NULL; in ngeteblk() 895 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 …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/drvobj/ |
H A D | strategy.c | 774 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 …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | buf.h | 86 struct buf *av_forw; /* position on free list, */ member 113 #define b_actf av_forw 142 struct buf *av_forw, *av_back; /* queue of bufs for this unit */ member 258 struct buf *av_forw; /* free list forw pointer */ member 275 struct buf *av_forw; /* delayed write forw pointer */ member 287 ASSERT((bp)->av_forw != NULL); \ 289 ASSERT((bp)->av_forw != (bp)); \ 291 (bp)->av_back->av_forw = (bp)->av_forw; \ 292 (bp)->av_forw->av_back = (bp)->av_back; \ 294 (bp)->av_forw = (bp)->av_back = NULL; \
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd_xbuf.c | 250 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() 625 next_bp = bp->av_forw; /* Save for next iteration */ in ddi_xbuf_flushq() 649 prev_bp->av_forw = next_bp; in ddi_xbuf_flushq() 651 bp->av_forw = NULL; in ddi_xbuf_flushq() 659 xap->xa_flush_tailp->av_forw = bp; in ddi_xbuf_flushq() [all …]
|
H A D | sd.c | 5821 un->un_retry_bp->av_forw = un->un_waitq_headp; in sd_ddi_suspend() 10892 bp->av_forw = NULL; in sd_xbuf_init() 13665 new_bp->av_forw = NULL; in sd_shadow_buf_alloc() 13871 bp->av_forw = NULL; in sd_add_buf_to_waitq() 13882 un->un_waitq_tailp->av_forw = bp; in sd_add_buf_to_waitq() 13884 bp->av_forw = NULL; in sd_add_buf_to_waitq() 13908 while (ap->av_forw != NULL) { in sd_add_buf_to_waitq() 13914 if (SD_GET_BLKNO(ap->av_forw) < SD_GET_BLKNO(ap)) { in sd_add_buf_to_waitq() 13923 SD_GET_BLKNO(ap->av_forw)) { in sd_add_buf_to_waitq() 13926 ap = ap->av_forw; in sd_add_buf_to_waitq() [all …]
|
H A D | st.c | 4383 bp->av_forw = NULL; in st_queued_strategy() 4492 bp->av_forw = NULL; in st_strategy() 16332 cont_bp->av_forw = bp->av_forw; in st_get_bigblk_bp() 18146 for (runqbp = *head; runqbp != 0; runqbp = runqbp->av_forw) { in st_remove_from_queue() 18150 *head = bp->av_forw; in st_remove_from_queue() 18152 prevbp->av_forw = bp->av_forw; in st_remove_from_queue() 18157 bp->av_forw = NULL; in st_remove_from_queue() 18174 bp->av_forw = NULL; in st_add_to_queue() 18179 bp->av_forw = *head; in st_add_to_queue() 18183 (*tail)->av_forw = bp; in st_add_to_queue()
|
H A D | ses.c | 926 bp->av_forw = (struct buf *)NULL; in ses_uscsi_cmd()
|
H A D | sgen.c | 1261 bp->av_forw = NULL; in sgen_uscsi_cmd()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fsflush.c | 409 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()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sd/ |
H A D | sd.c | 146 wsp->walk_addr = (uintptr_t)(((buf_t *)wsp->walk_data)->av_forw); in buf_avforw_walk_step() 191 if (((buf_t *)walk_data)->av_forw == NULL) { in buf_callback() 458 rootBuf = (uintptr_t)currentBuf.av_forw; in process_sdlun_waitq() 538 xba_root = (void *)xba_current.av_forw; in process_xbuf()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 736 bp = bp->av_forw; in xdf_kstat_create() 786 bp = bp->av_forw; in xdf_kstat_delete() 812 ASSERT(bp->av_forw == NULL); in xdf_bp_push() 835 vdp->xdf_l_act->av_forw = bp; in xdf_bp_push() 851 ASSERT(bp->av_forw == NULL); in xdf_bp_pop() 857 ASSERT((bp->av_forw != NULL) || (bp == vdp->xdf_l_act)); in xdf_bp_pop() 858 ASSERT((bp->av_forw == NULL) || (bp != vdp->xdf_l_act)); in xdf_bp_pop() 864 vdp->xdf_f_act = bp->av_forw; in xdf_bp_pop() 870 while (bp != bp_iter->av_forw) { in xdf_bp_pop() 871 bp_iter = bp_iter->av_forw; in xdf_bp_pop() [all …]
|
H A D | xdb.c | 600 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()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 1092 bp->av_forw = 0; in fd_strategy() 1097 fdp->d_actl->av_forw = bp; in fd_strategy() 1142 fdp->d_actf = bp->av_forw; in fdstart()
|
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 1747 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()
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 1787 bp->av_forw = 0; in fd_strategy() 1815 fdc->c_actl->av_forw = bp; in fd_strategy() 3113 fdc->c_actf = bp->av_forw; in fdstart()
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 1851 bp->av_forw = 0; in dcdstrategy()
|