Lines Matching refs:size_t
15 extern void *memdup_user(const void __user *, size_t);
16 extern void *vmemdup_user(const void __user *, size_t);
17 extern void *memdup_user_nul(const void __user *, size_t);
28 static inline void *memdup_array_user(const void __user *src, size_t n, size_t size) in memdup_array_user()
30 size_t nbytes; in memdup_array_user()
47 static inline void *vmemdup_array_user(const void __user *src, size_t n, size_t size) in vmemdup_array_user()
49 size_t nbytes; in vmemdup_array_user()
69 size_t strlcpy(char *, const char *, size_t);
72 ssize_t strscpy(char *, const char *, size_t);
76 ssize_t strscpy_pad(char *dest, const char *src, size_t count);
85 extern size_t strlcat(char *, const char *, __kernel_size_t);
97 extern int strncasecmp(const char *s1, const char *s2, size_t n);
105 extern char * strnchrnul(const char *, size_t, int);
107 extern char * strnchr(const char *, size_t, int);
125 extern char * strnstr(const char *, const char *, size_t);
205 static inline void memcpy_flushcache(void *dst, const void *src, size_t cnt) in memcpy_flushcache()
211 void *memchr_inv(const void *s, int c, size_t n);
218 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
219 extern void *kmemdup(const void *src, size_t len, gfp_t gfp) __realloc_size(2);
220 extern void *kvmemdup(const void *src, size_t len, gfp_t gfp) __realloc_size(2);
221 extern char *kmemdup_nul(const char *s, size_t len, gfp_t gfp);
227 int match_string(const char * const *array, size_t n, const char *string);
228 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
240 int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args);
241 int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf);
242 int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) __printf(3, 4);
245 extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
246 const void *from, size_t available);
260 size_t memweight(const void *ptr, size_t bytes);
276 static inline void memzero_explicit(void *s, size_t count) in memzero_explicit()
301 void memcpy_and_pad(void *dest, size_t dest_len, const void *src, size_t count,
319 const size_t _dest_len = __builtin_object_size(dest, 1); \
320 const size_t _src_len = __builtin_object_size(src, 1); \
323 _dest_len == (size_t)-1); \
342 const size_t _dest_len = __builtin_object_size(dest, 1); \
343 const size_t _src_len = __builtin_object_size(src, 1); \
346 _dest_len == (size_t)-1); \
400 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) in str_has_prefix()
402 size_t len = strlen(prefix); in str_has_prefix()