Searched refs:may_open (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | nfsctl.c | 41 error = may_open(&nd.path, MAY_READ|MAY_WRITE, in do_open() 44 error = may_open(&nd.path, MAY_WRITE, FMODE_WRITE); in do_open()
|
D | namei.c | 1480 int may_open(struct path *path, int acc_mode, int flag) in may_open() function 1587 return may_open(&nd->path, 0, flag & ~O_TRUNC); in __open_namei_create() 1773 error = may_open(&nd.path, acc_mode, flag); in do_filp_open()
|