Home
last modified time | relevance | path

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

/openbmc/linux/scripts/coccinelle/api/
H A Dstream_open.cocci106 @ has_write @
275 @ fops_r depends on maybe_stream && !has_write @
/openbmc/linux/fs/kernfs/
H A Dfile.c647 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
656 has_write = ops->write || ops->mmap; in kernfs_fop_open()
662 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c4971 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() local
4984 if (has_write) in bpf_map_do_batch()
4990 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
5004 if (has_write) in bpf_map_do_batch()