Home
last modified time | relevance | path

Searched refs:FMODE_CAN_READ (Results 1 – 9 of 9) sorted by relevance

/linux/fs/
H A Dread_write.c511 if (!(file->f_mode & FMODE_CAN_READ)) in __kernel_read()
551 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_read()
871 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_iocb_iter_read()
899 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_iter_read()
994 if (!(file->f_mode & FMODE_CAN_READ)) in vfs_readv()
H A Dfile_table.c322 file->f_mode |= FMODE_CAN_READ; in file_init_path()
H A Dopen.c952 f->f_mode |= FMODE_CAN_READ; in do_dentry_open()
/linux/security/landlock/
H A Dsyscalls.c480 ruleset = get_ruleset_from_fd(ruleset_fd, FMODE_CAN_READ); in SYSCALL_DEFINE2()
/linux/drivers/usb/gadget/function/
H A Dstorage_common.c218 if (!(filp->f_mode & FMODE_CAN_READ)) { in fsg_lun_open()
/linux/mm/
H A Dnommu.c747 if (!(file->f_mode & FMODE_CAN_READ)) in validate_mmap_request()
/linux/kernel/bpf/
H A Dsyscall.c1640 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) in map_lookup_elem()
1809 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ)) in map_get_next_key()
2091 if (!(map_get_sys_perms(map, f) & FMODE_CAN_READ) || in map_lookup_and_delete_elem()
5284 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()
/linux/drivers/mtd/nand/raw/
H A Dnandsim.c545 if (!(cfile->f_mode & FMODE_CAN_READ)) { in ns_alloc_device()
/linux/include/linux/
H A Dfs.h161 #define FMODE_CAN_READ ((__force fmode_t)(1 << 17)) macro