Searched refs:has_write (Results 1 – 3 of 3) sorted by relevance
106 @ has_write @275 @ fops_r depends on maybe_stream && !has_write @
596 bool has_read, has_write, has_mmap; in kernfs_fop_open() local605 has_write = ops->write || ops->mmap; in kernfs_fop_open()611 (!(inode->i_mode & S_IWUGO) || !has_write)) in kernfs_fop_open()
4432 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch() local4445 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()