Home
last modified time | relevance | path

Searched refs:acc_mode (Results 1 – 5 of 5) sorted by relevance

/fs/
Dopen.c973 int acc_mode = ACC_MODE(flags); in build_open_flags() local
1001 if (!(acc_mode & MAY_WRITE)) in build_open_flags()
1009 acc_mode = 0; in build_open_flags()
1016 acc_mode |= MAY_WRITE; in build_open_flags()
1021 acc_mode |= MAY_APPEND; in build_open_flags()
1023 op->acc_mode = acc_mode; in build_open_flags()
Dinternal.h117 int acc_mode; member
Dnamei.c3053 static int may_open(const struct path *path, int acc_mode, int flag) in may_open() argument
3067 if (acc_mode & MAY_WRITE) in may_open()
3081 error = inode_permission2(mnt, inode, MAY_OPEN | acc_mode); in may_open()
3189 int acc_mode = op->acc_mode; in atomic_open() local
3193 acc_mode = 0; in atomic_open()
3195 error = may_open(&file->f_path, acc_mode, open_flag); in atomic_open()
3374 int acc_mode = op->acc_mode; in do_last() local
3456 acc_mode = 0; in do_last()
3524 error = may_open(&nd->path, acc_mode, open_flag); in do_last()
3532 error = ima_file_check(file, op->acc_mode); in do_last()
Dexec.c129 .acc_mode = MAY_READ | MAY_EXEC, in SYSCALL_DEFINE1()
845 .acc_mode = MAY_EXEC, in do_open_execat()
/fs/nfs/
Dnfs4proc.c2964 fmode_t acc_mode = _nfs4_ctx_to_accessmode(ctx); in _nfs4_open_and_get_state() local
3004 acc_mode, flags); in _nfs4_open_and_get_state()