Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 753) sorted by relevance

12345678910>>...31

/arch/s390/include/asm/
Dstring.h34 extern int memcmp(const void *, const void *, size_t);
35 extern void *memcpy(void *, const void *, size_t);
36 extern void *memset(void *, int, size_t);
37 extern void *memmove(void *, const void *, size_t);
39 extern size_t strlcat(char *, const char *, size_t);
40 extern size_t strlcpy(char *, const char *, size_t);
41 extern char *strncat(char *, const char *, size_t);
42 extern char *strncpy(char *, const char *, size_t);
55 static inline void *memchr(const void * s, int c, size_t n) in memchr()
70 static inline void *memscan(void *s, int c, size_t n) in memscan()
[all …]
/arch/alpha/include/asm/
Dstring.h15 extern void * memcpy(void *, const void *, size_t);
17 extern void * memmove(void *, const void *, size_t);
20 extern void * __memcpy(void *, const void *, size_t);
25 extern void * __constant_c_memset(void *, unsigned long, size_t);
26 extern void * ___memset(void *, int, size_t);
27 extern void * __memset(void *, int, size_t);
28 extern void * memset(void *, int, size_t);
33 extern inline void *__memset(void *s, int c, size_t n) in __memset()
51 extern char * strncpy(char *, const char *, size_t);
55 extern char * strncat(char *, const char *, size_t);
[all …]
/arch/s390/lib/
Dstring.c29 static inline char *__strnend(const char *s, size_t n) in __strnend()
46 size_t strlen(const char *s) in strlen()
59 size_t strnlen(const char * s, size_t n) in strnlen()
96 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy()
98 size_t ret = __strend(src) - src; in strlcpy()
101 size_t len = (ret >= size) ? size-1 : ret; in strlcpy()
118 char *strncpy(char *dest, const char *src, size_t n) in strncpy()
120 size_t len = __strnend(src, n) - src; in strncpy()
156 size_t strlcat(char *dest, const char *src, size_t n) in strlcat()
158 size_t dsize = __strend(dest) - dest; in strlcat()
[all …]
/arch/x86/include/asm/
Dstring_64.h11 static __always_inline void *__inline_memcpy(void *to, const void *from, size_t n) in __inline_memcpy()
32 extern void *memcpy(void *to, const void *from, size_t len);
33 extern void *__memcpy(void *to, const void *from, size_t len);
39 size_t __len = (len); \
51 void *memset(void *s, int c, size_t n);
52 void *__memset(void *s, int c, size_t n);
55 static inline void *memset16(uint16_t *s, uint16_t v, size_t n) in memset16()
67 static inline void *memset32(uint32_t *s, uint32_t v, size_t n) in memset32()
79 static inline void *memset64(uint64_t *s, uint64_t v, size_t n) in memset64()
91 void *memmove(void *dest, const void *src, size_t count);
[all …]
Dstring_32.h13 extern char *strncpy(char *dest, const char *src, size_t count);
19 extern char *strncat(char *dest, const char *src, size_t count);
25 extern int strncmp(const char *cs, const char *ct, size_t count);
31 extern size_t strlen(const char *s);
33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy()
53 size_t n) in __constant_memcpy()
146 extern void *memcpy(void *, const void *, size_t);
157 static inline void *__constant_memcpy3d(void *to, const void *from, size_t len) in __constant_memcpy3d()
164 static inline void *__memcpy3d(void *to, const void *from, size_t len) in __memcpy3d()
195 void *memmove(void *dest, const void *src, size_t n);
[all …]
/arch/powerpc/boot/
Dstring.h7 extern char *strncpy(char *dest, const char *src, size_t n);
11 extern int strncmp(const char *s1, const char *s2, size_t n);
12 extern size_t strlen(const char *s);
13 extern size_t strnlen(const char *s, size_t count);
15 extern void *memset(void *s, int c, size_t n);
18 extern void *memchr(const void *s, int c, size_t n);
19 extern int memcmp(const void *s1, const void *s2, size_t n);
/arch/cris/include/uapi/arch-v32/arch/
Dcryptocop.h76 size_t keylen;
89 size_t inlen; /* Total indata length. */
95 size_t cipher_start;
96 size_t cipher_len;
103 size_t cipher_outlen;
107 size_t digest_start;
108 size_t digest_len;
114 size_t csum_start;
115 size_t csum_len;
/arch/blackfin/include/asm/
Dbfin-global.h63 extern void *l1_data_A_sram_alloc(size_t);
64 extern void *l1_data_B_sram_alloc(size_t);
65 extern void *l1_inst_sram_alloc(size_t);
66 extern void *l1_data_sram_alloc(size_t);
67 extern void *l1_data_sram_zalloc(size_t);
68 extern void *l2_sram_alloc(size_t);
69 extern void *l2_sram_zalloc(size_t);
82 extern void *sram_alloc_with_lsl(size_t, unsigned long);
85 extern void *isram_memcpy(void *dest, const void *src, size_t n);
Dstring.h18 extern char *strncpy(char *dest, const char *src, size_t n);
24 extern int strncmp(const char *cs, const char *ct, size_t count);
27 extern void *memset(void *s, int c, size_t count);
29 extern void *memcpy(void *d, const void *s, size_t count);
33 extern void *memchr(const void *s, int c, size_t n);
35 extern void *memmove(void *dest, const void *src, size_t count);
/arch/x86/boot/
Dstring.h10 void *memcpy(void *dst, const void *src, size_t len);
11 void *memset(void *dst, int c, size_t len);
12 int memcmp(const void *s1, const void *s2, size_t len);
23 extern int strncmp(const char *cs, const char *ct, size_t count);
24 extern size_t strlen(const char *s);
27 extern size_t strnlen(const char *s, size_t maxlen);
/arch/arm64/include/asm/
Dcacheflush.h69 extern void __flush_dcache_area(void *addr, size_t len);
70 extern void __inval_dcache_area(void *addr, size_t len);
71 extern void __clean_dcache_area_poc(void *addr, size_t len);
72 extern void __clean_dcache_area_pop(void *addr, size_t len);
73 extern void __clean_dcache_area_pou(void *addr, size_t len);
94 extern void __dma_map_area(const void *, size_t, int);
95 extern void __dma_unmap_area(const void *, size_t, int);
96 extern void __dma_flush_area(const void *, size_t);
/arch/sparc/include/asm/
Dasm-prototypes.h16 void *__memscan_zero(void *, size_t);
17 void *__memscan_generic(void *, int, size_t);
18 void *__bzero(void *, size_t);
22 void *memcpy(void *dest, const void *src, size_t n);
23 void *memset(void *s, int c, size_t n);
/arch/sh/include/asm/
Dstring_32.h31 static inline char *strncpy(char *__dest, const char *__src, size_t __n) in strncpy()
83 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) in strncmp()
115 extern void *memset(void *__s, int __c, size_t __count);
118 extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
121 extern void *memmove(void *__dest, __const__ void *__src, size_t __n);
124 extern void *memchr(const void *__s, int __c, size_t __n);
127 extern size_t strlen(const char *);
Dsram.h13 static inline unsigned long sram_alloc(size_t len) in sram_alloc()
21 static inline void sram_free(unsigned long addr, size_t len) in sram_free()
28 static inline unsigned long sram_alloc(size_t len) in sram_alloc()
33 static inline void sram_free(unsigned long addr, size_t len) in sram_free()
/arch/x86/include/asm/xen/
Dpage-coherent.h8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages()
17 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages()
25 dma_addr_t dev_addr, unsigned long offset, size_t size, in xen_dma_map_page()
29 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page()
33 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_cpu()
36 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_device()
/arch/arm/boot/compressed/
Dstring.c10 void *memcpy(void *__dest, __const void *__src, size_t __n) in memcpy()
44 void *memmove(void *__dest, __const void *__src, size_t count) in memmove()
60 size_t strlen(const char *s) in strlen()
69 size_t strnlen(const char *s, size_t count) in strnlen()
78 int memcmp(const void *cs, const void *ct, size_t count) in memcmp()
106 void *memchr(const void *s, int c, size_t count) in memchr()
126 void *memset(void *s, int c, size_t count) in memset()
134 void __memzero(void *s, size_t count) in __memzero()
/arch/x86/lib/
Dstring_32.c33 char *strncpy(char *dest, const char *src, size_t count) in strncpy()
71 char *strncat(char *dest, const char *src, size_t count) in strncat()
118 int strncmp(const char *cs, const char *ct, size_t count) in strncmp()
165 size_t strlen(const char *s) in strlen()
168 size_t res; in strlen()
180 void *memchr(const void *cs, int c, size_t count) in memchr()
200 void *memscan(void *addr, int c, size_t size) in memscan()
217 size_t strnlen(const char *s, size_t count) in strnlen()
/arch/powerpc/include/asm/
Ddma-mapping.h22 extern void *__dma_direct_alloc_coherent(struct device *dev, size_t size,
25 extern void __dma_direct_free_coherent(struct device *dev, size_t size,
31 size_t size, unsigned long attrs);
42 extern void *__dma_alloc_coherent(struct device *dev, size_t size,
44 extern void __dma_free_coherent(size_t size, void *vaddr);
45 extern void __dma_sync(void *vaddr, size_t size, int direction);
47 size_t size, int direction);
118 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
145 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/arch/tile/include/asm/
Dcacheflush.h79 static inline void __flush_buffer(void *buffer, size_t size) in __flush_buffer()
90 static inline void __finv_buffer(void *buffer, size_t size) in __finv_buffer()
105 static inline void flush_buffer_local(void *buffer, size_t size) in flush_buffer_local()
115 static inline void finv_buffer_local(void *buffer, size_t size) in finv_buffer_local()
123 static inline void __inv_buffer(void *buffer, size_t size) in __inv_buffer()
134 static inline void inv_buffer(void *buffer, size_t size) in inv_buffer()
148 void finv_buffer_remote(void *buffer, size_t size, int hfh);
/arch/arm/include/asm/
Dio.h142 extern void __iomem *__arm_ioremap_caller(phys_addr_t, size_t, unsigned int,
144 extern void __iomem *__arm_ioremap_pfn(unsigned long, unsigned long, size_t, unsigned int);
145 extern void __iomem *__arm_ioremap_exec(phys_addr_t, size_t, bool cached);
148 extern void __iomem * (*arch_ioremap_caller)(phys_addr_t, size_t,
198 void __iomem *pci_remap_cfgspace(resource_size_t res_cookie, size_t size);
281 extern void _memcpy_fromio(void *, const volatile void __iomem *, size_t);
282 extern void _memcpy_toio(volatile void __iomem *, const void *, size_t);
283 extern void _memset_io(volatile void __iomem *, int, size_t);
326 size_t count) in memset_io()
328 extern void mmioset(void *, unsigned int, size_t); in memset_io()
[all …]
/arch/cris/include/arch-v32/arch/
Dcryptocop.h68 size_t length;
92 size_t inject_ix;
120 size_t incount;
121 size_t inlen; /* Total inlength. */
124 size_t outcount;
125 size_t outlen; /* Total outlength. */
/arch/x86/boot/compressed/
Dstring.c14 static void *__memcpy(void *dest, const void *src, size_t n) in __memcpy()
28 static void *__memcpy(void *dest, const void *src, size_t n) in __memcpy()
43 void *memset(void *s, int c, size_t n) in memset()
53 void *memmove(void *dest, const void *src, size_t n) in memmove()
68 void *memcpy(void *dest, const void *src, size_t n) in memcpy()
/arch/xtensa/include/asm/
Dstring.h38 static inline char *strncpy(char *__dest, const char *__src, size_t __n) in strncpy()
85 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) in strncmp()
110 extern void *memset(void *__s, int __c, size_t __count);
113 extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
116 extern void *memmove(void *__dest, __const__ void *__src, size_t __n);
/arch/tile/lib/
Dstrnlen_32.c19 size_t strnlen(const char *s, size_t count) in strnlen()
24 size_t bytes_read = sizeof(*p) - (s_int & (sizeof(*p) - 1)); in strnlen()
25 size_t len; in strnlen()
Dstrnlen_64.c20 size_t strnlen(const char *s, size_t count) in strnlen()
25 size_t bytes_read = sizeof(*p) - (s_int & (sizeof(*p) - 1)); in strnlen()
26 size_t len; in strnlen()

12345678910>>...31