Home
last modified time | relevance | path

Searched refs:has_read (Results 1 – 3 of 3) sorted by relevance

/linux/scripts/coccinelle/api/
H A Dstream_open.cocci90 @ has_read @
322 @ fops_w depends on maybe_stream && !has_read @
/linux/fs/kernfs/
H A Dfile.c598 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
606 has_read = ops->seq_show || ops->read || ops->mmap; in kernfs_fop_open()
617 (!(inode->i_mode & S_IRUGO) || !has_read)) in kernfs_fop_open()
/linux/kernel/bpf/
H A Dsyscall.c5268 bool has_read = cmd == BPF_MAP_LOOKUP_BATCH || in bpf_map_do_batch() local
5284 if (has_read && !(map_get_sys_perms(map, f) & FMODE_CAN_READ)) { in bpf_map_do_batch()