Home
last modified time | relevance | path

Searched refs:O_APPEND (Results 1 – 25 of 33) 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/sched_ext/
H A Dutil.c38 fd = open(path, O_WRONLY | O_APPEND); in write_text()
/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c111 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 Dcgroup_util.c
/linux/include/trace/misc/
H A Dfs.h32 { O_APPEND, "O_APPEND" }, \
/linux/security/apparmor/include/
H A Dfile.h122 if ((flags & O_APPEND) && (perms & MAY_WRITE)) in aa_map_file_to_perms()
/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()
H A Dfile.c785 error = tomoyo_path_permission(&r, (flag & O_APPEND) ? in tomoyo_check_open_permission()
/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/tools/testing/selftests/user_events/
H A Ddyn_test.c85 int fd = open(dyn_file, O_RDWR | O_APPEND); in parse_dyn()
/linux/fs/coda/
H A Dfile.c248 host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); in coda_open()
/linux/tools/bootconfig/
H A Dmain.c464 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.c48 fd = open(path, O_WRONLY | O_APPEND); in write_text()
/linux/arch/um/os-Linux/
H A Dfile.c186 f |= O_APPEND; in os_open_file()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c402 { O_APPEND, "O_APPEND" }, in TEST_F()
/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/security/integrity/ima/
H A Dima_crypto.c266 int flags = file->f_flags & ~(O_WRONLY | O_APPEND | in ima_alloc_pages()
/linux/fs/
H A Dsplice.c1199 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 Dprobe-file.c119 ret = open(buf, O_RDWR | O_APPEND, 0); in open_trace_file()
/linux/sound/core/
H A Drawmidi.c443 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 Dpcm.c907 if (file->f_flags & O_APPEND) { in snd_pcm_attach_substream()
/linux/tools/perf/
H A Dbuiltin-ftrace.c145 flags |= O_APPEND; in __write_tracing_file()
/linux/security/selinux/
H A Dhooks.c2039 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()

12