Home
last modified time | relevance | path

Searched refs:has_read (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/kernfs/
H A Dfile.c603 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
611 has_read = ops->seq_show || ops->read || ops->mmap; in kernfs_fop_open()
622 (!(inode->i_mode & S_IRUGO) || !has_read)) in kernfs_fop_open()
/kernel/linux/linux-6.6/fs/kernfs/
H A Dfile.c645 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
653 has_read = ops->seq_show || ops->read || ops->mmap; in kernfs_fop_open()
664 (!(inode->i_mode & S_IRUGO) || !has_read)) in kernfs_fop_open()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dsyscall.c4012 bool has_read = cmd == BPF_MAP_LOOKUP_BATCH || in bpf_map_do_batch() local
4029 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dsyscall.c4893 bool has_read = cmd == BPF_MAP_LOOKUP_BATCH || in bpf_map_do_batch() local
4910 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()

Completed in 19 milliseconds