Home
last modified time | relevance | path

Searched refs:FMODE_CAN_WRITE (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/fs/autofs/
H A Dautofs_i.h214 if (!(pipe->f_mode & FMODE_CAN_WRITE)) in autofs_prepare_pipe()
/openbmc/linux/security/landlock/
H A Dsyscalls.c334 ruleset = get_ruleset_from_fd(ruleset_fd, FMODE_CAN_WRITE); in SYSCALL_DEFINE4()
/openbmc/linux/fs/
H A Dread_write.c506 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()
H A Dfile_table.c309 file->f_mode |= FMODE_CAN_WRITE; in alloc_file()
H A Dcoredump.c739 if (!(cprm.file->f_mode & FMODE_CAN_WRITE)) in do_coredump()
H A Dopen.c939 f->f_mode |= FMODE_CAN_WRITE; in do_dentry_open()
/openbmc/linux/drivers/usb/gadget/function/
H A Dstorage_common.c222 if (!(filp->f_mode & FMODE_CAN_WRITE)) in fsg_lun_open()
/openbmc/linux/kernel/
H A Dacct.c238 if (!(file->f_mode & FMODE_CAN_WRITE)) { in acct_on()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c792 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()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnandsim.c550 if (!(cfile->f_mode & FMODE_CAN_WRITE)) { in ns_alloc_device()
/openbmc/linux/drivers/tty/
H A Dtty_io.c2402 if (!(file->f_mode & FMODE_CAN_WRITE)) in tioccons()
/openbmc/linux/include/linux/
H A Dfs.h151 #define FMODE_CAN_WRITE ((__force fmode_t)0x40000) macro