| /tools/testing/selftests/openat2/ |
| A D | resolve_test.c | 113 struct open_how how; member 287 .how.mode = 0700, in test_openat2_opath_tests() 288 .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests() 292 .how.mode = 0700, in test_openat2_opath_tests() 293 .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests() 297 .how.mode = 0700, in test_openat2_opath_tests() 298 .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests() 419 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests() 423 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests() 455 if (!(test->how.flags & O_CREAT)) in test_openat2_opath_tests() [all …]
|
| A D | openat2_test.c | 159 struct open_how how; member 197 .how.flags = O_RDONLY, .how.mode = 0600, .err = -EINVAL }, in test_openat2_flags() 199 .how.flags = O_PATH, .how.mode = 0600, .err = -EINVAL }, in test_openat2_flags() 201 .how.flags = O_CREAT, .how.mode = 0600 }, in test_openat2_flags() 203 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags() 206 .how.flags = O_CREAT, in test_openat2_flags() 209 .how.flags = O_CREAT, in test_openat2_flags() 220 .how.flags = O_RDONLY, in test_openat2_flags() 226 .how.flags = O_RDONLY, in test_openat2_flags() 229 .how.flags = O_CREAT, in test_openat2_flags() [all …]
|
| A D | helpers.c | 17 bool needs_openat2(const struct open_how *how) in needs_openat2() argument 19 return how->resolve != 0; in needs_openat2() 22 int raw_openat2(int dfd, const char *path, void *how, size_t size) in raw_openat2() argument 24 int ret = syscall(__NR_openat2, dfd, path, how, size); in raw_openat2() 28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2() argument 30 return raw_openat2(dfd, path, how, sizeof(*how)); in sys_openat2() 33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat() argument 35 int ret = openat(dfd, path, how->flags, how->mode); in sys_openat() 98 struct open_how how = {}; in init() local 104 fd = sys_openat2(AT_FDCWD, ".", &how); in init()
|
| A D | helpers.h | 48 bool needs_openat2(const struct open_how *how); 96 int raw_openat2(int dfd, const char *path, void *how, size_t size); 97 int sys_openat2(int dfd, const char *path, struct open_how *how); 98 int sys_openat(int dfd, const char *path, struct open_how *how);
|
| A D | rename_attack_test.c | 91 struct open_how how = { in test_rename_attack() local 97 how.resolve = 0; in test_rename_attack() 113 fd = sys_openat2(afd, victim_path, &how); in test_rename_attack() 115 fd = sys_openat(afd, victim_path, &how); in test_rename_attack()
|
| /tools/testing/selftests/arm64/bti/ |
| A D | signal.c | 34 int sigprocmask(int how, const sigset_t *mask, sigset_t *old) in sigprocmask() argument 36 return syscall(__NR_rt_sigprocmask, how, mask, old, sizeof(*mask)); in sigprocmask()
|
| A D | signal.h | 19 int sigprocmask(int how, const sigset_t *mask, sigset_t *old);
|
| /tools/perf/util/ |
| A D | ordered-events.c | 267 static int __ordered_events__flush(struct ordered_events *oe, enum oe_flush how, in __ordered_events__flush() argument 284 switch (how) { in __ordered_events__flush() 321 str[how], oe->nr_events); in __ordered_events__flush() 327 if (how == OE_FLUSH__ROUND) in __ordered_events__flush() 330 oe->last_flush_type = how; in __ordered_events__flush() 334 str[how], oe->nr_events); in __ordered_events__flush() 340 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how) in ordered_events__flush() argument 342 return __ordered_events__flush(oe, how, 0); in ordered_events__flush()
|
| A D | ordered-events.h | 59 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how);
|
| /tools/testing/ktest/examples/ |
| A D | README | 3 is broken up by task which makes it easier to understand how to set up 26 included into other configs. This is a real use example that shows how
|
| /tools/perf/Documentation/ |
| A D | build-xed.txt | 2 For --xed the xed tool is needed. Here is how to install it:
|
| A D | perf-inject.txt | 51 Merge sched_stat and sched_switch for getting events where and how long 53 sched_stat contains a timeslice how long a task slept.
|
| A D | perf-timechart.txt | 30 There are also poll bars which show how much time application spent
|
| A D | perf-diff.txt | 120 Determine how to display the overhead percentage of filtered entries. 258 relative to how entries are filtered. Use --percentage=absolute to
|
| /tools/memory-model/litmus-tests/ |
| A D | MP+polocks.litmus | 6 * This litmus test demonstrates how lock acquisitions and releases can
|
| A D | MP+porevlocks.litmus | 6 * This litmus test demonstrates how lock acquisitions and releases can
|
| /tools/testing/selftests/net/forwarding/ |
| A D | README | 64 influence its behavior and tools it invokes, and how it invokes them, in 91 how forwarding.config might look.
|
| /tools/perf/ |
| A D | builtin-daemon.c | 895 int how = 0; in daemon_session__kill() local 898 switch (how) { in daemon_session__kill() 913 how++; in daemon_session__kill() 950 int how = 0; in daemon__kill() local 953 switch (how) { in daemon__kill() 967 how++; in daemon__kill()
|
| /tools/perf/trace/beauty/include/linux/ |
| A D | socket.h | 462 extern int __sys_shutdown_sock(struct socket *sock, int how); 463 extern int __sys_shutdown(int fd, int how);
|
| /tools/testing/selftests/cgroup/ |
| A D | memcg_protection.m | 6 % hierarchy to illustrate how overcommitted protection spreads among siblings
|
| /tools/testing/fault-injection/ |
| A D | failcmd.sh | 31 specifies how many times failures may happen at most.
|
| /tools/testing/selftests/devices/probe/boards/ |
| A D | google,spherion.yaml | 28 # define how to reach this device from the parent controller. For USB devices it
|
| /tools/sched_ext/ |
| A D | README.md | 8 that can be built using sched_ext, and illustrate how various features of 180 enqueue tasks. It also illustrates how core-sched support could be implemented. 185 This scheduler illustrates how scheduling decisions can be dispatched from a
|
| /tools/power/cpupower/bench/ |
| A D | README-BENCH | 55 First it is calibrated how long a specific CPU intensive calculation
|
| /tools/usb/usbip/ |
| A D | INSTALL | 34 to figure out how `configure' could check whether to do them, and mail 204 `configure' recognizes the following options to control how it operates.
|