Lines Matching defs:udev
104 struct tcmu_dev *udev; member
285 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd() local
354 struct tcmu_dev *udev = NULL; in tcmu_genl_cmd_done() local
478 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in tcmu_cmd_free_data() local
485 static inline bool tcmu_get_empty_block(struct tcmu_dev *udev, in tcmu_get_empty_block()
525 static bool tcmu_get_empty_blocks(struct tcmu_dev *udev, in tcmu_get_empty_blocks()
538 tcmu_get_block_page(struct tcmu_dev *udev, uint32_t dbi) in tcmu_get_block_page()
573 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_alloc_cmd() local
662 static void scatter_data_area(struct tcmu_dev *udev, in scatter_data_area()
738 static void gather_data_area(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in gather_data_area()
814 static bool is_ring_space_avail(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in is_ring_space_avail()
888 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in tcmu_setup_cmd_timer() local
917 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in add_to_qfull_queue() local
956 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in queue_cmd_ring() local
1113 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_queue_cmd() local
1133 struct tcmu_dev *udev = cmd->tcmu_dev; in tcmu_handle_completion() local
1217 static unsigned int tcmu_handle_completions(struct tcmu_dev *udev) in tcmu_handle_completions()
1285 struct tcmu_dev *udev = cmd->tcmu_dev; in tcmu_check_expired_cmd() local
1328 static void tcmu_device_timedout(struct tcmu_dev *udev) in tcmu_device_timedout()
1340 struct tcmu_dev *udev = from_timer(udev, t, cmd_timer); in tcmu_cmd_timedout() local
1348 struct tcmu_dev *udev = from_timer(udev, t, qfull_timer); in tcmu_qfull_timedout() local
1376 struct tcmu_dev *udev; in tcmu_alloc_device() local
1410 static bool run_qfull_queue(struct tcmu_dev *udev, bool fail) in run_qfull_queue()
1476 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_irqcontrol() local
1492 struct tcmu_dev *udev = vma->vm_private_data; in tcmu_find_mem_index() local
1503 static struct page *tcmu_try_get_block_page(struct tcmu_dev *udev, uint32_t dbi) in tcmu_try_get_block_page()
1528 struct tcmu_dev *udev = vmf->vma->vm_private_data; in tcmu_vma_fault() local
1569 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_mmap() local
1585 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_open() local
1602 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_dev_call_rcu() local
1635 struct tcmu_dev *udev = container_of(kref, struct tcmu_dev, kref); in tcmu_dev_kref_release() local
1667 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_release() local
1677 static int tcmu_init_genl_cmd_reply(struct tcmu_dev *udev, int cmd) in tcmu_init_genl_cmd_reply()
1715 static void tcmu_destroy_genl_cmd_reply(struct tcmu_dev *udev) in tcmu_destroy_genl_cmd_reply()
1733 static int tcmu_wait_genl_cmd_reply(struct tcmu_dev *udev) in tcmu_wait_genl_cmd_reply()
1755 static int tcmu_netlink_event_init(struct tcmu_dev *udev, in tcmu_netlink_event_init()
1792 static int tcmu_netlink_event_send(struct tcmu_dev *udev, in tcmu_netlink_event_send()
1819 static int tcmu_send_dev_add_event(struct tcmu_dev *udev) in tcmu_send_dev_add_event()
1833 static int tcmu_send_dev_remove_event(struct tcmu_dev *udev) in tcmu_send_dev_remove_event()
1847 static int tcmu_update_uio_info(struct tcmu_dev *udev) in tcmu_update_uio_info()
1873 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_configure_device() local
1983 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_free_device() local
1991 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_destroy_device() local
2008 static void tcmu_unblock_dev(struct tcmu_dev *udev) in tcmu_unblock_dev()
2015 static void tcmu_block_dev(struct tcmu_dev *udev) in tcmu_block_dev()
2031 static void tcmu_reset_ring(struct tcmu_dev *udev, u8 err_level) in tcmu_reset_ring()
2117 static int tcmu_set_max_blocks_param(struct tcmu_dev *udev, substring_t *arg) in tcmu_set_max_blocks_param()
2155 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_set_configfs_dev_params() local
2217 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_show_configfs_dev_params() local
2231 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_get_blocks() local
2247 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_cmd_time_out_show() local
2257 struct tcmu_dev *udev = container_of(da->da_dev, in tcmu_cmd_time_out_store() local
2280 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_qfull_time_out_show() local
2292 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_qfull_time_out_store() local
2316 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_max_data_area_mb_show() local
2327 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_config_show() local
2332 static int tcmu_send_dev_config_event(struct tcmu_dev *udev, in tcmu_send_dev_config_event()
2358 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_config_store() local
2389 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_size_show() local
2394 static int tcmu_send_dev_size_event(struct tcmu_dev *udev, u64 size) in tcmu_send_dev_size_event()
2419 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_size_store() local
2445 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_nl_reply_supported_show() local
2455 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_nl_reply_supported_store() local
2477 static int tcmu_send_emulate_write_cache(struct tcmu_dev *udev, u8 val) in tcmu_send_emulate_write_cache()
2501 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_emulate_write_cache_store() local
2528 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_show() local
2542 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_store() local
2574 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_reset_ring_store() local
2636 struct tcmu_dev *udev; in find_free_blocks() local
2699 struct tcmu_dev *udev, *tmp_dev; in check_timedout_devices() local