Lines Matching refs:size_t
13 extern void *memdup_user(const void __user *, size_t);
14 extern void *vmemdup_user(const void __user *, size_t);
15 extern void *memdup_user_nul(const void __user *, size_t);
29 size_t strlcpy(char *, const char *, size_t);
32 ssize_t strscpy(char *, const char *, size_t);
36 ssize_t strscpy_pad(char *dest, const char *src, size_t count);
45 extern size_t strlcat(char *, const char *, __kernel_size_t);
57 extern int strncasecmp(const char *s1, const char *s2, size_t n);
65 extern char * strnchrnul(const char *, size_t, int);
67 extern char * strnchr(const char *, size_t, int);
85 extern char * strnstr(const char *, const char *, size_t);
165 static inline void memcpy_flushcache(void *dst, const void *src, size_t cnt) in memcpy_flushcache()
171 void *memchr_inv(const void *s, int c, size_t n);
178 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
179 extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
180 extern char *kmemdup_nul(const char *s, size_t len, gfp_t gfp);
186 int match_string(const char * const *array, size_t n, const char *string);
187 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
199 int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args);
200 int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf);
201 int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) __printf(3, 4);
204 extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
205 const void *from, size_t available);
219 size_t memweight(const void *ptr, size_t bytes);
235 static inline void memzero_explicit(void *s, size_t count) in memzero_explicit()
260 void memcpy_and_pad(void *dest, size_t dest_len, const void *src, size_t count,
278 const size_t _dest_len = __builtin_object_size(dest, 1); \
281 _dest_len == (size_t)-1); \
299 const size_t _dest_len = __builtin_object_size(dest, 1); \
302 _dest_len == (size_t)-1); \
356 static __always_inline size_t str_has_prefix(const char *str, const char *prefix) in str_has_prefix()
358 size_t len = strlen(prefix); in str_has_prefix()