Home
last modified time | relevance | path

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

12345678910>>...29

/arch/s390/include/asm/
Dstring.h32 extern int memcmp(const void *, const void *, size_t);
33 extern void *memcpy(void *, const void *, size_t);
34 extern void *memset(void *, int, size_t);
36 extern size_t strlcat(char *, const char *, size_t);
37 extern size_t strlcpy(char *, const char *, size_t);
38 extern char *strncat(char *, const char *, size_t);
39 extern char *strncpy(char *, const char *, size_t);
54 static inline void *memchr(const void * s, int c, size_t n) in memchr()
69 static inline void *memscan(void *s, int c, size_t n) in memscan()
110 static inline size_t strlen(const char *s) in strlen()
[all …]
/arch/alpha/include/asm/
Dstring.h14 extern void * memcpy(void *, const void *, size_t);
16 extern void * memmove(void *, const void *, size_t);
19 extern void * __memcpy(void *, const void *, size_t);
24 extern void * __constant_c_memset(void *, unsigned long, size_t);
25 extern void * ___memset(void *, int, size_t);
26 extern void * __memset(void *, int, size_t);
27 extern void * memset(void *, int, size_t);
32 extern inline void *__memset(void *s, int c, size_t n) in __memset()
50 extern char * strncpy(char *, const char *, size_t);
54 extern char * strncat(char *, const char *, size_t);
[all …]
/arch/s390/lib/
Dstring.c27 static inline char *__strnend(const char *s, size_t n) in __strnend()
44 size_t strlen(const char *s) in strlen()
57 size_t strnlen(const char * s, size_t n) in strnlen()
94 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy()
96 size_t ret = __strend(src) - src; in strlcpy()
99 size_t len = (ret >= size) ? size-1 : ret; in strlcpy()
116 char *strncpy(char *dest, const char *src, size_t n) in strncpy()
118 size_t len = __strnend(src, n) - src; in strncpy()
154 size_t strlcat(char *dest, const char *src, size_t n) in strlcat()
156 size_t dsize = __strend(dest) - dest; in strlcat()
[all …]
/arch/m68k/include/asm/
Ddma-mapping.h18 extern void *dma_alloc_coherent(struct device *, size_t,
20 extern void dma_free_coherent(struct device *, size_t,
23 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
31 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
39 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
44 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
49 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
55 extern dma_addr_t dma_map_single(struct device *, void *, size_t,
58 size_t size, enum dma_data_direction dir) in dma_unmap_single()
63 unsigned long, size_t size,
[all …]
/arch/powerpc/boot/
Dstring.h6 extern char *strncpy(char *dest, const char *src, size_t n);
10 extern int strncmp(const char *s1, const char *s2, size_t n);
11 extern size_t strlen(const char *s);
12 extern size_t strnlen(const char *s, size_t count);
14 extern void *memset(void *s, int c, size_t n);
17 extern void *memchr(const void *s, int c, size_t n);
18 extern int memcmp(const void *s1, const void *s2, size_t n);
/arch/cris/include/uapi/arch-v32/arch/
Dcryptocop.h75 size_t keylen;
88 size_t inlen; /* Total indata length. */
94 size_t cipher_start;
95 size_t cipher_len;
102 size_t cipher_outlen;
106 size_t digest_start;
107 size_t digest_len;
113 size_t csum_start;
114 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);
Ddma-mapping.h13 void *dma_alloc_coherent(struct device *dev, size_t size,
15 void dma_free_coherent(struct device *dev, size_t size, void *vaddr,
43 __dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir);
45 __dma_sync_inline(dma_addr_t addr, size_t size, enum dma_data_direction dir) in __dma_sync_inline()
61 _dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir) in _dma_sync()
70 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
79 unsigned long offset, size_t size, in dma_map_page()
86 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
93 dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_page()
111 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
[all …]
/arch/xtensa/include/asm/
Ddma-mapping.h25 extern void *consistent_alloc(int, size_t, dma_addr_t, unsigned long);
26 extern void consistent_free(void*, size_t, dma_addr_t);
27 extern void consistent_sync(void*, size_t, int);
32 void *dma_alloc_coherent(struct device *dev, size_t size,
35 void dma_free_coherent(struct device *dev, size_t size,
39 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
48 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
74 size_t size, enum dma_data_direction direction) in dma_map_page()
81 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
96 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
[all …]
/arch/x86/include/asm/
Dstring_64.h9 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);
34 extern void *__memcpy(void *to, const void *from, size_t len);
37 size_t __len = (len); \
55 void *memset(void *s, int c, size_t n);
58 void *memmove(void *dest, const void *src, size_t count);
60 int memcmp(const void *cs, const void *ct, size_t count);
61 size_t strlen(const char *s);
Dstring_32.h12 extern char *strncpy(char *dest, const char *src, size_t count);
18 extern char *strncat(char *dest, const char *src, size_t count);
24 extern int strncmp(const char *cs, const char *ct, size_t count);
30 extern size_t strlen(const char *s);
32 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy()
52 size_t n) in __constant_memcpy()
154 static inline void *__constant_memcpy3d(void *to, const void *from, size_t len) in __constant_memcpy3d()
161 static inline void *__memcpy3d(void *to, const void *from, size_t len) in __memcpy3d()
200 void *memmove(void *dest, const void *src, size_t n);
205 extern void *memchr(const void *cs, int c, size_t count);
[all …]
/arch/x86/boot/
Dstring.h9 void *memcpy(void *dst, const void *src, size_t len);
10 void *memset(void *dst, int c, size_t len);
11 int memcmp(const void *s1, const void *s2, size_t len);
22 extern int strncmp(const char *cs, const char *ct, size_t count);
23 extern size_t strlen(const char *s);
25 extern size_t strnlen(const char *s, size_t maxlen);
/arch/cris/include/asm/
Ddma-mapping.h19 void *dma_alloc_coherent(struct device *dev, size_t size,
22 void dma_free_coherent(struct device *dev, size_t size,
26 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
34 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent()
41 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
49 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
65 size_t size, enum dma_data_direction direction) in dma_map_page()
72 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
87 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
93 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
[all …]
/arch/frv/include/asm/
Ddma-mapping.h21 void *dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp);
22 void dma_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle);
24 extern dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size,
28 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
46 size_t size, enum dma_data_direction direction);
49 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
57 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
63 void dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
71 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
78 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
[all …]
/arch/mn10300/include/asm/
Ddma-mapping.h25 extern void *dma_alloc_coherent(struct device *dev, size_t size,
28 extern void dma_free_coherent(struct device *dev, size_t size,
35 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
44 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
79 unsigned long offset, size_t size, in dma_map_page()
87 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
95 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
101 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
108 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
115 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
[all …]
/arch/parisc/include/asm/
Ddma-mapping.h11 void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag);
12 void *(*alloc_noncoherent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag);
13 void (*free_consistent)(struct device *dev, size_t size, void *vaddr, dma_addr_t iova);
14 …dma_addr_t (*map_single)(struct device *dev, void *addr, size_t size, enum dma_data_direction dire…
15 …void (*unmap_single)(struct device *dev, dma_addr_t iova, size_t size, enum dma_data_direction dir…
18 …void (*dma_sync_single_for_cpu)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t
19 …e_for_device)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_dat…
55 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
62 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent()
69 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
[all …]
/arch/avr32/include/asm/
Ddma-mapping.h11 extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
54 extern void *dma_alloc_coherent(struct device *dev, size_t size,
70 extern void dma_free_coherent(struct device *dev, size_t size,
84 extern void *dma_alloc_writecombine(struct device *dev, size_t size,
100 extern void dma_free_writecombine(struct device *dev, size_t size,
117 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single()
139 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
161 unsigned long offset, size_t size, in dma_map_page()
183 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
265 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
[all …]
/arch/arc/include/asm/
Ddma-mapping.h34 void *dma_alloc_noncoherent(struct device *dev, size_t size,
37 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr,
40 void *dma_alloc_coherent(struct device *dev, size_t size,
43 void dma_free_coherent(struct device *dev, size_t size, void *kvaddr,
48 void *cpu_addr, dma_addr_t dma_addr, size_t size);
51 size_t size);
62 static inline void __inline_dma_cache_sync(unsigned long paddr, size_t size, in __inline_dma_cache_sync()
80 void __arc_dma_cache_sync(unsigned long paddr, size_t size,
93 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single()
102 size_t size, enum dma_data_direction dir) in dma_unmap_single()
[all …]
/arch/metag/include/asm/
Ddma-mapping.h14 void *dma_alloc_coherent(struct device *dev, size_t size,
17 void dma_free_coherent(struct device *dev, size_t size,
20 void dma_sync_for_device(void *vaddr, size_t size, int dma_direction);
21 void dma_sync_for_cpu(void *vaddr, size_t size, int dma_direction);
24 void *cpu_addr, dma_addr_t dma_addr, size_t size);
27 void *cpu_addr, dma_addr_t dma_addr, size_t size);
30 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
40 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
69 size_t size, enum dma_data_direction direction) in dma_map_page()
78 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
[all …]
/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 *);
/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 unsigned long offset, size_t size, enum dma_data_direction dir, 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/x86/lib/
Dstring_32.c32 char *strncpy(char *dest, const char *src, size_t count) in strncpy()
70 char *strncat(char *dest, const char *src, size_t count) in strncat()
117 int strncmp(const char *cs, const char *ct, size_t count) in strncmp()
164 size_t strlen(const char *s) in strlen()
167 size_t res; in strlen()
179 void *memchr(const void *cs, int c, size_t count) in memchr()
199 void *memscan(void *addr, int c, size_t size) in memscan()
216 size_t strnlen(const char *s, size_t count) in strnlen()
/arch/c6x/include/asm/
Ddma-mapping.h40 size_t size, enum dma_data_direction dir);
43 size_t size, enum dma_data_direction dir);
52 unsigned long offset, size_t size, in dma_map_page()
65 size_t size, enum dma_data_direction dir) in dma_unmap_page()
73 size_t size, enum dma_data_direction dir);
76 size_t size,
86 extern void *dma_alloc_coherent(struct device *, size_t, dma_addr_t *, gfp_t);
87 extern void dma_free_coherent(struct device *, size_t, void *, dma_addr_t);
95 dma_addr_t dma_addr, size_t size) in dma_mmap_coherent()
102 size_t size) in dma_get_sgtable()
/arch/arm64/include/asm/xen/
Dpage-coherent.h8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages()
15 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages()
23 unsigned long offset, size_t size, enum dma_data_direction dir, in xen_dma_map_page()
29 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page()
35 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu()
40 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device()

12345678910>>...29