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