| /linux/tools/include/uapi/asm-generic/ |
| H A D | fcntl.h | |
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 28 pub const O_APPEND: u32 = bindings::O_APPEND; constant
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_memcontrol.c | 114 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 D | cgroup_util.c | |
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | util.c | 49 fd = open(path, O_WRONLY | O_APPEND); in file_read_long()
|
| /linux/include/trace/misc/ |
| H A D | fs.h | 32 { O_APPEND, "O_APPEND" }, \
|
| /linux/security/tomoyo/ |
| H A D | tomoyo.c | 315 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 D | file.c | 39 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 D | file.h | 122 if ((flags & O_APPEND) && (perms & MAY_WRITE)) in aa_map_file_to_perms()
|
| /linux/tools/testing/selftests/user_events/ |
| H A D | dyn_test.c | 85 int fd = open(dyn_file, O_RDWR | O_APPEND); in parse_dyn()
|
| /linux/fs/xfs/ |
| H A D | xfs_exchrange.c | 787 if ((fxr->file1->f_flags & O_APPEND) || in xfs_exchange_range() 788 (fxr->file2->f_flags & O_APPEND)) in xfs_exchange_range()
|
| H A D | xfs_ioctl.c | 992 (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 D | xfs_handle.c | 261 if ((!(permflag & O_APPEND) || (permflag & O_TRUNC)) && in xfs_open_by_handle()
|
| /linux/fs/nfs/ |
| H A D | file.c | 51 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 D | file.c | 249 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
|
| /linux/fs/ |
| H A D | fcntl.c | 37 #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 D | splice.c | 1154 if (unlikely(out->f_flags & O_APPEND)) 1293 if (unlikely(out->f_flags & O_APPEND)) in wait_for_space()
|
| /linux/tools/bootconfig/ |
| H A D | main.c | 482 fd = open(path, O_RDWR | O_APPEND); in apply_xbc()
|
| /linux/tools/include/nolibc/ |
| H A D | stdio.h | 72 flags = O_WRONLY | O_CREAT | O_APPEND; in fopen()
|
| /linux/tools/testing/selftests/cgroup/lib/ |
| H A D | cgroup_util.c | 71 fd = open(path, O_WRONLY | O_APPEND); in cg_name_indexed()
|
| /linux/fs/ocfs2/dlmfs/ |
| H A D | dlmfs.c | 135 file->f_flags &= ~O_APPEND; in dlmfs_file_open()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 186 f |= O_APPEND; in os_open_file()
|
| /linux/kernel/trace/ |
| H A D | trace_syscalls.c | 169 { 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 D | pidfd_file_handle_test.c | 402 { O_APPEND, "O_APPEND" }, in TEST_F()
|
| /linux/security/integrity/ima/ |
| H A D | ima_crypto.c | 266 int flags = file->f_flags & ~(O_WRONLY | O_APPEND | in ima_alloc_pages()
|