Home
last modified time | relevance | path

Searched full:how (Results 1 – 25 of 3310) sorted by relevance

12345678910>>...133

/Linux-v6.1/tools/testing/selftests/openat2/
Dopenat2_test.c158 struct open_how how; member
169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
175 .how.flags = O_PATH | O_CLOEXEC }, in test_openat2_flags()
177 .how.flags = O_PATH | O_DIRECTORY }, in test_openat2_flags()
179 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
182 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
184 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
186 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
188 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
[all …]
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 …]
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.h28 * Arguments for how openat2(2) should open the target path. If @resolve is
48 bool needs_openat2(const struct open_how *how);
51 /* how->resolve flags for openat2(2). */
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);
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/io_uring/
Dopenclose.c24 struct open_how how; member
45 /* open.how should be already initialised */ in __io_openat_prep()
46 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep()
47 open->how.flags |= O_LARGEFILE; in __io_openat_prep()
59 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()
73 open->how = build_open_how(flags, mode); in io_openat_prep()
80 struct open_how __user *how; in io_openat2_prep() local
84 how = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_openat2_prep()
89 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len); in io_openat2_prep()
105 ret = build_open_flags(&open->how, &op); in io_openat2()
[all …]
/Linux-v6.1/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
196 1) How to determine whether KSM save memory or consume memory in system-wide
[all …]
/Linux-v6.1/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
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
[all …]
/Linux-v6.1/fs/
Dopen.c1104 struct open_how how = { in build_open_how() local
1110 if (how.flags & O_PATH) in build_open_how()
1111 how.flags &= O_PATH_FLAGS; in build_open_how()
1113 if (!WILL_CREATE(how.flags)) in build_open_how()
1114 how.mode = 0; in build_open_how()
1115 return how; in build_open_how()
1118 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags() argument
1120 u64 flags = how->flags; in build_open_flags()
1142 if (how->resolve & ~VALID_RESOLVE_FLAGS) in build_open_flags()
1146 if ((how->resolve & RESOLVE_BENEATH) && (how->resolve & RESOLVE_IN_ROOT)) in build_open_flags()
[all …]
/Linux-v6.1/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.
/Linux-v6.1/security/
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.
64 If you are unsure how to answer this question, answer N.
77 If you are unsure how to answer this question, answer N.
86 If you are unsure how to answer this question, answer N.
113 See Documentation/x86/intel_txt.rst for a description of how to enable
/Linux-v6.1/Documentation/process/
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
64 rules and how to use `SPDX <https://spdx.org/>`_ identifiers in source code are
79 invaluable for learning how to interact with the kernel community. When
81 documentation files are also added which explain how to use the feature.
109 This file describes in explicit detail how to successfully create
120 Other excellent descriptions of how to create patches properly are:
147 This document describes how Linux kernel maintainers operate and the
[all …]
D7.AdvancedTopics.rst6 At this point, hopefully, you have a handle on how the development process
27 teach the reader how to use git; that would be sufficient material for a
28 long document in its own right. Instead, the focus here will be on how git
39 understanding of how git works before trying to use it to make patches
111 useful in such situations; it remembers how merge conflicts were resolved
156 learn how to program in the kernel environment than by looking at code
166 comments as questions rather than criticisms. Asking "how does the lock
/Linux-v6.1/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json6 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
13 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
20 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
27 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
34 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
41 …s dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
48 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
55 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
62 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
69 …) dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FPU pipeli…
/Linux-v6.1/samples/
DKconfig60 different kobject sample modules showing how to use kobjects,
94 different kfifo sample modules showing how to use the
103 Build an example of how to dynamically add the hello
113 Build an QMI client sample driver, which demonstrates how to
120 Build an rpmsg client sample driver, which demonstrates how
263 This demonstrates how a user may create their own CoreSight
/Linux-v6.1/include/linux/
Dmap_benchmark.h23 __u32 threads; /* how many threads will do map/unmap in parallel */
24 __u32 seconds; /* how long the test will last */
29 __u32 granule; /* how many PAGE_SIZE will do map/unmap once a time */
Dzstd.h161 * determine how large the workspace must be.
200 * determine how large the workspace must be.
271 * determine how large the workspace must be.
296 * @output: Destination buffer. `output->pos` is updated to indicate how much
298 * @input: Source buffer. `input->pos` is updated to indicate how much data
316 * @output: Destination buffer. `output->pos` is updated to indicate how much
331 * @output: Destination buffer. `output->pos` is updated to indicate how much
362 * determine how large the workspace must be.
383 * @output: Destination buffer. `output.pos` is updated to indicate how much
385 * @input: Source buffer. `input.pos` is updated to indicate how much data was
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
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-v6.1/Documentation/filesystems/nfs/
Dknfsd-stats.rst49 Counts how many NFS packets have arrived. More precisely, this
59 of how much CPU load is being placed on the sunrpc server layer
63 Counts how many times an NFS transport is enqueued to wait for
79 Counts how many times an idle nfsd thread is woken to try to
88 Counts how many times an nfsd thread triggered an idle timeout,
/Linux-v6.1/tools/perf/util/
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()
/Linux-v6.1/security/selinux/
DKconfig10 If you are unsure how to answer this question, answer N.
24 If you are unsure how to answer this question, answer N.
48 If you are unsure how to answer this question, answer N.
94 If you are unsure how to answer this question, answer 0.
/Linux-v6.1/include/uapi/linux/netfilter/
Dxt_hashlimit.h38 __u32 size; /* how many buckets */
62 __u32 size; /* how many buckets */
76 __u32 size; /* how many buckets */
90 __u32 size; /* how many buckets */
/Linux-v6.1/Documentation/usb/
Dchipidea.rst5 1. How to test OTG FSM(HNP and SRP)
8 To show how to demo OTG HNP and SRP functions via sys input files
11 1.1 How to enable OTG FSM
105 2. How to enable USB as system wakeup source
107 Below is the example for how to enable USB as system wakeup source

12345678910>>...133