Searched refs:ublk_thread (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/ublk/ |
| H A D | kublk.h | 53 struct ublk_thread; 166 void (*pre_fetch_io)(struct ublk_thread *t, struct ublk_queue *q, 168 int (*queue_io)(struct ublk_thread *, struct ublk_queue *, int tag); 169 void (*tgt_io_done)(struct ublk_thread *, struct ublk_queue *, 181 unsigned short (*buf_index)(const struct ublk_thread *t, 242 struct ublk_thread { struct 295 extern int ublk_queue_io_cmd(struct ublk_thread *t, struct ublk_io *io); argument 313 static inline int ublk_thread_batch_io(const struct ublk_thread *t) in ublk_thread_batch_io() 404 static inline int ublk_io_alloc_sqes(struct ublk_thread *t, in ublk_io_alloc_sqes() 502 const struct ublk_thread *t, const struct ublk_queue *q, [all …]
|
| H A D | batch.c | 8 static inline void *ublk_get_commit_buf(struct ublk_thread *t, in ublk_get_commit_buf() 25 static inline unsigned short ublk_alloc_commit_buf(struct ublk_thread *t) in ublk_alloc_commit_buf() 38 static inline void ublk_free_commit_buf(struct ublk_thread *t, in ublk_free_commit_buf() 59 static unsigned ublk_commit_buf_size(struct ublk_thread *t) in ublk_commit_buf_size() 69 static void free_batch_commit_buf(struct ublk_thread *t) in free_batch_commit_buf() 82 static int alloc_batch_commit_buf(struct ublk_thread *t) in alloc_batch_commit_buf() 117 static unsigned int ublk_thread_nr_queues(const struct ublk_thread *t) in ublk_thread_nr_queues() 128 void ublk_batch_prepare(struct ublk_thread *t) in ublk_batch_prepare() 164 static void free_batch_fetch_buf(struct ublk_thread *t) in free_batch_fetch_buf() 176 static int alloc_batch_fetch_buf(struct ublk_thread *t) in alloc_batch_fetch_buf() [all …]
|
| H A D | null.c | 59 static int null_queue_zc_io(struct ublk_thread *t, struct ublk_queue *q, in null_queue_zc_io() 83 static int null_queue_auto_zc_io(struct ublk_thread *t, struct ublk_queue *q, in null_queue_auto_zc_io() 94 static void ublk_null_io_done(struct ublk_thread *t, struct ublk_queue *q, in ublk_null_io_done() 117 static int ublk_null_queue_io(struct ublk_thread *t, struct ublk_queue *q, in ublk_null_queue_io() 141 static unsigned short ublk_null_buf_index(const struct ublk_thread *t, in ublk_null_buf_index()
|
| H A D | file_backed.c | 16 static int loop_queue_flush_io(struct ublk_thread *t, struct ublk_queue *q, in loop_queue_flush_io() 36 static int loop_queue_shmem_zc_io(struct ublk_thread *t, struct ublk_queue *q, in loop_queue_tgt_rw_io() 64 static int loop_queue_tgt_rw_io(struct ublk_thread *t, struct ublk_queue *q, in loop_queue_tgt_rw_io() 131 static int loop_queue_tgt_io(struct ublk_thread *t, struct ublk_queue *q, int tag) in ublk_loop_io_done() 159 static int ublk_loop_queue_io(struct ublk_thread *t, struct ublk_queue *q, in ublk_loop_memset_file() 168 static void ublk_loop_io_done(struct ublk_thread *t, struct ublk_queue *q, in ublk_loop_memset_file()
|
| H A D | fault_inject.c | 57 static void ublk_fault_inject_pre_fetch_io(struct ublk_thread *t, in ublk_fault_inject_queue_io() 82 static int ublk_fault_inject_queue_io(struct ublk_thread *t, in ublk_fault_inject_cmd_line() 101 static void ublk_fault_inject_tgt_io_done(struct ublk_thread *t,
|
| H A D | stripe.c | 126 static int stripe_queue_tgt_rw_io(struct ublk_thread *t, struct ublk_queue *q, in stripe_queue_tgt_rw_io() 181 static int handle_flush(struct ublk_thread *t, struct ublk_queue *q, in handle_flush() 197 static int stripe_queue_tgt_io(struct ublk_thread *t, struct ublk_queue *q, in stripe_queue_tgt_io() 225 static int ublk_stripe_queue_io(struct ublk_thread *t, struct ublk_queue *q, in ublk_stripe_queue_io() 234 static void ublk_stripe_io_done(struct ublk_thread *t, struct ublk_queue *q, in ublk_stripe_io_done()
|
| H A D | kublk.c | 493 static void ublk_thread_deinit(struct ublk_thread *t) in ublk_thread_deinit() 576 static int ublk_thread_init(struct ublk_thread *t, unsigned long long extra_flags) in ublk_thread_init() 698 static void ublk_set_auto_buf_reg(const struct ublk_thread *t, in ublk_set_auto_buf_reg() 762 int ublk_queue_io_cmd(struct ublk_thread *t, struct ublk_io *io) in ublk_queue_io_cmd() 839 static void ublk_submit_fetch_commands(struct ublk_thread *t) in ublk_submit_fetch_commands() 884 static int ublk_thread_is_idle(struct ublk_thread *t) in ublk_thread_is_idle() 889 static int ublk_thread_is_done(struct ublk_thread *t) in ublk_thread_is_done() 894 static inline void ublksrv_handle_tgt_cqe(struct ublk_thread *t, in ublksrv_handle_tgt_cqe() 908 static void ublk_handle_uring_cmd(struct ublk_thread *t, in ublk_handle_uring_cmd() 948 static void ublk_handle_cqe(struct ublk_thread *t, in ublk_handle_cqe() [all …]
|