Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/host/
Dioctl.c16 static bool nvme_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_cmd_allowed() function
372 if (!nvme_cmd_allowed(ns, &c, 0, open_for_write)) in nvme_user_cmd()
419 if (!nvme_cmd_allowed(ns, &c, flags, open_for_write)) in nvme_user_cmd64()
595 if (!nvme_cmd_allowed(ns, &c, 0, ioucmd->file->f_mode & FMODE_WRITE)) in nvme_uring_cmd_io()