Searched refs:has_write (Results 1 - 2 of 2) sorted by relevance

/linux-master/fs/kernfs/
H A Dfile.c598 bool has_read, has_write, has_mmap; local
607 has_write = ops->write || ops->mmap;
613 (!(inode->i_mode & S_IWUGO) || !has_write))
/linux-master/kernel/bpf/
H A Dsyscall.c5145 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; local
5158 if (has_write)
5164 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) {
5178 if (has_write) {

Completed in 121 milliseconds