Home
last modified time | relevance | path

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

12345678910>>...33

/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c
H A Dopenat2_test.c
H A Dhelpers.c
H A Dhelpers.h
H A Drename_attack_test.c
/linux/tools/testing/selftests/filesystems/openat2/
H A Dresolve_test.c24 struct open_how how; member
40 struct open_how how = test->how; in verify_resolve_test() local
45 if (!(how.flags & O_CREAT)) in verify_resolve_test()
46 how.flags |= O_PATH; in verify_resolve_test()
55 fd = sys_openat2(dfd, test->path, &how); in verify_resolve_test()
224 .path = "/", .how.resolve = RESOLVE_BENEATH, in TEST_F()
227 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in TEST_F()
230 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in TEST_F()
233 .path = "..", .how.resolve = RESOLVE_BENEATH, in TEST_F()
236 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in TEST_F()
[all …]
H A Dopenat2_test.c58 struct open_how how; member
174 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in TEST_F()
176 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in TEST_F()
180 .how.flags = O_PATH | O_CLOEXEC }, in TEST_F()
182 .how.flags = O_PATH | O_DIRECTORY }, in TEST_F()
184 .how.flags = O_PATH | O_NOFOLLOW }, in TEST_F()
187 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in TEST_F()
189 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in TEST_F()
191 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in TEST_F()
193 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in TEST_F()
[all …]
/linux/fs/autofs/
H A 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()
150 unsigned int how) in autofs_direct_busy() argument
155 if (how & AUTOFS_EXP_FORCED) in autofs_direct_busy()
169 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy()
182 unsigned int how) in autofs_tree_busy() argument
204 if (autofs_mount_busy(mnt, p, how)) { in autofs_tree_busy()
228 if (how & AUTOFS_EXP_FORCED) in autofs_tree_busy()
[all …]
/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
49 The alloc_fastpath file shows how many objects have been
60 The alloc_from_partial file shows how many times a cpu slab has
72 The alloc_refill file shows how many times the per-cpu freelist
83 The alloc_slab file is shows how many times a new slab had to
94 The alloc_slowpath file shows how many objects have been
118 previously displayed how many cpu slabs were active and their
127 The file cpuslab_flush shows how many times a cache's cpu slabs
150 The deactivate_empty file shows how many times an empty cpu slab
160 The deactivate_full file shows how many times a full cpu slab
[all …]
/linux/io_uring/
H A Dopenclose.c27 struct open_how how; member
50 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async()
64 /* open.how should be already initialised */ in __io_openat_prep()
65 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep()
66 open->how.flags |= O_LARGEFILE; in __io_openat_prep()
76 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()
89 bctx->open.flags = open->how.flags; in io_openat_bpf_populate()
90 bctx->open.mode = open->how.mode; in io_openat_bpf_populate()
91 bctx->open.resolve = open->how.resolve; in io_openat_bpf_populate()
100 open->how in io_openat_prep()
107 struct open_how __user *how; io_openat2_prep() local
[all...]
/linux/fs/
H A Dopen.c1213 struct open_how how = { in build_open_how()
1219 if (how.flags & O_PATH) in build_open_how()
1220 how.flags &= O_PATH_FLAGS; in build_open_how()
1222 if (!WILL_CREATE(how.flags)) in build_open_how()
1223 how.mode = 0; in build_open_how()
1224 return how; in build_open_how()
1227 inline int build_open_flags(const struct open_how *how, struct open_flags *op) in build_open_flags()
1229 u64 flags = how->flags; in build_open_flags()
1257 if (how->resolve & ~VALID_RESOLVE_FLAGS) in build_open_flags()
1261 if ((how in build_open_flags()
1212 struct open_how how = { build_open_how() local
1226 build_open_flags(const struct open_how * how,struct open_flags * op) build_open_flags() argument
1396 struct open_how how = build_open_how(flags, mode); file_open_name() local
1425 struct open_how how = build_open_how(flags, mode); file_open_root() local
1434 do_sys_openat2(int dfd,const char __user * filename,struct open_how * how) do_sys_openat2() argument
1447 struct open_how how = build_open_how(flags, mode); do_sys_open() local
1468 SYSCALL_DEFINE4(openat2,int,dfd,const char __user *,filename,struct open_how __user *,how,size_t,usize) SYSCALL_DEFINE4() argument
[all...]
/linux/tools/perf/util/
H A Dordered-events.c275 static int __ordered_events__flush(struct ordered_events *oe, enum oe_flush how, in __ordered_events__flush()
292 switch (how) { in __ordered_events__flush()
329 str[how], oe->nr_events); in __ordered_events__flush()
335 if (how == OE_FLUSH__ROUND) in __ordered_events__flush()
338 oe->last_flush_type = how; in __ordered_events__flush()
342 str[how], oe->nr_events); in ordered_events__flush()
348 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how) in ordered_events__flush_time()
350 return __ordered_events__flush(oe, how, 0); in ordered_events__first_time()
267 __ordered_events__flush(struct ordered_events * oe,enum oe_flush how,u64 timestamp) __ordered_events__flush() argument
340 ordered_events__flush(struct ordered_events * oe,enum oe_flush how) ordered_events__flush() argument
/linux/Documentation/admin-guide/mm/
H A Dksm.rst80 how many pages to scan before ksmd goes to sleep
89 how many milliseconds ksmd should sleep before next scan
102 sharing of setting 1 (default). You may wish to compare how
154 specifies how frequently KSM checks the metadata of the pages
165 skipped. How often these pages are skipped depends on how often
167 optimization is enabled. The ``pages_skipped`` metric shows how
174 The section about ``advisor`` explains in detail how the scan time
196 how effective is KSM. The calculation is explained below.
198 how many pages are being scanned for ksm
200 how man
[all...]
/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()
/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.
/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
/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()
/linux/Documentation/arch/powerpc/
H A Dvmemmap_dedup.rst26 Here's how things look on device-dax after vmemmap-optimized sections are
/linux/drivers/accessibility/speakup/
H A Dvarhandlers.c183 int spk_set_num_var(int input, struct st_var_header *var, int how) in spk_set_num_var()
195 switch (how) { in spk_set_num_var()
282 * values for how: 0 clears bits of chars supplied,
285 int spk_set_mask_bits(const char *input, const int which, const int how) in spk_set_mask_bits()
290 if (how & 1) { in spk_set_mask_bits()
312 if (how & 2) { in spk_set_mask_bits()
182 spk_set_num_var(int input,struct st_var_header * var,int how) spk_set_num_var() argument
284 spk_set_mask_bits(const char * input,const int which,const int how) spk_set_mask_bits() argument
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-enum-mbus-code.rst119 See :ref:`v4l2-mbus-format` on how to do this.
126 See :ref:`v4l2-mbus-format` on how to do this.
133 See :ref:`v4l2-mbus-format` on how to do this.
140 See :ref:`v4l2-mbus-format` on how to do this.
147 See :ref:`v4l2-mbus-format` on how to do this.
/linux/fs/nfs/
H A Dwrite.c1335 static int flush_task_priority(int how) in nfs_update_folio()
1337 switch (how & (FLUSH_HIGHPRI|FLUSH_LOWPRI)) { in flush_task_priority() argument
1349 struct rpc_task_setup *task_setup_data, int how) in nfs_initiate_write()
1351 int priority = flush_task_priority(how); in nfs_initiate_write() argument
1635 int how, int flags, in nfs_initiate_commit()
1639 int priority = flush_task_priority(how); in nfs_initiate_commit()
1671 if (how & FLUSH_SYNC) in nfs_initiate_commit()
1763 nfs_commit_list(struct inode *inode, struct list_head *head, int how,
1789 data->mds_ops, how, in nfs_commit_list()
1880 int how, struc
1637 nfs_initiate_commit(struct rpc_clnt * clnt,struct nfs_commit_data * data,const struct nfs_rpc_ops * nfs_ops,const struct rpc_call_ops * call_ops,int how,int flags,struct nfsd_file * localio) nfs_initiate_commit() argument
1765 nfs_commit_list(struct inode * inode,struct list_head * head,int how,struct nfs_commit_info * cinfo) nfs_commit_list() argument
1882 nfs_generic_commit_list(struct inode * inode,struct list_head * head,int how,struct nfs_commit_info * cinfo) nfs_generic_commit_list() argument
1892 __nfs_commit_inode(struct inode * inode,int how,struct writeback_control * wbc) __nfs_commit_inode() argument
1927 nfs_commit_inode(struct inode * inode,int how) nfs_commit_inode() argument
[all...]
/linux/drivers/net/ethernet/intel/
H A DKconfig50 adapters. For more information on how to identify your adapter, go
69 use the regular e1000 driver For more information on how to
98 adapters. For more information on how to identify your adapter, go
134 information on how to identify your adapter, go to the Adapter &
156 adapters. For more information on how to identify your adapter, go
208 Intel(R) ixgbe driver. For more information on how to identify your
239 devices. For more information on how to identify your adapter, go
277 information on how to identify your adapter, go to the Adapter
309 devices. For more information on how to identify your adapter, go
362 Interface. For more information on how to identify your adapter,
[all …]
/linux/arch/sh/kernel/
H 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/Documentation/translations/zh_CN/
H A Dindex.rst24 上的linux-doc邮件列表,并按照Documentation/translations/zh_CN/how-to.rst的
35 how-to.rst

12345678910>>...33