Searched refs:has_write_perm (Results 1 – 2 of 2) sorted by relevance
/block/ |
D | bsg.c | 177 fmode_t has_write_perm) in blk_fill_sgv4_hdr_rq() argument 190 if (blk_verify_command(rq->cmd, has_write_perm)) in blk_fill_sgv4_hdr_rq() 244 bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr, fmode_t has_write_perm, in bsg_map_hdr() argument 277 ret = blk_fill_sgv4_hdr_rq(q, rq, hdr, bd, has_write_perm); in bsg_map_hdr() 619 fmode_t has_write_perm) in __bsg_write() argument 650 rq = bsg_map_hdr(bd, &bc->hdr, has_write_perm, bc->sense); in __bsg_write()
|
D | scsi_ioctl.c | 210 int blk_verify_command(unsigned char *cmd, fmode_t has_write_perm) in blk_verify_command() argument 223 if (test_bit(cmd[0], filter->write_ok) && has_write_perm) in blk_verify_command()
|