Home
last modified time | relevance | path

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

12345678910>>...41

/linux/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.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 …]
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.h47 bool needs_openat2(const struct open_how *how);
94 int raw_openat2(int dfd, const char *path, void *how, size_t size);
95 int sys_openat2(int dfd, const char *path, struct open_how *how);
96 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()
/linux/fs/autofs/
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 …]
/linux/Documentation/ABI/testing/
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
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 …]
/linux/fs/
A Dopen.c1006 struct open_how how = { in build_open_how() local
1012 if (how.flags & O_PATH) in build_open_how()
1013 how.flags &= O_PATH_FLAGS; in build_open_how()
1015 if (!WILL_CREATE(how.flags)) in build_open_how()
1016 how.mode = 0; in build_open_how()
1017 return how; in build_open_how()
1022 u64 flags = how->flags; in build_open_flags()
1048 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
1053 if (how->mode & ~S_IALLUGO) in build_open_flags()
1057 if (how->mode != 0) in build_open_flags()
[all …]
/linux/tools/perf/util/
A Dordered-events.c266 static int __ordered_events__flush(struct ordered_events *oe, enum oe_flush how, in __ordered_events__flush() argument
283 switch (how) { in __ordered_events__flush()
320 str[how], oe->nr_events); in __ordered_events__flush()
326 if (how == OE_FLUSH__ROUND) in __ordered_events__flush()
329 oe->last_flush_type = how; in __ordered_events__flush()
333 str[how], oe->nr_events); in __ordered_events__flush()
339 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how) in ordered_events__flush() argument
341 return __ordered_events__flush(oe, how, 0); in ordered_events__flush()
/linux/arch/alpha/kernel/
A Dprocess.c77 struct halt_info *how = (struct halt_info *)generic_ptr; in common_shutdown_1() local
105 if (how->mode == LINUX_REBOOT_CMD_RESTART) { in common_shutdown_1()
106 if (!how->restart_cmd) { in common_shutdown_1()
149 alpha_mv.kill_arch(how->mode); in common_shutdown_1()
151 if (! alpha_using_srm && how->mode != LINUX_REBOOT_CMD_RESTART) { in common_shutdown_1()
/linux/security/smack/
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.
/linux/Documentation/admin-guide/mm/
A Dksm.rst82 how many pages to scan before ksmd goes to sleep
88 how many milliseconds ksmd should sleep before next scan
101 sharing of setting 1 (default). You may wish to compare how
153 specifies how frequently KSM checks the metadata of the pages
163 how many shared pages are being used
165 how many more sites are sharing them i.e. how much saved
167 how many pages unique but repeatedly checked for merging
169 how many pages changing too fast to be placed in a tree
171 how many times all mergeable areas have been scanned
/linux/Documentation/firmware-guide/acpi/
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
/linux/drivers/net/ethernet/intel/
A DKconfig47 adapters. For more information on how to identify your adapter, go
66 use the regular e1000 driver For more information on how to
95 adapters. For more information on how to identify your adapter, go
131 information on how to identify your adapter, go to the Adapter &
148 instead. For more information on how to identify your adapter, go
167 adapters. For more information on how to identify your adapter, go
247 devices. For more information on how to identify your adapter, go
280 information on how to identify your adapter, go to the Adapter
305 devices. For more information on how to identify your adapter, go
337 Interface. For more information on how to identify your adapter,
[all …]
/linux/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()
/linux/drivers/accessibility/speakup/
A Dvarhandlers.c180 int spk_set_num_var(int input, struct st_var_header *var, int how) in spk_set_num_var() argument
192 switch (how) { in spk_set_num_var()
279 int spk_set_mask_bits(const char *input, const int which, const int how) in spk_set_mask_bits() argument
284 if (how & 1) { in spk_set_mask_bits()
306 if (how & 2) { in spk_set_mask_bits()
/linux/Documentation/userspace-api/media/v4l/
A Dvidioc-subdev-enum-mbus-code.rst101 See :ref:`v4l2-mbus-format` on how to do this.
108 See :ref:`v4l2-mbus-format` on how to do this.
115 See :ref:`v4l2-mbus-format` on how to do this.
122 See :ref:`v4l2-mbus-format` on how to do this.
129 See :ref:`v4l2-mbus-format` on how to do this.
/linux/fs/nfs/
A Dwrite.c1393 static int flush_task_priority(int how) in flush_task_priority() argument
1395 switch (how & (FLUSH_HIGHPRI|FLUSH_LOWPRI)) { in flush_task_priority()
1409 int priority = flush_task_priority(how); in nfs_initiate_write()
1693 int how, int flags) in nfs_initiate_commit() argument
1696 int priority = flush_task_priority(how); in nfs_initiate_commit()
1721 if (how & FLUSH_SYNC) in nfs_initiate_commit()
1830 data->mds_ops, how, in nfs_commit_list()
1921 int how, struct nfs_commit_info *cinfo) in nfs_generic_commit_list() argument
1936 int may_wait = how & FLUSH_SYNC; in __nfs_commit_inode()
1939 how &= ~FLUSH_SYNC; in __nfs_commit_inode()
[all …]
/linux/Documentation/driver-api/dmaengine/
A Dindex.rst22 This book is a guide to device driver writers on how to use the Slave-DMA
33 This book introduces how to test DMA drivers using dmatest module.
/linux/Documentation/
A Dindex.rst25 (GPLv2), how to properly mark the license of individual files in the source
68 These manuals contain overall information about how to develop the kernel.
71 knowing how things are done will make the process of getting your changes
90 These books get into the details of how specific kernel subsystems work
/linux/arch/sh/kernel/
A Dsh_bios.c60 void sh_bios_shutdown(unsigned int how) in sh_bios_shutdown() argument
62 sh_bios_call(BIOS_CALL_SHUTDOWN, how, 0, 0, 0); in sh_bios_shutdown()
/linux/security/
A DKconfig20 If you are unsure how to answer this question, answer N.
33 If you are unsure how to answer this question, answer N.
46 If you are unsure how to answer this question, answer N.
55 If you are unsure how to answer this question, answer N.
75 If you are unsure how to answer this question, answer N.
88 If you are unsure how to answer this question, answer N.
97 If you are unsure how to answer this question, answer N.
124 See Documentation/x86/intel_txt.rst for a description of how to enable
/linux/Documentation/process/
A Dhowto.rst7 instructions on how to become a Linux kernel developer and how to learn
20 So, you want to learn how to become a Linux kernel developer? Or you
24 and hints on how to work with the community. It will also try to
49 Please remember that you are trying to learn how to work with the
109 These files describe in explicit detail how to successfully create
154 This file describes the rules on how the stable kernel releases
164 A good introduction describing exactly what a patch is and how to
170 full description of the in-kernel API, and rules on how to handle
203 some basic logistical information, like how to compile a kernel and
220 imperative to understand how the code in question works. For this
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
A Dbrcm,bcm7120-l2-intc.txt11 - controls how some of the interrupts will be flowing, whether they will
61 - brcm,int-map-mask: 32-bits bit mask describing how many and which interrupts
62 are wired to this 2nd level interrupt controller, and how they match their

Completed in 41 milliseconds

12345678910>>...41