Home
last modified time | relevance | path

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

/drivers/nvme/host/
Dioctl.c17 unsigned int flags, bool open_for_write) in nvme_cmd_allowed() argument
80 !open_for_write) in nvme_cmd_allowed()
344 bool open_for_write) in nvme_user_cmd() argument
372 if (!nvme_cmd_allowed(ns, &c, 0, open_for_write)) in nvme_user_cmd()
392 bool open_for_write) in nvme_user_cmd64() argument
419 if (!nvme_cmd_allowed(ns, &c, flags, open_for_write)) in nvme_user_cmd64()
654 void __user *argp, bool open_for_write) in nvme_ctrl_ioctl() argument
658 return nvme_user_cmd(ctrl, NULL, argp, 0, open_for_write); in nvme_ctrl_ioctl()
660 return nvme_user_cmd64(ctrl, NULL, argp, 0, open_for_write); in nvme_ctrl_ioctl()
685 void __user *argp, unsigned int flags, bool open_for_write) in nvme_ns_ioctl() argument
[all …]
/drivers/scsi/
Dscsi_ioctl.c251 bool scsi_cmd_allowed(unsigned char *cmd, bool open_for_write) in scsi_cmd_allowed() argument
341 return open_for_write; in scsi_cmd_allowed()
349 struct sg_io_hdr *hdr, bool open_for_write) in scsi_fill_sghdr_rq() argument
357 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in scsi_fill_sghdr_rq()
411 bool open_for_write) in sg_io() argument
452 ret = scsi_fill_sghdr_rq(sdev, rq, hdr, open_for_write); in sg_io()
504 static int sg_scsi_ioctl(struct request_queue *q, bool open_for_write, in sg_scsi_ioctl() argument
557 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in sg_scsi_ioctl()
779 static int scsi_cdrom_send_packet(struct scsi_device *sdev, bool open_for_write, in scsi_cdrom_send_packet() argument
820 err = sg_io(sdev, &hdr, open_for_write); in scsi_cdrom_send_packet()
[all …]
Dscsi_bsg.c13 bool open_for_write, unsigned int timeout) in scsi_bsg_sg_io_fn() argument
45 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in scsi_bsg_sg_io_fn()
/drivers/char/xillybus/
Dxillyusb.c150 unsigned open_for_write:1; member
1287 ((filp->f_mode & FMODE_WRITE) && chan->open_for_write)) in xillyusb_open()
1294 chan->open_for_write = 1; in xillyusb_open()
1417 chan->open_for_write = 0; in xillyusb_open()
1768 chan->open_for_write = 0; in xillyusb_release()