Home
last modified time | relevance | path

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

12345678910>>...274

/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
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 …]
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);
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
Dopenat2_test.c159 struct open_how how; member
170 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
172 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
176 .how.flags = O_PATH | O_CLOEXEC }, in test_openat2_flags()
178 .how.flags = O_PATH | O_DIRECTORY }, in test_openat2_flags()
180 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
183 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
185 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
187 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
189 .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);
/kernel/linux/linux-6.6/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/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-6.6/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
59 Description: Measure how effective KSM is.
60 general_profit: how effective is KSM. The formula for the
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 …]
/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 …]
/kernel/linux/linux-6.6/io_uring/
Dopenclose.c24 struct open_how how; member
42 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async()
56 /* open.how should be already initialised */ in __io_openat_prep()
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()
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/mm/
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 …]
/kernel/linux/linux-5.10/include/linux/sched/
Duser.h15 atomic_t processes; /* How many processes does this user have? */
16 atomic_t sigpending; /* How many pending signals does this user have? */
25 unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */
27 unsigned long locked_shm; /* How many pages of mlocked shm ? */
28 unsigned long unix_inflight; /* How many files in flight in unix sockets */
29 atomic_long_t pipe_bufs; /* how many pages are allocated in pipe buffers */
/kernel/linux/linux-5.10/arch/nds32/lib/
Dmemmove.S21 srli $p1, $r2, #2 ! $p1 is how many words to copy
29 andi $r2, $r2, #3 ! How many bytes are less than a word
35 addi $p1, $p1, #-1 ! How many words left to copy
44 andi $r2, $r2, #3 ! How many bytes are less than a word
50 addi $p1, $p1, #-1 ! How many words left to copy
60 addi $r2, $r2, #-1 ! How many bytes left to copy
/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/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/arch/ia64/include/uapi/asm/
Dperfmon_default_smpl.h39 unsigned long hdr_count; /* how many valid entries */
43 unsigned long hdr_overflows; /* how many times the buffer overflowed */
44 unsigned long hdr_buf_size; /* how many bytes in the buffer */
54 * index order: PMD4, PMD5, and so on. How many PMDs are present depends
55 * on how the session was programmed.
76 #define PFM_DEFAULT_MAX_PMDS 64 /* how many pmds supported by data structures (sizeof(unsigned lon…
/kernel/linux/linux-6.6/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 &
150 adapters. For more information on how to identify your adapter, go
202 Intel(R) ixgbe driver. For more information on how to identify your
230 devices. For more information on how to identify your adapter, go
263 information on how to identify your adapter, go to the Adapter
289 devices. For more information on how to identify your adapter, go
331 Interface. For more information on how to identify your adapter,
[all …]
/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/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-6.6/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.

12345678910>>...274