Home
last modified time | relevance | path

Searched refs:O_APPEND (Results 1 – 25 of 45) sorted by relevance

12

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/rust/kernel/fs/
H A Dfile.rs28 pub const O_APPEND: u32 = bindings::O_APPEND; constant
/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c114 fd = open(path, O_WRONLY | O_APPEND); in set_oom_adj_score()
298 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
319 peak_fd2 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
324 peak_fd3 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
353 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
1058 O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_swap_max_peak()
1079 mem_peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_swap_max_peak()
H A Dcgroup_util.c
/linux/tools/testing/selftests/sched_ext/
H A Dutil.c49 fd = open(path, O_WRONLY | O_APPEND); in file_read_long()
/linux/include/trace/misc/
H A Dfs.h32 { O_APPEND, "O_APPEND" }, \
/linux/security/tomoyo/
H A Dtomoyo.c315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl()
318 O_WRONLY | (arg & O_APPEND)); in tomoyo_file_fcntl()
/linux/fs/overlayfs/
H A Dfile.c39 if (flags & O_APPEND) in ovl_open_realfile()
63 #define OVL_SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT)
72 if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) in ovl_change_flags()
/linux/security/apparmor/include/
H A Dfile.h122 if ((flags & O_APPEND) && (perms & MAY_WRITE)) in aa_map_file_to_perms()
/linux/tools/testing/selftests/user_events/
H A Ddyn_test.c85 int fd = open(dyn_file, O_RDWR | O_APPEND); in parse_dyn()
/linux/fs/xfs/
H A Dxfs_exchrange.c787 if ((fxr->file1->f_flags & O_APPEND) || in xfs_exchange_range()
788 (fxr->file2->f_flags & O_APPEND)) in xfs_exchange_range()
H A Dxfs_ioctl.c992 (fd_file(f)->f_flags & O_APPEND)) in xfs_ioc_swapext()
1001 (fd_file(tmp)->f_flags & O_APPEND)) in xfs_ioc_swapext()
H A Dxfs_handle.c261 if ((!(permflag & O_APPEND) || (permflag & O_TRUNC)) && in xfs_open_by_handle()
/linux/fs/nfs/
H A Dfile.c51 if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT)) in nfs_check_flags()
767 * O_APPEND implies that we must revalidate the file length. in nfs_file_write()
/linux/fs/coda/
H A Dfile.c249 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
/linux/fs/
H A Dfcntl.c37 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
48 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl()
H A Dsplice.c1154 if (unlikely(out->f_flags & O_APPEND))
1293 if (unlikely(out->f_flags & O_APPEND)) in wait_for_space()
/linux/tools/bootconfig/
H A Dmain.c482 fd = open(path, O_RDWR | O_APPEND); in apply_xbc()
/linux/tools/include/nolibc/
H A Dstdio.h72 flags = O_WRONLY | O_CREAT | O_APPEND; in fopen()
/linux/tools/testing/selftests/cgroup/lib/
H A Dcgroup_util.c71 fd = open(path, O_WRONLY | O_APPEND); in cg_name_indexed()
/linux/fs/ocfs2/dlmfs/
H A Ddlmfs.c135 file->f_flags &= ~O_APPEND; in dlmfs_file_open()
/linux/arch/um/os-Linux/
H A Dfile.c186 f |= O_APPEND; in os_open_file()
/linux/kernel/trace/
H A Dtrace_syscalls.c169 { O_APPEND, "O_APPEND" }, in sys_enter_openat_print()
417 "{ 0x%x, \"O_APPEND\" }, ", O_APPEND); in sys_enter_openat_print_fmt()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c402 { O_APPEND, "O_APPEND" }, in TEST_F()
/linux/security/integrity/ima/
H A Dima_crypto.c266 int flags = file->f_flags & ~(O_WRONLY | O_APPEND | in ima_alloc_pages()

12