Lines Matching defs:lun
209 struct ctl_be_block_lun *lun;
355 uma_zfree(beio->lun->lun_zone, beio->sg_segs[i].addr);
417 devstat_end_transaction(beio->lun->disk_stats,
440 be_lun = beio->lun;
517 be_lun = beio->lun;
614 devstat_start_transaction(beio->lun->disk_stats, &beio->ds_t0);
683 devstat_start_transaction(beio->lun->disk_stats, &beio->ds_t0);
725 devstat_start_transaction(beio->lun->disk_stats, &beio->ds_t0);
947 beio->lun = be_lun;
1027 beio->lun = be_lun;
2162 struct ctl_be_block_lun *lun;
2165 lun = (struct ctl_be_block_lun *)be_lun;
2167 softc = lun->softc;
2170 lun->flags |= CTL_BE_BLOCK_LUN_UNCONFIGURED;
2171 if (lun->flags & CTL_BE_BLOCK_LUN_WAITING)
2172 wakeup(lun);
2180 struct ctl_be_block_lun *lun;
2183 lun = (struct ctl_be_block_lun *)be_lun;
2184 softc = lun->softc;
2188 lun->flags &= ~CTL_BE_BLOCK_LUN_UNCONFIGURED;
2189 if (lun->flags & CTL_BE_BLOCK_LUN_WAITING)
2190 wakeup(lun);
2196 if (ctl_enable_lun(&lun->ctl_be_lun) != 0) {
2198 if (ctl_invalidate_lun(&lun->ctl_be_lun) != 0) {
2209 lun->flags &= ~CTL_BE_BLOCK_LUN_UNCONFIGURED;
2210 lun->flags |= CTL_BE_BLOCK_LUN_CONFIG_ERR;
2211 wakeup(lun);
2304 struct ctl_be_block_lun *lun;
2307 lun = (struct ctl_be_block_lun *)be_lun;
2315 retval = sbuf_printf(sb, "%d", lun->num_threads);
2326 || (lun->dev_path == NULL))
2334 retval = ctl_sbuf_printf_esc(sb, lun->dev_path);