Home
last modified time | relevance | path

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

/lib/
Dusercopy.c11 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
15 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
22 instrument_copy_from_user(to, from, n); in _copy_from_user()
23 res = raw_copy_from_user(to, from, n); in _copy_from_user()
33 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument
39 instrument_copy_to_user(to, from, n); in _copy_to_user()
40 n = raw_copy_to_user(to, from, n); in _copy_to_user()
61 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
64 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
69 from -= align; in check_zeroed_user()
[all …]
Diomap_copy.c20 const void *from, in __iowrite32_copy() argument
24 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 const void *from, in __iowrite64_copy() argument
69 const u64 *src = from; in __iowrite64_copy()
75 __iowrite32_copy(to, from, count * 2); in __iowrite64_copy()
Dparser.c57 args[argc].from = s; in match_one()
81 if (args[argc].to == args[argc].from) in match_one()
336 size_t ret = src->to - src->from; in match_strlcpy()
340 memcpy(dest, src->from, len); in match_strlcpy()
360 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
Dkfifo.c176 const void __user *from, unsigned int len, unsigned int off, in kfifo_copy_from_user() argument
192 ret = copy_from_user(fifo->data + off, from, l); in kfifo_copy_from_user()
196 ret = copy_from_user(fifo->data, from + l, len - l); in kfifo_copy_from_user()
210 int __kfifo_from_user(struct __kfifo *fifo, const void __user *from, in __kfifo_from_user() argument
225 ret = kfifo_copy_from_user(fifo, from, len, fifo->in, copied); in __kfifo_from_user()
499 int __kfifo_from_user_r(struct __kfifo *fifo, const void __user *from, in __kfifo_from_user_r() argument
513 ret = kfifo_copy_from_user(fifo, from, len, fifo->in + recsize, copied); in __kfifo_from_user_r()
Diov_iter.c151 static int copyout(void __user *to, const void *from, size_t n) in copyout() argument
156 instrument_copy_to_user(to, from, n); in copyout()
157 n = raw_copy_to_user(to, from, n); in copyout()
162 static int copyin(void *to, const void __user *from, size_t n) in copyin() argument
166 if (access_ok(from, n)) { in copyin()
167 instrument_copy_from_user(to, from, n); in copyin()
168 n = raw_copy_from_user(to, from, n); in copyin()
179 void *kaddr, *from; in copy_page_to_iter_iovec() local
196 from = kaddr + offset; in copy_page_to_iter_iovec()
199 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
[all …]
Dtest_user_copy.c42 static bool is_zeroed(void *from, size_t size) in is_zeroed() argument
44 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
DKconfig.kgdb7 # function to enable gdb stub to address XML packet sent from GDB.
108 0x0002 - allow arbitrary reads from memory and symbol lookup
DKconfig.kcsan49 distinguish them from other plain accesses. This is currently
62 generated from any one of them, system stability may suffer due to
DKconfig.debug32 line which was divided into multiple lines due to race) came from.
326 Generate deduplicated BTF type information from DWARF debug info.
408 references from one section to another section.
438 There are cases that a commit from one domain changes the function
447 # Select this config option from the architecture Kconfig, if it
1524 bool "Debugging for csd_lock_wait(), called from smp_call_function*()"
1579 time. This is really bad from a security perspective, and
1657 modules properly unregister themselves from notifier chains.
1679 pointers from task_structs to any given cred struct, and checks to
1745 firescope and access all memory below 4GB using fireproxy from gdb.
[all …]
DKconfig.ubsan83 pointer that is derived from an object of a statically-known size,
DKconfig.kasan115 Supported only on arm64 CPUs starting from ARMv8.5 and relies on
DKconfig583 Multiprecision maths library from GnuPG.
/lib/zlib_inflate/
Dinffast.c93 unsigned char *from; /* where to copy match from */ in inflate_fast() local
187 from = window; in inflate_fast()
189 from += wsize - op; in inflate_fast()
193 *out++ = *from++; in inflate_fast()
195 from = out - dist; /* rest from output */ in inflate_fast()
199 from += wsize + write - op; in inflate_fast()
204 *out++ = *from++; in inflate_fast()
206 from = window; in inflate_fast()
211 *out++ = *from++; in inflate_fast()
213 from = out - dist; /* rest from output */ in inflate_fast()
[all …]
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/raid6/
Dint.uc27 /* Change this from BITS_PER_LONG if there is something better... */