/lib/ |
A D | usercopy.c | 16 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() 45 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument 48 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user() 53 from -= align; in check_zeroed_user() 56 if (!user_read_access_begin(from, size)) in check_zeroed_user() 59 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user() 67 from += sizeof(unsigned long); in check_zeroed_user() [all …]
|
A D | iomap_copy.c | 20 void __iowrite32_copy(void __iomem *to, const void *from, size_t count) in __iowrite32_copy() argument 23 const u32 *src = from; in __iowrite32_copy() 42 void __ioread32_copy(void *to, const void __iomem *from, size_t count) in __ioread32_copy() argument 45 const u32 __iomem *src = from; in __ioread32_copy() 64 void __iowrite64_copy(void __iomem *to, const void *from, size_t count) in __iowrite64_copy() argument 68 const u64 *src = from; in __iowrite64_copy() 74 __iowrite32_copy(to, from, count * 2); in __iowrite64_copy()
|
A D | parser.c | 66 args[argc].from = s; in match_one() 90 if (args[argc].to == args[argc].from) in match_one() 338 size_t ret = src->to - src->from; in match_strlcpy() 342 memcpy(dest, src->from, len); in match_strlcpy() 362 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
|
A D | kfifo.c | 190 const void __user *from, unsigned int len, unsigned int off, in kfifo_copy_from_user() argument 206 ret = copy_from_user(fifo->data + off, from, l); in kfifo_copy_from_user() 210 ret = copy_from_user(fifo->data, from + l, len - l); in kfifo_copy_from_user() 224 int __kfifo_from_user(struct __kfifo *fifo, const void __user *from, in __kfifo_from_user() argument 239 ret = kfifo_copy_from_user(fifo, from, len, fifo->in, copied); in __kfifo_from_user() 508 int __kfifo_from_user_r(struct __kfifo *fifo, const void __user *from, in __kfifo_from_user_r() argument 522 ret = kfifo_copy_from_user(fifo, from, len, fifo->in + recsize, copied); in __kfifo_from_user_r()
|
A D | iov_iter.c | 18 size_t len, void *from, void *priv2) in copy_to_user_iter() argument 23 from += progress; in copy_to_user_iter() 24 instrument_copy_to_user(iter_to, from, len); in copy_to_user_iter() 25 len = raw_copy_to_user(iter_to, from, len); in copy_to_user_iter() 32 size_t len, void *from, void *priv2) in copy_to_user_iter_nofault() argument 39 from += progress; in copy_to_user_iter_nofault() 63 size_t len, void *from, void *priv2) in memcpy_to_iter() argument 65 memcpy(iter_to, from + progress, len); in memcpy_to_iter() 193 size_t len, void *from, void *priv2) in copy_to_user_iter_mc() argument 196 from += progress; in copy_to_user_iter_mc() [all …]
|
A D | Kconfig.kgdb | 7 # function to enable gdb stub to address XML packet sent from GDB. 108 0x0002 - allow arbitrary reads from memory and symbol lookup
|
A D | Kconfig.kmsan | 37 bool "Check for uninitialized values passed to and returned from functions"
|
A D | string_helpers.c | 173 int parse_int_array_user(const char __user *from, size_t count, int **array) in parse_int_array_user() argument 178 buf = memdup_user_nul(from, count); in parse_int_array_user()
|
A D | Kconfig.debug | 32 line which was divided into multiple lines due to race) came from. 488 references from one section to another section. 528 # Select this config option from the architecture Kconfig, if it 1291 call trace if it comes from waiting a mutex. 1312 them from stalling other per-cpu work items. Occassional 1709 time. This is really bad from a security perspective, and 2109 and to test how the mmc host driver handles retries from 2230 Set number of iterations from kernel command line: 2234 Set number of iterations from userspace: 2238 Trigger manual run from userspace: [all …]
|
A D | Kconfig.kcsan | 39 distinguish them from other plain accesses. This is currently 52 generated from any one of them, system stability may suffer due to
|
/lib/zlib_inflate/ |
A D | inffast.c | 187 from = window; in inflate_fast() 189 from += wsize - op; in inflate_fast() 206 from = window; in inflate_fast() 228 *out++ = *from++; in inflate_fast() 229 *out++ = *from++; in inflate_fast() 230 *out++ = *from++; in inflate_fast() 234 *out++ = *from++; in inflate_fast() 247 *out++ = *from++; in inflate_fast() 254 sfrom = (unsigned short *)(from); in inflate_fast() 263 from = (unsigned char *)sfrom; in inflate_fast() [all …]
|
A D | inflate.c | 341 unsigned char *from; /* where to copy match bytes from */ in zlib_inflate() local 680 from = state->window + (state->wsize - copy); in zlib_inflate() 683 from = state->window + (state->write - copy); in zlib_inflate() 687 from = put - state->offset; in zlib_inflate() 694 *put++ = *from++; in zlib_inflate()
|
/lib/tests/ |
A D | kunit_iov_iter.c | 23 int from, to; member 708 int i, from; in iov_kunit_extract_pages_kvec() local 720 from = pr->from; in iov_kunit_extract_pages_kvec() 749 from = pr->from; in iov_kunit_extract_pages_kvec() 787 int i, from; in iov_kunit_extract_pages_bvec() local 798 from = pr->from; in iov_kunit_extract_pages_bvec() 827 from = pr->from; in iov_kunit_extract_pages_bvec() 865 int i, from; in iov_kunit_extract_pages_folioq() local 876 from = pr->from; in iov_kunit_extract_pages_folioq() 944 int i, from; in iov_kunit_extract_pages_xarray() local [all …]
|
A D | util_macros_kunit.c | 11 #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++) { \
|
A D | string_helpers_kunit.c | 484 const char *from = src; in __strchrcut() local 488 len = strcspn(from, cut); in __strchrcut() 489 memcpy(dst, from, len); in __strchrcut() 491 from += len; in __strchrcut() 492 } while (*from++); in __strchrcut()
|
A D | usercopy_kunit.c | 41 static bool is_zeroed(void *from, size_t size) in is_zeroed() argument 43 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
|
/lib/crc/ |
A D | Kconfig | 9 the functions from <linux/crc4.h>. 15 the functions from <linux/crc7.h>. 21 the functions from <linux/crc8.h>. 27 the functions from <linux/crc16.h>. 33 of the functions from <linux/crc-ccitt.h>. 39 any of the functions from <linux/crc-itu-t.h>. 45 any of the functions from <linux/crc-t10dif.h>. 61 the functions from <linux/crc32.h> or <linux/crc32c.h>. 80 the functions from <linux/crc64.h>.
|
/lib/crc/x86/ |
A D | crc32c-3way.S | 105 # Compute floor(len / 24) to get num qwords to process from each lane. 111 # Processing 128 qwords from each lane. 122 shl $3, chunk_bytes # num bytes to process from each lane
|
/lib/crypto/ |
A D | Kconfig | 144 uses any of the functions from <crypto/sha1.h>. 161 Select this if your module uses any of these functions from 180 Select this if your module uses any of these functions from 199 if !KMSAN # avoid false positives from assembly
|
/lib/raid6/ |
A D | int.uc | 27 /* Change this from BITS_PER_LONG if there is something better... */
|
/lib/crypto/x86/ |
A D | chacha-avx512vl-x86_64.S | 172 # xor remaining bytes from partial register into output 438 # xor remaining bytes from partial register into output 467 # mostly benefits from the new rotate instructions in VL and the 818 # xor remaining bytes from partial register into output
|
A D | sha512-avx-asm.S | 14 # General Public License (GPL) Version 2, available from the file 131 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
|
A D | sha512-ssse3-asm.S | 14 # General Public License (GPL) Version 2, available from the file 125 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
|
A D | chacha-avx2-x86_64.S | 199 # xor remaining bytes from partial register into output 504 # xor remaining bytes from partial register into output 998 # xor remaining bytes from partial register into output
|
/lib/crypto/powerpc/ |
A D | poly1305-p10le_64.S | 493 # load key from r3 to vectors 850 # load key from r3
|