Home
last modified time | relevance | path

Searched refs:lun_type (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/cam/ctl/
H A DREADME.ctl.txt120 lun_type=0
124 lun_type=0
128 lun_type=0
132 lun_type=0
136 lun_type=0
140 lun_type=0
144 lun_type=0
148 lun_type=0
152 lun_type=0
156 lun_type=0
[all …]
H A Dctl.c493 static int ctl_cmd_applicable(uint8_t lun_type,
3086 lun->be_lun->lun_type); in ctl_ioctl()
4083 if (lun->be_lun->lun_type == T_DIRECT && in ctl_init_page_index()
4086 if (lun->be_lun->lun_type == T_PROCESSOR && in ctl_init_page_index()
4089 if (lun->be_lun->lun_type == T_CDROM && in ctl_init_page_index()
4367 if (lun->be_lun->lun_type == T_DIRECT && in ctl_init_log_page_index()
4370 if (lun->be_lun->lun_type == T_PROCESSOR && in ctl_init_log_page_index()
4373 if (lun->be_lun->lun_type == T_CDROM && in ctl_init_log_page_index()
4457 switch (be_lun->lun_type) { in ctl_add_lun()
4619 } else if (be_lun->lun_type == T_CDROM) in ctl_add_lun()
[all …]
H A Dctl_backend.h86 * The lun_type field is the SCSI device type of this particular LUN. In
147 uint8_t lun_type; /* passed to CTL */ member
H A Dctl_backend_ramdisk.c1144 cbe_lun->lun_type = params->device_type; in ctl_backend_ramdisk_create()
1146 cbe_lun->lun_type = T_DIRECT; in ctl_backend_ramdisk_create()
1169 if (cbe_lun->lun_type == T_DIRECT || in ctl_backend_ramdisk_create()
1170 cbe_lun->lun_type == T_CDROM) { in ctl_backend_ramdisk_create()
1173 else if (cbe_lun->lun_type == T_CDROM) in ctl_backend_ramdisk_create()
1225 } else if (cbe_lun->lun_type != T_DIRECT) in ctl_backend_ramdisk_create()
H A Dctl_backend_block.c2266 else if (cbe_lun->lun_type == T_CDROM) in ctl_be_block_open_file()
2396 } else if (cbe_lun->lun_type == T_CDROM) in ctl_be_block_open_dev()
2560 } else if (cbe_lun->lun_type == T_DIRECT) in ctl_be_block_open()
2656 cbe_lun->lun_type = params->device_type; in ctl_be_block_create()
2658 cbe_lun->lun_type = T_DIRECT; in ctl_be_block_create()
2668 if (cbe_lun->lun_type == T_DIRECT || in ctl_be_block_create()
2669 cbe_lun->lun_type == T_CDROM) { in ctl_be_block_create()
2673 else if (cbe_lun->lun_type == T_CDROM) in ctl_be_block_create()
2802 cbe_lun->lun_type in ctl_be_block_create()
H A Dctl_tpc.c313 lun->be_lun->lun_type; in ctl_inquiry_evpd_tpc()