Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
Dresolve_test.c113 struct open_how how; member
139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
163 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
[all …]
Dopenat2_test.c154 struct open_how how; member
165 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
167 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
171 .how.flags = O_PATH | O_CLOEXEC }, in test_openat2_flags()
173 .how.flags = O_PATH | O_DIRECTORY }, in test_openat2_flags()
175 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
178 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
180 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
182 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
184 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
[all …]
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()
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);
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()
/kernel/linux/linux-5.10/fs/autofs/
Dexpire.c12 unsigned long timeout, unsigned int how) in autofs_can_expire() argument
20 if (!(how & AUTOFS_EXP_IMMEDIATE)) { in autofs_can_expire()
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy() argument
52 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()
172 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy()
185 unsigned int how) in autofs_tree_busy() argument
207 if (autofs_mount_busy(mnt, p, how)) { in autofs_tree_busy()
231 if (how & AUTOFS_EXP_FORCED) in autofs_tree_busy()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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
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
71 The alloc_refill file shows how many times the per-cpu freelist
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
115 The cpu_slabs file is read-only and displays how many cpu slabs
124 The file cpuslab_flush shows how many times a cache's cpu slabs
147 The deactivate_empty file shows how many times an empty cpu slab
157 The deactivate_full file shows how many times a full cpu slab
[all …]
Dsysfs-class-led-trigger-oneshot6 Specifies for how many milliseconds the LED has to stay at
15 Specifies for how many milliseconds the LED has to stay at
/kernel/linux/linux-5.10/fs/
Dopen.c980 struct open_how how = { in build_open_how() local
986 if (how.flags & O_PATH) in build_open_how()
987 how.flags &= O_PATH_FLAGS; in build_open_how()
989 if (!WILL_CREATE(how.flags)) in build_open_how()
990 how.mode = 0; in build_open_how()
991 return how; in build_open_how()
994 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() argument
996 u64 flags = how->flags; in build_open_flags()
1018 if (how->resolve & ~VALID_RESOLVE_FLAGS) in build_open_flags()
1022 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
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()
/kernel/linux/linux-5.10/security/smack/
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.
/kernel/linux/linux-5.10/arch/alpha/kernel/
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()
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
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
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/
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
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-enum-mbus-code.rst97 See :ref:`v4l2-mbus-format` on how to do this.
104 See :ref:`v4l2-mbus-format` on how to do this.
111 See :ref:`v4l2-mbus-format` on how to do this.
118 See :ref:`v4l2-mbus-format` on how to do this.
125 See :ref:`v4l2-mbus-format` on how to do this.
/kernel/linux/linux-5.10/Documentation/driver-api/dmaengine/
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.
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/
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
219 Intel(R) ixgbe driver. For more information on how to identify your
246 devices. For more information on how to identify your adapter, go
279 information on how to identify your adapter, go to the Adapter
301 devices. For more information on how to identify your adapter, go
[all …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dvarhandlers.c179 int spk_set_num_var(int input, struct st_var_header *var, int how) in spk_set_num_var() argument
191 switch (how) { in spk_set_num_var()
278 int spk_set_mask_bits(const char *input, const int which, const int how) in spk_set_mask_bits() argument
283 if (how & 1) { in spk_set_mask_bits()
305 if (how & 2) { in spk_set_mask_bits()
/kernel/linux/linux-5.10/arch/sh/kernel/
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()
/kernel/linux/linux-5.10/fs/nfs/
Dwrite.c1363 static int flush_task_priority(int how) in flush_task_priority() argument
1365 switch (how & (FLUSH_HIGHPRI|FLUSH_LOWPRI)) { in flush_task_priority()
1377 struct rpc_task_setup *task_setup_data, int how) in nfs_initiate_write() argument
1379 int priority = flush_task_priority(how); in nfs_initiate_write()
1663 int how, int flags) in nfs_initiate_commit() argument
1666 int priority = flush_task_priority(how); in nfs_initiate_commit()
1691 if (how & FLUSH_SYNC) in nfs_initiate_commit()
1783 nfs_commit_list(struct inode *inode, struct list_head *head, int how, in nfs_commit_list() argument
1801 data->mds_ops, how, RPC_TASK_CRED_NOREF); in nfs_commit_list()
1894 int how, struct nfs_commit_info *cinfo) in nfs_generic_commit_list() argument
[all …]
/kernel/linux/linux-5.10/Documentation/
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
/kernel/liteos_m/kal/posix/src/
Dsignal.c80 int sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument
82 unsigned int ret = LOS_SignalMask(how, set, oset); in sigprocmask()
/kernel/linux/linux-5.10/Documentation/litmus-tests/
DREADME7 For more information about how to "run" a litmus test or how to generate
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
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

12345678910>>...41