Lines Matching defs:udev

106 	struct tcmu_dev *udev;  member
305 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd() local
374 struct tcmu_dev *udev = NULL; in tcmu_genl_cmd_done() local
499 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in tcmu_cmd_free_data() local
506 static inline int tcmu_get_empty_block(struct tcmu_dev *udev, in tcmu_get_empty_block()
554 static int tcmu_get_empty_blocks(struct tcmu_dev *udev, in tcmu_get_empty_blocks()
596 static int new_block_to_iov(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in new_block_to_iov()
622 static void tcmu_setup_iovs(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in tcmu_setup_iovs()
636 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_alloc_cmd() local
702 static inline void tcmu_copy_data(struct tcmu_dev *udev, in tcmu_copy_data()
774 static void scatter_data_area(struct tcmu_dev *udev, struct tcmu_cmd *tcmu_cmd, in scatter_data_area()
783 static void gather_data_area(struct tcmu_dev *udev, struct tcmu_cmd *tcmu_cmd, in gather_data_area()
820 static bool is_ring_space_avail(struct tcmu_dev *udev, size_t cmd_size) in is_ring_space_avail()
854 static int tcmu_alloc_data_space(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in tcmu_alloc_data_space()
931 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in add_to_qfull_queue() local
955 static uint32_t ring_insert_padding(struct tcmu_dev *udev, size_t cmd_size) in ring_insert_padding()
986 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_unplug_device() local
994 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_plug_device() local
1014 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in queue_cmd_ring() local
1158 queue_tmr_ring(struct tcmu_dev *udev, struct tcmu_tmr *tmr) in queue_tmr_ring()
1206 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_queue_cmd() local
1263 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_tmr_notify() local
1324 struct tcmu_dev *udev = cmd->tcmu_dev; in tcmu_handle_completion() local
1411 static int tcmu_run_tmr_queue(struct tcmu_dev *udev) in tcmu_run_tmr_queue()
1443 static bool tcmu_handle_completions(struct tcmu_dev *udev) in tcmu_handle_completions()
1555 static void tcmu_device_timedout(struct tcmu_dev *udev) in tcmu_device_timedout()
1567 struct tcmu_dev *udev = from_timer(udev, t, cmd_timer); in tcmu_cmd_timedout() local
1575 struct tcmu_dev *udev = from_timer(udev, t, qfull_timer); in tcmu_qfull_timedout() local
1603 struct tcmu_dev *udev; in tcmu_alloc_device() local
1645 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_dev_call_rcu() local
1662 static u32 tcmu_blocks_release(struct tcmu_dev *udev, unsigned long first, in tcmu_blocks_release()
1702 static void tcmu_remove_all_queued_tmr(struct tcmu_dev *udev) in tcmu_remove_all_queued_tmr()
1714 struct tcmu_dev *udev = container_of(kref, struct tcmu_dev, kref); in tcmu_dev_kref_release() local
1750 static void run_qfull_queue(struct tcmu_dev *udev, bool fail) in run_qfull_queue()
1812 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_irqcontrol() local
1828 struct tcmu_dev *udev = vma->vm_private_data; in tcmu_find_mem_index() local
1839 static struct page *tcmu_try_get_data_page(struct tcmu_dev *udev, uint32_t dpi) in tcmu_try_get_data_page()
1865 struct tcmu_dev *udev = vma->vm_private_data; in tcmu_vma_open() local
1874 struct tcmu_dev *udev = vma->vm_private_data; in tcmu_vma_close() local
1884 struct tcmu_dev *udev = vmf->vma->vm_private_data; in tcmu_vma_fault() local
1929 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_mmap() local
1947 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_open() local
1962 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_release() local
2003 static int tcmu_init_genl_cmd_reply(struct tcmu_dev *udev, int cmd) in tcmu_init_genl_cmd_reply()
2041 static void tcmu_destroy_genl_cmd_reply(struct tcmu_dev *udev) in tcmu_destroy_genl_cmd_reply()
2059 static int tcmu_wait_genl_cmd_reply(struct tcmu_dev *udev) in tcmu_wait_genl_cmd_reply()
2081 static int tcmu_netlink_event_init(struct tcmu_dev *udev, in tcmu_netlink_event_init()
2118 static int tcmu_netlink_event_send(struct tcmu_dev *udev, in tcmu_netlink_event_send()
2145 static int tcmu_send_dev_add_event(struct tcmu_dev *udev) in tcmu_send_dev_add_event()
2159 static int tcmu_send_dev_remove_event(struct tcmu_dev *udev) in tcmu_send_dev_remove_event()
2173 static int tcmu_update_uio_info(struct tcmu_dev *udev) in tcmu_update_uio_info()
2199 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_configure_device() local
2314 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_free_device() local
2322 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_destroy_device() local
2339 static void tcmu_unblock_dev(struct tcmu_dev *udev) in tcmu_unblock_dev()
2346 static void tcmu_block_dev(struct tcmu_dev *udev) in tcmu_block_dev()
2362 static void tcmu_reset_ring(struct tcmu_dev *udev, u8 err_level) in tcmu_reset_ring()
2465 static int tcmu_set_max_blocks_param(struct tcmu_dev *udev, substring_t *arg) in tcmu_set_max_blocks_param()
2506 static int tcmu_set_data_pages_per_blk(struct tcmu_dev *udev, substring_t *arg) in tcmu_set_data_pages_per_blk()
2539 static int tcmu_set_cmd_ring_size(struct tcmu_dev *udev, substring_t *arg) in tcmu_set_cmd_ring_size()
2577 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_set_configfs_dev_params() local
2645 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_show_configfs_dev_params() local
2661 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_get_blocks() local
2677 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_cmd_time_out_show() local
2687 struct tcmu_dev *udev = container_of(da->da_dev, in tcmu_cmd_time_out_store() local
2710 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_qfull_time_out_show() local
2722 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_qfull_time_out_store() local
2746 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_max_data_area_mb_show() local
2757 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_data_pages_per_blk_show() local
2767 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_cmd_ring_size_mb_show() local
2778 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_config_show() local
2783 static int tcmu_send_dev_config_event(struct tcmu_dev *udev, in tcmu_send_dev_config_event()
2809 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_config_store() local
2840 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_size_show() local
2845 static int tcmu_send_dev_size_event(struct tcmu_dev *udev, u64 size) in tcmu_send_dev_size_event()
2870 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_size_store() local
2896 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_nl_reply_supported_show() local
2906 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_nl_reply_supported_store() local
2928 static int tcmu_send_emulate_write_cache(struct tcmu_dev *udev, u8 val) in tcmu_send_emulate_write_cache()
2952 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_emulate_write_cache_store() local
2978 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_tmr_notification_show() local
2989 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_tmr_notification_store() local
3012 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_show() local
3026 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_store() local
3058 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_reset_ring_store() local
3087 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_free_kept_buf_store() local
3188 struct tcmu_dev *udev; in find_free_blocks() local
3265 struct tcmu_dev *udev, *tmp_dev; in check_timedout_devices() local