| /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/sched_ext/ |
| H A D | util.c | 38 fd = open(path, O_WRONLY | O_APPEND); in write_text()
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_memcontrol.c | 111 fd = open(path, O_WRONLY | O_APPEND); in test_memcg_subtree_control() 295 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 316 peak_fd2 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 321 peak_fd3 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 350 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 1055 O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_swap_max_peak() 1076 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/include/trace/misc/ |
| H A D | fs.h | 32 { O_APPEND, "O_APPEND" }, \
|
| /linux/security/apparmor/include/ |
| H A D | file.h | 122 if ((flags & O_APPEND) && (perms & MAY_WRITE)) in aa_map_file_to_perms()
|
| /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()
|
| H A D | file.c | 785 error = tomoyo_path_permission(&r, (flag & O_APPEND) ? in tomoyo_check_open_permission()
|
| /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/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/coda/ |
| H A D | file.c | 248 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
|
| /linux/tools/bootconfig/ |
| H A D | main.c | 464 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 | 48 fd = open(path, O_WRONLY | O_APPEND); in write_text()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 186 f |= O_APPEND; in os_open_file()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_file_handle_test.c | 402 { O_APPEND, "O_APPEND" }, in TEST_F()
|
| /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/security/integrity/ima/ |
| H A D | ima_crypto.c | 266 int flags = file->f_flags & ~(O_WRONLY | O_APPEND | in ima_alloc_pages()
|
| /linux/fs/ |
| H A D | splice.c | 1199 if (unlikely(out->f_flags & O_APPEND)) in do_splice_direct_actor() 1338 if (unlikely(out->f_flags & O_APPEND)) in do_splice()
|
| /linux/tools/perf/util/ |
| H A D | probe-file.c | 119 ret = open(buf, O_RDWR | O_APPEND, 0); in open_trace_file()
|
| /linux/sound/core/ |
| H A D | rawmidi.c | 443 if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) in snd_rawmidi_open() 473 if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ in snd_rawmidi_open()
|
| H A D | pcm.c | 907 if (file->f_flags & O_APPEND) { in snd_pcm_attach_substream()
|
| /linux/tools/perf/ |
| H A D | builtin-ftrace.c | 145 flags |= O_APPEND; in __write_tracing_file()
|
| /linux/security/selinux/ |
| H A D | hooks.c | 2039 if (file->f_flags & O_APPEND) in file_to_av() 3808 if ((file->f_flags & O_APPEND) && (mask & MAY_WRITE)) in selinux_revalidate_file_permission() 4187 if ((file->f_flags & O_APPEND) && !(arg & O_APPEND)) { in selinux_file_fcntl()
|