Searched refs:acc_mode (Results 1 – 1 of 1) sorted by relevance
1480 int may_open(struct path *path, int acc_mode, int flag) in may_open() argument1492 if (S_ISDIR(inode->i_mode) && (acc_mode & MAY_WRITE)) in may_open()1509 error = inode_permission(inode, acc_mode); in may_open()1635 int acc_mode, error; in do_filp_open() local1642 acc_mode = MAY_OPEN | ACC_MODE(flag); in do_filp_open()1646 acc_mode |= MAY_WRITE; in do_filp_open()1651 acc_mode |= MAY_APPEND; in do_filp_open()1773 error = may_open(&nd.path, acc_mode, flag); in do_filp_open()