Searched refs:FMODE_CAN_WRITE (Results 1 – 12 of 12) sorted by relevance
214 if (!(pipe->f_mode & FMODE_CAN_WRITE)) in autofs_prepare_pipe()
334 ruleset = get_ruleset_from_fd(ruleset_fd, FMODE_CAN_WRITE); in SYSCALL_DEFINE4()
506 if (!(file->f_mode & FMODE_CAN_WRITE)) in __kernel_write_iter()570 if (!(file->f_mode & FMODE_CAN_WRITE)) in vfs_write()849 if (!(file->f_mode & FMODE_CAN_WRITE)) in do_iter_write()878 if (!(file->f_mode & FMODE_CAN_WRITE)) in vfs_iocb_iter_write()
309 file->f_mode |= FMODE_CAN_WRITE; in alloc_file()
739 if (!(cprm.file->f_mode & FMODE_CAN_WRITE)) in do_coredump()
939 f->f_mode |= FMODE_CAN_WRITE; in do_dentry_open()
222 if (!(filp->f_mode & FMODE_CAN_WRITE)) in fsg_lun_open()
238 if (!(file->f_mode & FMODE_CAN_WRITE)) { in acct_on()
792 mode &= ~FMODE_CAN_WRITE; in map_get_sys_perms()1528 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_update_elem()1582 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_delete_elem()1928 !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_lookup_and_delete_elem()2017 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_freeze()4977 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
550 if (!(cfile->f_mode & FMODE_CAN_WRITE)) { in ns_alloc_device()
2402 if (!(file->f_mode & FMODE_CAN_WRITE)) in tioccons()
151 #define FMODE_CAN_WRITE ((__force fmode_t)0x40000) macro