/illumos-gate/usr/src/uts/common/os/ |
H A D | bdev_dsort.c | 76 bp->av_forw = NULL; 85 while (ap->av_forw) { 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) 127 ap = ap->av_forw; 135 bp->av_forw = ap->av_forw; [all …]
|
H A D | bio.c | 486 backp = &dp->av_forw; in brelse() 488 bp->av_forw = *backp; in brelse() 496 bp->av_forw = dp; in brelse() 895 for (bp = dp->av_forw; bp != dp; bp = bp->av_forw) { in bflush() 1495 bp = dp->av_forw; in bio_getfreeblk() 1502 bp = bp->av_forw; in bio_getfreeblk() 1541 bp = bp->av_forw; in bio_getfreeblk() 1709 bp = dp->av_forw; in bio_recycle() 1716 bp = bp->av_forw; in bio_recycle() 1774 bp = dp->av_forw; in bio_recycle() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/drvobj/ |
H A D | strategy.c | 777 bp->av_forw = 0; in que_del() 929 bp->av_forw = bp1; 981 bp->av_forw = bp1->av_forw; in que_insert() 1037 bp->av_forw = highest_bp->av_forw; in que_insert() 1073 bp1->av_back->av_forw = bp1->av_forw; in qmerge_iodone() 1262 if (bp->av_forw) { in qmerge_nextbp() 1276 bp->av_back->av_forw = bp->av_forw; in qmerge_nextbp() 1422 ap = ap->av_forw; in oneway_scan_binary() 1424 bp->av_forw = ap->av_forw; in oneway_scan_binary() 1425 ap->av_forw = bp; in oneway_scan_binary() [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 | 10887 bp->av_forw = NULL; in sd_xbuf_init() 13866 bp->av_forw = NULL; in sd_add_buf_to_waitq() 13879 bp->av_forw = NULL; in sd_add_buf_to_waitq() 13921 ap = ap->av_forw; in sd_add_buf_to_waitq() 13925 ap = ap->av_forw; in sd_add_buf_to_waitq() 13950 ap = ap->av_forw; in sd_add_buf_to_waitq() 13959 bp->av_forw = ap->av_forw; in sd_add_buf_to_waitq() 13960 ap->av_forw = bp; in sd_add_buf_to_waitq() 14126 bp->av_forw = NULL; 15314 bp->av_forw = un->un_waitq_headp->av_forw; [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() 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() 875 bp_iter->av_forw = bp->av_forw; in xdf_bp_pop() 879 bp->av_forw = NULL; 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()
|