Home
last modified time | relevance | path

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

/linux-6.1.9/fs/autofs/
Dautofs_i.h214 if (!(pipe->f_mode & FMODE_CAN_WRITE)) in autofs_prepare_pipe()
/linux-6.1.9/security/landlock/
Dsyscalls.c322 ruleset = get_ruleset_from_fd(ruleset_fd, FMODE_CAN_WRITE); in SYSCALL_DEFINE4()
/linux-6.1.9/fs/
Dfile_table.c245 file->f_mode |= FMODE_CAN_WRITE; in alloc_file()
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()
850 if (!(file->f_mode & FMODE_CAN_WRITE)) in do_iter_write()
879 if (!(file->f_mode & FMODE_CAN_WRITE)) in vfs_iocb_iter_write()
Dcoredump.c730 if (!(cprm.file->f_mode & FMODE_CAN_WRITE)) in do_coredump()
Dopen.c892 f->f_mode |= FMODE_CAN_WRITE; in do_dentry_open()
/linux-6.1.9/drivers/usb/gadget/function/
Dstorage_common.c221 if (!(filp->f_mode & FMODE_CAN_WRITE)) in fsg_lun_open()
/linux-6.1.9/kernel/
Dacct.c238 if (!(file->f_mode & FMODE_CAN_WRITE)) { in acct_on()
/linux-6.1.9/kernel/bpf/
Dsyscall.c679 mode &= ~FMODE_CAN_WRITE; in map_get_sys_perms()
1402 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_update_elem()
1456 if (!(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_delete_elem()
1800 !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in map_lookup_and_delete_elem()
4495 if (has_write && !(map_get_sys_perms(map, f) & FMODE_CAN_WRITE)) { in bpf_map_do_batch()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnandsim.c550 if (!(cfile->f_mode & FMODE_CAN_WRITE)) { in ns_alloc_device()
/linux-6.1.9/drivers/tty/
Dtty_io.c2397 if (!(file->f_mode & FMODE_CAN_WRITE)) in tioccons()
/linux-6.1.9/include/linux/
Dfs.h158 #define FMODE_CAN_WRITE ((__force fmode_t)0x40000) macro