/openbmc/linux/io_uring/ |
H A D | uring_cmd.c | 18 struct io_uring_cmd *ioucmd = io_kiocb_to_cmd(req, struct io_uring_cmd); in io_uring_cmd_work() local 21 ioucmd->task_work_cb(ioucmd, issue_flags); in io_uring_cmd_work() 24 void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd, in __io_uring_cmd_do_in_task() argument 28 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); in __io_uring_cmd_do_in_task() 30 ioucmd->task_work_cb = task_work_cb; in __io_uring_cmd_do_in_task() 36 void io_uring_cmd_do_in_task_lazy(struct io_uring_cmd *ioucmd, in io_uring_cmd_do_in_task_lazy() argument 39 __io_uring_cmd_do_in_task(ioucmd, task_work_cb, IOU_F_TWQ_LAZY_WAKE); in io_uring_cmd_do_in_task_lazy() 54 void io_uring_cmd_done(struct io_uring_cmd *ioucmd, ssize_t ret, ssize_t res2, in io_uring_cmd_done() argument 57 struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); in io_uring_cmd_done() 79 struct io_uring_cmd *ioucmd = io_kiocb_to_cmd(req, struct io_uring_cmd); in io_uring_cmd_prep_async() local [all …]
|
H A D | rw.c | 1055 struct io_uring_cmd *ioucmd; in io_do_iopoll() local 1057 ioucmd = io_kiocb_to_cmd(req, struct io_uring_cmd); in io_do_iopoll() 1058 ret = file->f_op->uring_cmd_iopoll(ioucmd, &iob, in io_do_iopoll()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | ioctl.c | 169 u32 meta_seed, void **metap, struct io_uring_cmd *ioucmd, in nvme_map_user_request() argument 184 if (ioucmd && (ioucmd->flags & IORING_URING_CMD_FIXED)) { in nvme_map_user_request() 191 rq_data_dir(req), &iter, ioucmd); in nvme_map_user_request() 472 struct io_uring_cmd *ioucmd) in nvme_uring_cmd_pdu() argument 474 return (struct nvme_uring_cmd_pdu *)&ioucmd->pdu; in nvme_uring_cmd_pdu() 477 static void nvme_uring_task_meta_cb(struct io_uring_cmd *ioucmd, in nvme_uring_task_meta_cb() argument 480 struct nvme_uring_cmd_pdu *pdu = nvme_uring_cmd_pdu(ioucmd); in nvme_uring_task_meta_cb() 499 io_uring_cmd_done(ioucmd, status, result, issue_flags); in nvme_uring_task_meta_cb() 502 static void nvme_uring_task_cb(struct io_uring_cmd *ioucmd, in nvme_uring_task_cb() argument 505 struct nvme_uring_cmd_pdu *pdu = nvme_uring_cmd_pdu(ioucmd); in nvme_uring_task_cb() [all …]
|
H A D | nvme.h | 912 int nvme_ns_chr_uring_cmd_iopoll(struct io_uring_cmd *ioucmd, 914 int nvme_ns_chr_uring_cmd(struct io_uring_cmd *ioucmd, 916 int nvme_ns_head_chr_uring_cmd(struct io_uring_cmd *ioucmd, 919 int nvme_dev_uring_cmd(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
|
/openbmc/linux/include/linux/ |
H A D | io_uring.h | 46 struct iov_iter *iter, void *ioucmd); 53 void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd, 57 void io_uring_cmd_do_in_task_lazy(struct io_uring_cmd *ioucmd, 60 static inline void io_uring_cmd_complete_in_task(struct io_uring_cmd *ioucmd, in io_uring_cmd_complete_in_task() argument 63 __io_uring_cmd_do_in_task(ioucmd, task_work_cb, 0); in io_uring_cmd_complete_in_task() 85 struct iov_iter *iter, void *ioucmd) in io_uring_cmd_import_fixed() argument 93 static inline void io_uring_cmd_complete_in_task(struct io_uring_cmd *ioucmd, in io_uring_cmd_complete_in_task() argument 97 static inline void io_uring_cmd_do_in_task_lazy(struct io_uring_cmd *ioucmd, in io_uring_cmd_do_in_task_lazy() argument
|
H A D | security.h | 2119 extern int security_uring_cmd(struct io_uring_cmd *ioucmd); 2129 static inline int security_uring_cmd(struct io_uring_cmd *ioucmd) in security_uring_cmd() argument
|
H A D | lsm_hook_defs.h | 422 LSM_HOOK(int, 0, uring_cmd, struct io_uring_cmd *ioucmd)
|
H A D | fs.h | 1954 int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
|
/openbmc/linux/drivers/char/ |
H A D | mem.c | 477 static int uring_cmd_null(struct io_uring_cmd *ioucmd, unsigned int issue_flags) in uring_cmd_null() argument
|
/openbmc/linux/drivers/block/ |
H A D | ublk_drv.c | 1043 struct io_uring_cmd *ioucmd) in ublk_get_uring_cmd_pdu() argument 1045 return (struct ublk_uring_cmd_pdu *)&ioucmd->pdu; in ublk_get_uring_cmd_pdu()
|
/openbmc/linux/security/ |
H A D | security.c | 5390 int security_uring_cmd(struct io_uring_cmd *ioucmd) in security_uring_cmd() argument 5392 return call_int_hook(uring_cmd, 0, ioucmd); in security_uring_cmd()
|
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | 4920 static int smack_uring_cmd(struct io_uring_cmd *ioucmd) in smack_uring_cmd() argument 4922 struct file *file = ioucmd->file; in smack_uring_cmd()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 6976 static int selinux_uring_cmd(struct io_uring_cmd *ioucmd) in selinux_uring_cmd() argument 6978 struct file *file = ioucmd->file; in selinux_uring_cmd()
|