Home
last modified time | relevance | path

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

/linux-5.19.10/scripts/coccinelle/api/
Dstream_open.cocci106 @ has_write @
275 @ fops_r depends on maybe_stream && !has_write @
/linux-5.19.10/fs/kernfs/
Dfile.c596 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
605 has_write = ops->write || ops->mmap; in kernfs_fop_open()
611 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/linux-5.19.10/kernel/bpf/
Dsyscall.c4432 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() local
4445 if (has_write) in bpf_map_do_batch()
4451 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
4465 if (has_write) in bpf_map_do_batch()