Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 41) sorted by relevance

12

/lib/
A DKconfig.kgdb7 # function to enable gdb stub to address XML packet sent from GDB.
34 If set to Y the debug core will use the kprobe blocklist to
50 to break in initially.
58 intended to for the development of new kgdb stubs
70 to pass in a kernel parameter
73 string "KGDB: which internal kgdb tests to run"
103 be set to 1 or 0 to enable all commands or disable almost all
109 0x0004 - allow arbitrary writes to memory
115 0x0100 - allow machine to be rebooted
156 call to kgdb_arch_late() is made.
[all …]
A DKconfig.kfence14 to have negligible cost to permit enabling it in production
22 afford to use KASAN, continue using KASAN, for example in test
24 enable KASAN due to its cost, consider using KFENCE.
36 Set this to 0 to disable KFENCE by default, in which case only
37 setting "kfence.sample_interval" to a non-zero value enables KFENCE.
49 bool "Use a deferrable timer to trigger allocations"
51 Use a deferrable timer to trigger allocations. This avoids forcing
61 bool "Use static keys to set up allocations" if EXPERT
68 Using static keys comes with trade-offs that need to be carefully
81 this option is to stress test KFENCE with concurrent error reports
[all …]
A Diomap_copy.c20 void __iowrite32_copy(void __iomem *to, const void *from, size_t count) in __iowrite32_copy() argument
22 u32 __iomem *dst = to; in __iowrite32_copy()
42 void __ioread32_copy(void *to, const void __iomem *from, size_t count) in __ioread32_copy() argument
44 u32 *dst = to; in __ioread32_copy()
64 void __iowrite64_copy(void __iomem *to, const void *from, size_t count) in __iowrite64_copy() argument
67 u64 __iomem *dst = to; in __iowrite64_copy()
74 __iowrite32_copy(to, from, count * 2); in __iowrite64_copy()
A DKconfig.kcsan22 KCSAN uses a watchpoint-based sampling approach to detect races.
24 While KCSAN's primary purpose is to detect data races, it
25 also provides assertions to check data access constraints.
70 various race scenarios, and verifies the reports generated to
74 Each test case may run at least up to KCSAN_REPORT_ONCE_IN_MS
147 delayed. This option will allow KCSAN to detect races between
162 to 0 disables rate limiting.
174 reported if it was only possible to infer a race due to a data value
190 # implement __no_kcsan to really remove all instrumentation.
212 the data value of the memory location was observed to remain
[all …]
A DKconfig.debug11 messages to be added to the output of the syslog() system
27 to every message.
99 It is likely that you would also need to use "lpj=M" to preset
1095 Say Y here to enable the kernel to act as a watchdog to detect
1109 Say Y here to enable the kernel to detect interrupt storm
1127 to cause the system to reboot automatically after a
1159 Say Y here to enable the kernel to act as a watchdog to detect
1240 Say Y here to enable the kernel to detect "hung tasks",
1275 to cause the system to reboot automatically after a
1445 If you want to use "perf lock", you also need to turn on
[all …]
A Dparser.c75 args[argc].to = s + len; in match_one()
79 simple_strtol(s, &args[argc].to, 0); in match_one()
82 simple_strtoul(s, &args[argc].to, 0); in match_one()
85 simple_strtoul(s, &args[argc].to, 8); in match_one()
88 simple_strtoul(s, &args[argc].to, 16); in match_one()
90 if (args[argc].to == args[argc].from) in match_one()
96 s = args[argc].to; in match_one()
338 size_t ret = src->to - src->from; in match_strlcpy()
362 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
A DKconfig.kasan3 # This config refers to the generic KASAN mode.
56 # this variable to decide how the compiler should treat builtins.
68 CONFIG_KASAN_GENERIC, similar to userspace ASan),
108 May potentially introduce problems related to pointer casting and
124 May potentially introduce problems related to pointer casting and
167 With GCC, enabling stack instrumentation is assumed to be safe.
175 bool "Check accesses to vmalloc allocations"
181 checked. Enabling this option leads to higher memory usage.
196 to the KUnit documentation in Documentation/dev-tools/kunit/.
203 bug and to help us correlate the error with other system events.
[all …]
A Dusercopy.c16 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
18 return _inline_copy_from_user(to, from, n); in _copy_from_user()
24 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
26 return _inline_copy_to_user(to, from, n); in _copy_to_user()
A DKconfig.ubsan10 Compile-time instrumentation is used to detect various undefined
20 Building kernels with Sanitizer features enabled tends to grow
21 the kernel size by around 5%, due to adding all the debugging
30 Also note that selecting Y will cause your kernel to Oops
33 will report which Sanitizer failed.) This may make it hard to
34 determine whether an Oops was caused by UBSAN or to figure
43 of flexible arrays, which is comparable to Clang's regular
71 GCC's bounds sanitizer. This option is used to select the
94 operations that overflow to the left or go switch to negative
117 flow reaching an expected-to-be-unreachable position.
[all …]
A DKconfig.kmsan7 # all the features necessary to build the kernel with KMSAN.
21 instrumentation provided by Clang and thus requires Clang to build.
37 bool "Check for uninitialized values passed to and returned from functions"
57 and checking that reports are correctly output to console.
59 Say Y here if you want the test to be built into the kernel and run
60 during boot; say M if you want the test to build as a module; say N
A Dstring_helpers.c378 to = 'n'; in escape_space()
381 to = 'r'; in escape_space()
384 to = 't'; in escape_space()
387 to = 'v'; in escape_space()
390 to = 'f'; in escape_space()
400 *out = to; in escape_space()
414 to = '\\'; in escape_special()
417 to = 'a'; in escape_special()
420 to = 'e'; in escape_special()
423 to = '"'; in escape_special()
[all …]
A DKconfig121 This is selected by other options/architectures to provide the
283 Drivers may select this option to force specific constant
289 improving encoding and decoding performance up to 2x for
301 number of data bits to protect, 'm' should be chosen such
439 working on the code to ensure they haven't introduced any
467 Helper library to poll interrupt mitigation using polling.
474 It is used to implement RSA digital signature verification,
493 according to run time performance.
521 whishes to split a scatterlist amongst multiple DMA channels.
549 # use memcpy to implement user copies for nommu architectures
[all …]
A Dkfifo.c250 static unsigned long kfifo_copy_to_user(struct __kfifo *fifo, void __user *to, in kfifo_copy_to_user() argument
266 ret = copy_to_user(to, fifo->data + off, l); in kfifo_copy_to_user()
270 ret = copy_to_user(to + l, fifo->data, len - l); in kfifo_copy_to_user()
284 int __kfifo_to_user(struct __kfifo *fifo, void __user *to, in __kfifo_to_user() argument
298 ret = kfifo_copy_to_user(fifo, to, len, fifo->out, copied); in __kfifo_to_user()
532 int __kfifo_to_user_r(struct __kfifo *fifo, void __user *to, in __kfifo_to_user_r() argument
547 ret = kfifo_copy_to_user(fifo, to, len, fifo->out + recsize, copied); in __kfifo_to_user_r()
A Dassoc_array.c465 edit->set[0].to = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_in_empty_tree()
613 edit->set[0].to = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_into_terminal_node()
873 edit->set[0].to = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_mid_shortcut()
929 edit->set_parent_slot[0].to = sc_slot; in assoc_array_insert_mid_shortcut()
931 edit->set[1].to = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_mid_shortcut()
1132 edit->set[0].to = NULL; in assoc_array_delete()
1140 edit->set[1].to = NULL; in assoc_array_delete()
1242 edit->set[1].to = assoc_array_node_to_ptr(new_n0); in assoc_array_delete()
1290 edit->set[1].to = NULL; in assoc_array_clear()
1371 *edit->set[i].ptr = edit->set[i].to; in assoc_array_apply_edit()
[all …]
A Diov_iter.c46 size_t len, void *to, void *priv2) in copy_from_user_iter() argument
53 to += progress; in copy_from_user_iter()
55 res = raw_copy_from_user(to, iter_from, len); in copy_from_user_iter()
71 size_t len, void *to, void *priv2) in memcpy_from_iter() argument
73 memcpy(to + progress, iter_from, len); in memcpy_from_iter()
266 size_t len, void *to, void *priv2) in copy_from_user_iter_nocache() argument
285 size_t len, void *to, void *priv2) in copy_from_user_iter_flushcache() argument
292 size_t len, void *to, void *priv2) in memcpy_from_iter_flushcache() argument
471 char *to = kmap_local_folio(folio, offset); in copy_folio_from_iter_atomic() local
479 n = __copy_from_iter(to, n, i); in copy_folio_from_iter_atomic()
[all …]
/lib/kunit/
A DKconfig11 able to be run locally on a developer's workstation without a VM or
24 test suite, which allow users to see results of the last test suite
36 or annoying), they can be disabled by setting this to N.
56 is intended for curious hackers who would like to understand how to
69 to the KUnit documentation in Documentation/dev-tools/kunit/.
77 Sets the default value of kunit.enable. If set to N then KUnit
78 tests will not execute unless kunit.enable=1 is passed to the
82 behavior is needed should this be set to N.
88 Sets the default value of kunit.autorun. If set to N then KUnit
94 behavior is needed should this be set to N.
[all …]
/lib/tests/
A Dkunit_iov_iter.c23 int from, to; member
89 size += pr->to - pr->from; in iov_kunit_load_kvec()
202 int page, from, to; member
240 bvec[i].bv_len += pr->to; in iov_kunit_load_bvec()
245 size += pr->to - pr->from; in iov_kunit_load_bvec()
442 size = pr->to - pr->from; in iov_kunit_copy_to_folioq()
504 size = pr->to - pr->from; in iov_kunit_copy_from_folioq()
604 size = pr->to - pr->from; in iov_kunit_copy_to_xarray()
662 size = pr->to - pr->from; in iov_kunit_copy_from_xarray()
877 size = pr->to - from; in iov_kunit_extract_pages_folioq()
[all …]
A Dutil_macros_kunit.c11 #define FIND_CLOSEST_RANGE_CHECK(from, to, array, exp_idx) \ argument
14 for (i = from; i <= to; i++) { \
118 #define FIND_CLOSEST_DESC_RANGE_CHECK(from, to, array, exp_idx) \ argument
121 for (i = from; i <= to; i++) { \
/lib/crc/x86/
A Dcrc32c-3way.S51 # Define threshold below which buffers are considered "small" and routed to
84 # Process 1 <= n_misaligned <= 7 bytes individually in order to align
85 # the remaining data to an 8-byte boundary.
105 # Compute floor(len / 24) to get num qwords to process from each lane.
122 shl $3, chunk_bytes # num bytes to process from each lane
126 # Unroll the loop by a factor of 4 to reduce the overhead of the loop
/lib/vdso/
A DKconfig12 Each architecture that enables this feature has to
19 This config option helps to avoid possible performance issues
36 Select to add multiplication overflow protection to the VDSO
/lib/crypto/powerpc/
A DKconfig13 depends on BROKEN # Needs to be fixed to work in softirq context
/lib/xz/
A DKconfig55 properties byte. MicroLZMA was created to be used in EROFS
72 This allows passing .xz files to the in-kernel XZ decoder via
74 data and writes diagnostics to the system log.
/lib/crypto/x86/
A Dsha512-avx-asm.S12 # This software is available to you under a choice of one of two
13 # licenses. You may choose to be licensed under the terms of the GNU
45 # To find it, surf to http://www.intel.com/p/en_US/embedded
86 # WK_2(t) points to 1 of 2 qwords at frame.WK depending on t being odd/even
163 # They are then added to their respective SHA512 constants at
165 # For brievity, the comments following vectored instructions only refer to
169 # stitched to take advantage of instruction-level parallelism.
273 # The size of the message pointed to by "data" must be an integer multiple
346 # Advance to next message block
374 # Mergeable 640-byte rodata section. This allows linker to merge the table
A Dsha512-ssse3-asm.S12 # This software is available to you under a choice of one of two
13 # licenses. You may choose to be licensed under the terms of the GNU
45 # To find it, surf to http://www.intel.com/p/en_US/embedded
84 # WK_2(t) points to 1 of 2 qwords at frame.WK depending on t being odd/even
158 # They are then added to their respective SHA512 constants at
160 # For brievity, the comments following vectored instructions only refer to
164 # stitched to take advantage of instruction-level parallelism.
272 # The size of the message pointed to by "data" must be an integer multiple
345 # Advance to next message block
373 # Mergeable 640-byte rodata section. This allows linker to merge the table
A Dsha512-avx2-asm.S12 # This software is available to you under a choice of one of two
13 # licenses. You may choose to be licensed under the terms of the GNU
45 # To find it, surf to http://www.intel.com/p/en_US/embedded
71 # 1st arg is %rdi, which is saved to the stack and accessed later via %r12
117 # Add reg to mem using reg-mem add and store
231 # Move to appropriate lanes for calculating w[16] and w[17]
233 # Move to appropriate lanes for calculating w[18] and w[19]
295 # Add sigma1 to the other compunents to get w[16] and w[17]
352 # to newly calculated sigma1 to get w[18] and w[19]
584 shl $7, NUM_BLKS # convert to bytes
[all …]

Completed in 46 milliseconds

12