Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dstream_open.cocci106 @ has_write @
275 @ fops_r depends on maybe_stream && !has_write @
/kernel/linux/linux-5.10/fs/kernfs/
Dfile.c603 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
612 has_write = ops->write || ops->mmap; in kernfs_fop_open()
618 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch128 - bool has_write = cmd != BPF_MAP_LOOKUP_BATCH;
136 - if (has_write)
146 - if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) {
159 - if (has_write)
/kernel/linux/linux-5.10/kernel/bpf/
Dsyscall.c4001 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() local
4014 if (has_write) in bpf_map_do_batch()
4020 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
4034 if (has_write) in bpf_map_do_batch()