Home
last modified time | relevance | path

Searched refs:ioucmd (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/io_uring/
H A During_cmd.c18 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 Drw.c1055 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 Dioctl.c169 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 Dnvme.h912 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 Dio_uring.h46 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 Dsecurity.h2119 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 Dlsm_hook_defs.h422 LSM_HOOK(int, 0, uring_cmd, struct io_uring_cmd *ioucmd)
H A Dfs.h1954 int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);
/openbmc/linux/drivers/char/
H A Dmem.c477 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 Dublk_drv.c1043 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 Dsecurity.c5390 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 Dsmack_lsm.c4920 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 Dhooks.c6976 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()