Lines Matching refs:se_dev
115 struct se_device se_dev; member
174 #define TCMU_DEV(_se_dev) container_of(_se_dev, struct tcmu_dev, se_dev)
389 if (nl_cmd->udev->se_dev.dev_index == dev_id) { in tcmu_genl_cmd_done()
634 struct se_device *se_dev = se_cmd->se_dev; in tcmu_alloc_cmd() local
635 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_alloc_cmd()
984 struct se_device *se_dev = se_plug->se_dev; in tcmu_unplug_device() local
985 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_unplug_device()
991 static struct se_dev_plug *tcmu_plug_device(struct se_device *se_dev) in tcmu_plug_device() argument
993 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_plug_device()
1204 struct se_device *se_dev = se_cmd->se_dev; in tcmu_queue_cmd() local
1205 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_queue_cmd()
1254 tcmu_tmr_notify(struct se_device *se_dev, enum tcm_tmreq_table tmf, in tcmu_tmr_notify() argument
1263 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_tmr_notify()
1638 return &udev->se_dev; in tcmu_alloc_device()
1714 struct se_device *dev = &udev->se_dev; in tcmu_dev_kref_release()
2104 ret = nla_put_u32(skb, TCMU_ATTR_DEVICE_ID, udev->se_dev.dev_index); in tcmu_netlink_event_init()
2647 struct tcmu_dev, se_dev); in tcmu_cmd_time_out_store()
2765 if (target_dev_configured(&udev->se_dev)) { in tcmu_dev_config_store()
2827 if (target_dev_configured(&udev->se_dev)) { in tcmu_dev_size_store()
2909 if (target_dev_configured(&udev->se_dev)) { in tcmu_emulate_write_cache_store()
2957 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_block_dev_show() local
2960 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_show()
2971 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_block_dev_store() local
2974 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_store()
2978 if (!target_dev_configured(&udev->se_dev)) { in tcmu_block_dev_store()
3003 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_reset_ring_store() local
3006 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_reset_ring_store()
3010 if (!target_dev_configured(&udev->se_dev)) { in tcmu_reset_ring_store()
3032 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_free_kept_buf_store() local
3035 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_free_kept_buf_store()
3040 if (!target_dev_configured(&udev->se_dev)) { in tcmu_free_kept_buf_store()
3147 if (!target_dev_configured(&udev->se_dev)) { in find_free_blocks()