Searched refs:acc_mode (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/bios/ |
A D | bios_parser_helper.c | 60 uint32_t acc_mode; in bios_is_accelerated_mode() local 61 REG_GET(BIOS_SCRATCH_6, S6_ACC_MODE, &acc_mode); in bios_is_accelerated_mode() 62 return (acc_mode == 1); in bios_is_accelerated_mode()
|
/linux/fs/ |
A D | open.c | 1025 int acc_mode = ACC_MODE(flags); in build_open_flags() local 1071 if (!(acc_mode & MAY_WRITE)) in build_open_flags() 1078 acc_mode = 0; in build_open_flags() 1094 acc_mode |= MAY_WRITE; in build_open_flags() 1099 acc_mode |= MAY_APPEND; in build_open_flags() 1101 op->acc_mode = acc_mode; in build_open_flags()
|
A D | internal.h | 118 int acc_mode; member
|
A D | namei.c | 3016 int acc_mode, int flag) in may_open() argument 3029 if (acc_mode & MAY_WRITE) in may_open() 3031 if (acc_mode & MAY_EXEC) in may_open() 3041 if (acc_mode & MAY_EXEC) in may_open() 3046 if ((acc_mode & MAY_EXEC) && path_noexec(path)) in may_open() 3051 error = inode_permission(mnt_userns, inode, MAY_OPEN | acc_mode); in may_open() 3388 int acc_mode; in do_open() local 3413 acc_mode = op->acc_mode; in do_open() 3417 acc_mode = 0; in do_open() 3424 error = may_open(mnt_userns, &nd->path, acc_mode, open_flag); in do_open() [all …]
|
A D | exec.c | 130 .acc_mode = MAY_READ | MAY_EXEC, in SYSCALL_DEFINE1() 900 .acc_mode = MAY_EXEC, in do_open_execat()
|
/linux/fs/overlayfs/ |
A D | util.c | 469 int err, acc_mode; in ovl_path_open() local 476 acc_mode = MAY_READ; in ovl_path_open() 479 acc_mode = MAY_WRITE; in ovl_path_open() 485 err = inode_permission(&init_user_ns, inode, acc_mode | MAY_OPEN); in ovl_path_open()
|
A D | file.c | 47 int acc_mode = ACC_MODE(flags); in ovl_open_realfile() local 51 acc_mode |= MAY_APPEND; in ovl_open_realfile() 54 err = inode_permission(&init_user_ns, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile()
|
/linux/security/tomoyo/ |
A D | file.c | 756 const u8 acc_mode = ACC_MODE(flag); in tomoyo_check_open_permission() local 768 if (acc_mode && in tomoyo_check_open_permission() 776 if (acc_mode & MAY_READ) in tomoyo_check_open_permission() 779 if (!error && (acc_mode & MAY_WRITE)) in tomoyo_check_open_permission()
|
/linux/ipc/ |
A D | shm.c | 1516 int acc_mode; in do_shmat() local 1551 acc_mode = S_IRUGO; in do_shmat() 1555 acc_mode = S_IRUGO | S_IWUGO; in do_shmat() 1560 acc_mode |= S_IXUGO; in do_shmat() 1576 if (ipcperms(ns, &shp->shm_perm, acc_mode)) in do_shmat()
|
/linux/fs/nfs/ |
A D | nfs4proc.c | 3037 fmode_t acc_mode = _nfs4_ctx_to_accessmode(ctx); in _nfs4_open_and_get_state() local 3091 acc_mode, flags); in _nfs4_open_and_get_state()
|
Completed in 56 milliseconds