Lines Matching defs:udev

116 	struct tcmu_dev *udev;  member
295 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd() local
364 struct tcmu_dev *udev = NULL; in tcmu_genl_cmd_done() local
487 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in tcmu_cmd_free_data() local
494 static inline bool tcmu_get_empty_block(struct tcmu_dev *udev, in tcmu_get_empty_block()
534 static bool tcmu_get_empty_blocks(struct tcmu_dev *udev, in tcmu_get_empty_blocks()
547 tcmu_get_block_page(struct tcmu_dev *udev, uint32_t dbi) in tcmu_get_block_page()
582 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_alloc_cmd() local
671 static void scatter_data_area(struct tcmu_dev *udev, in scatter_data_area()
747 static void gather_data_area(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in gather_data_area()
823 static bool is_ring_space_avail(struct tcmu_dev *udev, struct tcmu_cmd *cmd, in is_ring_space_avail()
897 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in tcmu_setup_cmd_timer() local
924 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in add_to_cmdr_queue() local
963 struct tcmu_dev *udev = tcmu_cmd->tcmu_dev; in queue_cmd_ring() local
1117 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_queue_cmd() local
1137 struct tcmu_dev *udev = cmd->tcmu_dev; in tcmu_handle_completion() local
1197 static unsigned int tcmu_handle_completions(struct tcmu_dev *udev) in tcmu_handle_completions()
1263 struct tcmu_dev *udev = cmd->tcmu_dev; in tcmu_check_expired_cmd() local
1305 static void tcmu_device_timedout(struct tcmu_dev *udev) in tcmu_device_timedout()
1317 struct tcmu_dev *udev = from_timer(udev, t, cmd_timer); in tcmu_cmd_timedout() local
1325 struct tcmu_dev *udev = from_timer(udev, t, qfull_timer); in tcmu_qfull_timedout() local
1353 struct tcmu_dev *udev; in tcmu_alloc_device() local
1386 static bool run_cmdr_queue(struct tcmu_dev *udev, bool fail) in run_cmdr_queue()
1453 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_irqcontrol() local
1469 struct tcmu_dev *udev = vma->vm_private_data; in tcmu_find_mem_index() local
1480 static struct page *tcmu_try_get_block_page(struct tcmu_dev *udev, uint32_t dbi) in tcmu_try_get_block_page()
1505 struct tcmu_dev *udev = vmf->vma->vm_private_data; in tcmu_vma_fault() local
1546 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_mmap() local
1562 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_open() local
1579 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_dev_call_rcu() local
1612 struct tcmu_dev *udev = container_of(kref, struct tcmu_dev, kref); in tcmu_dev_kref_release() local
1644 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_release() local
1654 static int tcmu_init_genl_cmd_reply(struct tcmu_dev *udev, int cmd) in tcmu_init_genl_cmd_reply()
1692 static int tcmu_wait_genl_cmd_reply(struct tcmu_dev *udev) in tcmu_wait_genl_cmd_reply()
1714 static int tcmu_netlink_event_init(struct tcmu_dev *udev, in tcmu_netlink_event_init()
1751 static int tcmu_netlink_event_send(struct tcmu_dev *udev, in tcmu_netlink_event_send()
1775 static int tcmu_send_dev_add_event(struct tcmu_dev *udev) in tcmu_send_dev_add_event()
1789 static int tcmu_send_dev_remove_event(struct tcmu_dev *udev) in tcmu_send_dev_remove_event()
1803 static int tcmu_update_uio_info(struct tcmu_dev *udev) in tcmu_update_uio_info()
1831 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_configure_device() local
1943 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_free_device() local
1951 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_destroy_device() local
1968 static void tcmu_unblock_dev(struct tcmu_dev *udev) in tcmu_unblock_dev()
1975 static void tcmu_block_dev(struct tcmu_dev *udev) in tcmu_block_dev()
1991 static void tcmu_reset_ring(struct tcmu_dev *udev, u8 err_level) in tcmu_reset_ring()
2075 static int tcmu_set_max_blocks_param(struct tcmu_dev *udev, substring_t *arg) in tcmu_set_max_blocks_param()
2113 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_set_configfs_dev_params() local
2175 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_show_configfs_dev_params() local
2189 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_get_blocks() local
2205 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_cmd_time_out_show() local
2215 struct tcmu_dev *udev = container_of(da->da_dev, in tcmu_cmd_time_out_store() local
2238 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_qfull_time_out_show() local
2250 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_qfull_time_out_store() local
2274 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_max_data_area_mb_show() local
2285 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_config_show() local
2290 static int tcmu_send_dev_config_event(struct tcmu_dev *udev, in tcmu_send_dev_config_event()
2316 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_config_store() local
2347 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_size_show() local
2352 static int tcmu_send_dev_size_event(struct tcmu_dev *udev, u64 size) in tcmu_send_dev_size_event()
2377 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_dev_size_store() local
2403 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_nl_reply_supported_show() local
2413 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_nl_reply_supported_store() local
2435 static int tcmu_send_emulate_write_cache(struct tcmu_dev *udev, u8 val) in tcmu_send_emulate_write_cache()
2459 struct tcmu_dev *udev = TCMU_DEV(da->da_dev); in tcmu_emulate_write_cache_store() local
2486 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_show() local
2500 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_block_dev_store() local
2532 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_reset_ring_store() local
2594 struct tcmu_dev *udev; in find_free_blocks() local
2657 struct tcmu_dev *udev, *tmp_dev; in check_timedout_devices() local