Home
last modified time | relevance | path

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

12345678910>>...67

/openbmc/linux/tools/testing/selftests/openat2/
H 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 …]
H A Dopenat2_test.c158 struct open_how how; member
196 .how.flags = O_RDONLY, .how.mode = 0600, .err = -EINVAL }, in test_openat2_flags()
198 .how.flags = O_PATH, .how.mode = 0600, .err = -EINVAL }, in test_openat2_flags()
200 .how.flags = O_CREAT, .how.mode = 0600 }, in test_openat2_flags()
202 .how.flags = O_TMPFILE | O_RDWR, .how.mode = 0600 }, in test_openat2_flags()
205 .how.flags = O_CREAT, in test_openat2_flags()
208 .how.flags = O_CREAT, in test_openat2_flags()
219 .how.flags = O_RDONLY, in test_openat2_flags()
225 .how.flags = O_RDONLY, in test_openat2_flags()
228 .how.flags = O_CREAT, in test_openat2_flags()
[all …]
H 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()
H 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);
H 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()
/openbmc/linux/fs/autofs/
H A Dexpire.c52 if (how & AUTOFS_EXP_FORCED) { in autofs_mount_busy()
153 unsigned int how) in autofs_direct_busy() argument
158 if (how & AUTOFS_EXP_FORCED) in autofs_direct_busy()
185 unsigned int how) in autofs_tree_busy() argument
231 if (how & AUTOFS_EXP_FORCED) in autofs_tree_busy()
244 unsigned int how) in autofs_check_leaves() argument
277 unsigned int how) in autofs_expire_direct() argument
324 unsigned int how) in should_expire() argument
423 unsigned int how) in autofs_expire_indirect() argument
460 how &= ~AUTOFS_EXP_LEAVES; in autofs_expire_indirect()
[all …]
/openbmc/linux/io_uring/
H A Dopenclose.c24 struct open_how how; member
42 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async()
57 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep()
58 open->how.flags |= O_LARGEFILE; in __io_openat_prep()
70 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()
86 open->how = build_open_how(flags, mode); in io_openat_prep()
93 struct open_how __user *how; in io_openat2_prep() local
97 how = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_openat2_prep()
102 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len); in io_openat2_prep()
118 ret = build_open_flags(&open->how, &op); in io_openat2()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-ksm19 full_scans: how many times all mergeable areas have been
22 pages_shared: how many shared pages are being used.
24 pages_sharing: how many more sites are sharing them i.e. how
27 pages_to_scan: how many present pages to scan before ksmd goes
30 pages_unshared: how many pages unique but repeatedly checked
33 pages_volatile: how many pages changing too fast to be placed
41 sleep_millisecs: how many milliseconds ksm should sleep between
59 Description: Measure how effective KSM is.
60 general_profit: how effective is KSM. The formula for the
H A Dsysfs-kernel-slab19 The aliases file is read-only and specifies how many caches
48 The alloc_fastpath file shows how many objects have been
59 The alloc_from_partial file shows how many times a cpu slab has
82 The alloc_slab file is shows how many times a new slab had to
93 The alloc_slowpath file shows how many objects have been
209 The free_add_partial file shows how many times an object has
295 The min_partial file specifies how many empty slabs shall
324 The objects_partial file is read-only and displays how many
334 The file objs_per_slab is read-only and specifies how many
374 The partial file is read-only and displays how long many
[all …]
/openbmc/docs/development/
H A DREADME.md9 Start here. This shows how to setup an OpenBMC development environment using
10 its bitbake build process and how to start the software emulator, QEMU.
14 This shows how to use the yocto tool, devtool, to extract an OpenBMC source
19 This shows how to modify the phosphor-webui web application and test your
24 This shows how to setup your environment to utilize Gerrit for submitting
/openbmc/linux/fs/
H A Dopen.c1205 struct open_how how = { in build_open_how() local
1211 if (how.flags & O_PATH) in build_open_how()
1212 how.flags &= O_PATH_FLAGS; in build_open_how()
1214 if (!WILL_CREATE(how.flags)) in build_open_how()
1215 how.mode = 0; in build_open_how()
1216 return how; in build_open_how()
1221 u64 flags = how->flags; in build_open_flags()
1247 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
1252 if (how->mode & ~S_IALLUGO) in build_open_flags()
1256 if (how->mode != 0) in build_open_flags()
[all …]
/openbmc/qemu/qapi/
H A Dcompat.json52 # @deprecated-input: how to handle deprecated input (default 'accept')
54 # @deprecated-output: how to handle deprecated output (default
57 # @unstable-input: how to handle unstable input (default 'accept')
60 # @unstable-output: how to handle unstable output (default 'accept')
/openbmc/linux/tools/perf/util/
H 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()
/openbmc/qemu/docs/devel/
H A Dindex-process.rst6 Notes about how to interact with the community and how and where to submit patches.
H A Dindex-build.rst4 Details about how QEMU's build system works and how it is integrated
/openbmc/linux/security/smack/
H A DKconfig14 If you are unsure how to answer this question, answer N.
32 If you are unsure how to answer this question, answer N.
43 If you are unsure how to answer this question, answer N.
55 If you are unsure how to answer this question, answer N.
/openbmc/linux/arch/alpha/kernel/
H A Dprocess.c78 struct halt_info *how = generic_ptr; in common_shutdown_1() local
106 if (how->mode == LINUX_REBOOT_CMD_RESTART) { in common_shutdown_1()
107 if (!how->restart_cmd) { in common_shutdown_1()
150 alpha_mv.kill_arch(how->mode); in common_shutdown_1()
152 if (! alpha_using_srm && how->mode != LINUX_REBOOT_CMD_RESTART) { in common_shutdown_1()
/openbmc/linux/tools/testing/selftests/arm64/bti/
H 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()
/openbmc/linux/Documentation/admin-guide/mm/
H A Dksm.rst80 how many pages to scan before ksmd goes to sleep
86 how many milliseconds ksmd should sleep before next scan
99 sharing of setting 1 (default). You may wish to compare how
151 specifies how frequently KSM checks the metadata of the pages
161 how effective is KSM. The calculation is explained below.
163 how many pages are being scanned for ksm
165 how many shared pages are being used
167 how many more sites are sharing them i.e. how much saved
169 how many pages unique but repeatedly checked for merging
171 how many pages changing too fast to be placed in a tree
[all …]
/openbmc/openbmc/poky/documentation/
H A Dwhat-i-wish-id-known.rst19 understanding of how the build process works, you'll find yourself trying to
26 because of how git works. If you download the tarball instead, you will need
85 pinpoint where trouble is occurring and how the build is breaking. The
101 .. image:: figures/yp-how-it-works-new-diagram.png
104 #. **Know that you can generate a dependency graph and learn how to do it:**
110 dependency graphs and how to generate them in the
114 #. **Here's how you decode "magic" folder names in tmp/work:**
130 :doc:`brief-yoctoprojectqs/index` show how to create an image
137 Shell` for information on how to build and run a specific task using
175 * know how to create and use layers
[all …]
/openbmc/linux/Documentation/firmware-guide/acpi/
H A Dextcon-intel-int3496.rst9 This ACPI device describes how the OS can read the id-pin of the devices'
10 USB-otg port, as well as how it optionally can enable Vbus output on the
11 otg port and how it can optionally control the muxing of the data pins
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dintro.rst20 example, procedures that show you how to set up a build host and work
23 - Procedures that show you how to submit changes to the Yocto Project.
35 instructions on how to install an SDK, which is used to develop
43 example, exhaustive information on how to use the Git version
/openbmc/linux/Documentation/bpf/
H A Dmap_array.rst106 This snippet shows how to declare an array in a BPF program.
118 This example BPF program shows how to access an array element.
145 This snippet shows how to create an array, using ``bpf_map_create_opts`` to
167 This snippet shows how to initialize the elements of an array.
187 This snippet shows how to retrieve an element value from an array.
210 This snippet shows how to initialize the elements of a per CPU array.
232 This snippet shows how to access the per CPU elements of an array value.
/openbmc/u-boot/include/
H A Dsym53c8xx.h459 #define SCR_LOAD_R(reg, how, n) \ argument
460 (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
462 #define SCR_STORE_R(reg, how, n) \ argument
463 (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
/openbmc/openbmc/poky/meta/recipes-devtools/make/
H A Dmake.inc3 program from the program's source files. Make gets its knowledge of how to build your program from…
4 called the makefile, which lists each of the non-source files and how to compute it from other file…

12345678910>>...67