Home
last modified time | relevance | path

Searched refs:how (Results 1 – 25 of 60) sorted by relevance

123

/tools/testing/selftests/openat2/
A Dresolve_test.c113 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 Dopenat2_test.c159 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 Dhelpers.c17 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 Dhelpers.h48 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 Drename_attack_test.c91 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 Dsignal.c34 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 Dsignal.h19 int sigprocmask(int how, const sigset_t *mask, sigset_t *old);
/tools/perf/util/
A Dordered-events.c267 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 Dordered-events.h59 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how);
/tools/testing/ktest/examples/
A DREADME3 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 Dbuild-xed.txt2 For --xed the xed tool is needed. Here is how to install it:
A Dperf-inject.txt51 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 Dperf-timechart.txt30 There are also poll bars which show how much time application spent
A Dperf-diff.txt120 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 DMP+polocks.litmus6 * This litmus test demonstrates how lock acquisitions and releases can
A DMP+porevlocks.litmus6 * This litmus test demonstrates how lock acquisitions and releases can
/tools/testing/selftests/net/forwarding/
A DREADME64 influence its behavior and tools it invokes, and how it invokes them, in
91 how forwarding.config might look.
/tools/perf/
A Dbuiltin-daemon.c895 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 Dsocket.h462 extern int __sys_shutdown_sock(struct socket *sock, int how);
463 extern int __sys_shutdown(int fd, int how);
/tools/testing/selftests/cgroup/
A Dmemcg_protection.m6 % hierarchy to illustrate how overcommitted protection spreads among siblings
/tools/testing/fault-injection/
A Dfailcmd.sh31 specifies how many times failures may happen at most.
/tools/testing/selftests/devices/probe/boards/
A Dgoogle,spherion.yaml28 # define how to reach this device from the parent controller. For USB devices it
/tools/sched_ext/
A DREADME.md8 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 DREADME-BENCH55 First it is calibrated how long a specific CPU intensive calculation
/tools/usb/usbip/
A DINSTALL34 to figure out how `configure' could check whether to do them, and mail
204 `configure' recognizes the following options to control how it operates.

Completed in 24 milliseconds

123