Searched refs:sg_allow_access (Results 1 – 1 of 1) sorted by relevance
225 static int sg_allow_access(struct file *filp, unsigned char *cmd) in sg_allow_access() function751 if (read_only && sg_allow_access(file, cmnd)) { in sg_new_write()1069 if (sg_allow_access(filp, &opcode)) in sg_ioctl()