Home
last modified time | relevance | path

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

/linux-6.3-rc2/scripts/coccinelle/api/
A Dstream_open.cocci106 @ has_write @
275 @ fops_r depends on maybe_stream && !has_write @
/linux-6.3-rc2/fs/kernfs/
A Dfile.c645 bool has_read, has_write, has_mmap; in kernfs_fop_open() local
654 has_write = ops->write || ops->mmap; in kernfs_fop_open()
660 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c4505 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() local
4518 if (has_write) in bpf_map_do_batch()
4524 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
4538 if (has_write) in bpf_map_do_batch()

Completed in 12 milliseconds