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