Searched refs:FMODE_CAN_READ (Results 1 – 8 of 8) sorted by relevance
515 if (!(file->f_mode & FMODE_CAN_READ)) in __kernel_read()555 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_read()885 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_iocb_iter_read()913 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_iter_read()1008 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_readv()
303 file->f_mode |= FMODE_CAN_READ; in file_init_path()
497 ruleset = get_ruleset_from_fd(ruleset_fd, FMODE_CAN_READ); in SYSCALL_DEFINE2()
218 if (!(filp->f_mode & FMODE_CAN_READ)) { in fsg_lun_open()
747 if (!(file->f_mode & FMODE_CAN_READ)) in validate_mmap_request()
1539 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) in map_lookup_elem()1708 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) in map_get_next_key()1990 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ) || in map_lookup_and_delete_elem()5148 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()
545 if (!(cfile->f_mode & FMODE_CAN_READ)) { in ns_alloc_device()
159 #define FMODE_CAN_READ ((__force fmode_t)(1 << 17)) macro