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()
635 struct se_device *se_dev = se_cmd->se_dev; in tcmu_alloc_cmd() local
636 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_alloc_cmd()
985 struct se_device *se_dev = se_plug->se_dev; in tcmu_unplug_device() local
986 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_unplug_device()
992 static struct se_dev_plug *tcmu_plug_device(struct se_device *se_dev) in tcmu_plug_device() argument
994 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_plug_device()
1205 struct se_device *se_dev = se_cmd->se_dev; in tcmu_queue_cmd() local
1206 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_queue_cmd()
1255 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()
1639 return &udev->se_dev; in tcmu_alloc_device()
1715 struct se_device *dev = &udev->se_dev; in tcmu_dev_kref_release()
2105 ret = nla_put_u32(skb, TCMU_ATTR_DEVICE_ID, udev->se_dev.dev_index); in tcmu_netlink_event_init()
2688 struct tcmu_dev, se_dev); in tcmu_cmd_time_out_store()
2817 if (target_dev_configured(&udev->se_dev)) { in tcmu_dev_config_store()
2879 if (target_dev_configured(&udev->se_dev)) { in tcmu_dev_size_store()
2961 if (target_dev_configured(&udev->se_dev)) { in tcmu_emulate_write_cache_store()
3009 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_block_dev_show() local
3012 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_show()
3023 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_block_dev_store() local
3026 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_store()
3030 if (!target_dev_configured(&udev->se_dev)) { in tcmu_block_dev_store()
3055 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_reset_ring_store() local
3058 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_reset_ring_store()
3062 if (!target_dev_configured(&udev->se_dev)) { in tcmu_reset_ring_store()
3084 struct se_device *se_dev = container_of(to_config_group(item), in tcmu_free_kept_buf_store() local
3087 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_free_kept_buf_store()
3092 if (!target_dev_configured(&udev->se_dev)) { in tcmu_free_kept_buf_store()
3200 if (!target_dev_configured(&udev->se_dev)) { in find_free_blocks()