Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 34) sorted by relevance

12

/lib/
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()
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 Diomap_copy.c20 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 Dparser.c66 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 Dkfifo.c190 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 Diov_iter.c18 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 DKconfig.kgdb7 # function to enable gdb stub to address XML packet sent from GDB.
108 0x0002 - allow arbitrary reads from memory and symbol lookup
A DKconfig.kmsan37 bool "Check for uninitialized values passed to and returned from functions"
A Dstring_helpers.c173 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 DKconfig.debug32 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 DKconfig.kcsan39 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 Dinffast.c187 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 Dinflate.c341 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 Dkunit_iov_iter.c23 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 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++) { \
A Dstring_helpers_kunit.c484 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 Dusercopy_kunit.c41 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 DKconfig9 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 Dcrc32c-3way.S105 # 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 DKconfig144 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 Dint.uc27 /* Change this from BITS_PER_LONG if there is something better... */
/lib/crypto/x86/
A Dchacha-avx512vl-x86_64.S172 # 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 Dsha512-avx-asm.S14 # General Public License (GPL) Version 2, available from the file
131 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
A Dsha512-ssse3-asm.S14 # General Public License (GPL) Version 2, available from the file
125 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
A Dchacha-avx2-x86_64.S199 # 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 Dpoly1305-p10le_64.S493 # load key from r3 to vectors
850 # load key from r3

Completed in 782 milliseconds

12