Home
last modified time | relevance | path

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

/lib/
Dusercopy.c8 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument
12 if (likely(access_ok(from, n))) { in _copy_from_user()
14 res = raw_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
28 kasan_check_read(from, n); in _copy_to_user()
29 n = raw_copy_to_user(to, from, n); in _copy_to_user()
50 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
53 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
58 from -= align; in check_zeroed_user()
61 if (!user_access_begin(from, size)) 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.c56 args[argc].from = s; in match_one()
80 if (args[argc].to == args[argc].from) in match_one()
301 size_t ret = src->to - src->from; in match_strlcpy()
305 memcpy(dest, src->from, len); in match_strlcpy()
322 return kmemdup_nul(s->from, s->to - s->from, GFP_KERNEL); in match_strdup()
Diov_iter.c138 static int copyout(void __user *to, const void *from, size_t n) in copyout() argument
141 kasan_check_read(from, n); in copyout()
142 n = raw_copy_to_user(to, from, n); in copyout()
147 static int copyin(void *to, const void __user *from, size_t n) in copyin() argument
149 if (access_ok(from, n)) { in copyin()
151 n = raw_copy_from_user(to, from, n); in copyin()
162 void *kaddr, *from; in copy_page_to_iter_iovec() local
179 from = kaddr + offset; in copy_page_to_iter_iovec()
182 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
185 from += copy; in copy_page_to_iter_iovec()
[all …]
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()
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.debug32 line which was divided into multiple lines due to race) came from.
227 Generate deduplicated BTF type information from DWARF debug info.
317 developers have marked 'inline'. Doing so takes away freedom from gcc to
329 references from one section to another section.
356 # Select this config option from the architecture Kconfig, if it
1301 time. This is really bad from a security perspective, and
1387 modules properly unregister themselves from notifier chains.
1397 pointers from task_structs to any given cred struct, and checks to
1434 Conventionally, block device numbers are allocated from
1437 option forces most block device numbers to be allocated from
[all …]
DKconfig.kgdb88 0x0002 - allow arbitrary reads from memory and symbol lookup
DKconfig542 Multiprecision maths library from GnuPG.
/lib/zlib_inflate/
Dinffast.c114 unsigned char *from; /* where to copy match from */ in inflate_fast() local
208 from = window - OFF; in inflate_fast()
210 from += wsize - op; in inflate_fast()
214 PUP(out) = PUP(from); in inflate_fast()
216 from = out - dist; /* rest from output */ in inflate_fast()
220 from += wsize + write - op; in inflate_fast()
225 PUP(out) = PUP(from); in inflate_fast()
227 from = window - OFF; in inflate_fast()
232 PUP(out) = PUP(from); in inflate_fast()
234 from = out - dist; /* rest from output */ in inflate_fast()
[all …]
Dinflate.c327 unsigned char *from; /* where to copy match bytes from */ in zlib_inflate() local
665 from = state->window + (state->wsize - copy); in zlib_inflate()
668 from = state->window + (state->write - copy); in zlib_inflate()
672 from = put - state->offset; in zlib_inflate()
679 *put++ = *from++; in zlib_inflate()
/lib/raid6/
Dint.uc27 /* Change this from BITS_PER_LONG if there is something better... */