Home
last modified time | relevance | path

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

12345678910>>...145

/linux-3.4.99/arch/s390/include/asm/
Dstring.h36 extern int memcmp(const void *, const void *, size_t);
37 extern void *memcpy(void *, const void *, size_t);
38 extern void *memset(void *, int, size_t);
40 extern size_t strlcat(char *, const char *, size_t);
41 extern size_t strlcpy(char *, const char *, size_t);
42 extern char *strncat(char *, const char *, size_t);
43 extern char *strncpy(char *, const char *, size_t);
58 static inline void *memchr(const void * s, int c, size_t n) in memchr()
73 static inline void *memscan(void *s, int c, size_t n) in memscan()
118 static inline size_t strlen(const char *s) in strlen()
[all …]
Duaccess.h80 size_t (*copy_from_user)(size_t, const void __user *, void *);
81 size_t (*copy_from_user_small)(size_t, const void __user *, void *);
82 size_t (*copy_to_user)(size_t, void __user *, const void *);
83 size_t (*copy_to_user_small)(size_t, void __user *, const void *);
84 size_t (*copy_in_user)(size_t, void __user *, const void __user *);
85 size_t (*clear_user)(size_t, void __user *);
86 size_t (*strnlen_user)(size_t, const char __user *);
87 size_t (*strncpy_from_user)(size_t, const char __user *, char *);
100 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
106 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
[all …]
/linux-3.4.99/include/linux/mtd/
Dmtd.h91 size_t len;
92 size_t retlen;
93 size_t ooblen;
94 size_t oobretlen;
181 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
182 size_t *retlen, void **virt, resource_size_t *phys);
183 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
188 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
189 size_t *retlen, u_char *buf);
190 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
[all …]
/linux-3.4.99/include/linux/
Dparport.h176 size_t (*epp_write_data) (struct parport *port, const void *buf,
177 size_t len, int flags);
178 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len,
180 size_t (*epp_write_addr) (struct parport *port, const void *buf,
181 size_t len, int flags);
182 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len,
185 size_t (*ecp_write_data) (struct parport *port, const void *buf,
186 size_t len, int flags);
187 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len,
189 size_t (*ecp_write_addr) (struct parport *port, const void *buf,
[all …]
Drelay.h38 size_t offset; /* current offset into sub-buffer */
39 size_t subbufs_produced; /* count of sub-buffers produced */
40 size_t subbufs_consumed; /* count of sub-buffers consumed */
49 size_t *padding; /* padding counts per sub-buffer */
50 size_t prev_padding; /* temporary variable */
51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */
52 size_t early_bytes; /* bytes consumed before VFS inited */
62 size_t subbuf_size; /* sub-buffer size */
63 size_t n_subbufs; /* number of sub-buffers per buffer */
64 size_t alloc_size; /* total buffer size allocated */
[all …]
Dxattr.h70 size_t (*list)(struct dentry *dentry, char *list, size_t list_size,
71 const char *name, size_t name_len, int handler_flags);
73 size_t size, int handler_flags);
75 size_t size, int flags, int handler_flags);
81 size_t value_len;
84 ssize_t xattr_getsecurity(struct inode *, const char *, void *, size_t);
85 ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t);
86 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size);
87 int __vfs_setxattr_noperm(struct dentry *, const char *, const void *, size_t, int);
88 int vfs_setxattr(struct dentry *, const char *, const void *, size_t, int);
[all …]
Ddma-debug.h38 size_t offset, size_t size,
43 size_t size, int direction, bool map_single);
51 extern void debug_dma_alloc_coherent(struct device *dev, size_t size,
54 extern void debug_dma_free_coherent(struct device *dev, size_t size,
58 dma_addr_t dma_handle, size_t size,
63 size_t size, int direction);
68 size_t size,
74 size_t size, int direction);
102 size_t offset, size_t size, in debug_dma_map_page()
109 size_t size, int direction, in debug_dma_unmap_page()
[all …]
Dstring.h16 extern void *memdup_user(const void __user *, size_t);
30 size_t strlcpy(char *, const char *, size_t);
39 extern size_t strlcat(char *, const char *, __kernel_size_t);
54 extern int strncasecmp(const char *s1, const char *s2, size_t n);
60 extern char * strnchr(const char *, size_t, int);
78 extern char * strnstr(const char *, const char *, size_t);
117 void *memchr_inv(const void *s, int c, size_t n);
120 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
121 extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
130 int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args);
[all …]
Ddma-buf.h87 int (*begin_cpu_access)(struct dma_buf *, size_t, size_t,
89 void (*end_cpu_access)(struct dma_buf *, size_t, size_t,
106 size_t size;
153 size_t size, int flags);
162 int dma_buf_begin_cpu_access(struct dma_buf *dma_buf, size_t start, size_t len,
164 void dma_buf_end_cpu_access(struct dma_buf *dma_buf, size_t start, size_t len,
186 size_t size, int flags) in dma_buf_export()
219 size_t start, size_t len, in dma_buf_begin_cpu_access()
226 size_t start, size_t len, in dma_buf_end_cpu_access()
Dslab.h101 struct kmem_cache *kmem_cache_create(const char *, size_t, size_t,
159 void * __must_check __krealloc(const void *, size_t, gfp_t);
160 void * __must_check krealloc(const void *, size_t, gfp_t);
163 size_t ksize(const void *);
243 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
256 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
272 static inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
277 static inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
301 extern void *__kmalloc_track_caller(size_t, gfp_t, unsigned long);
320 extern void *__kmalloc_node_track_caller(size_t, gfp_t, int, unsigned long);
[all …]
Dkmemleak.h27 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count,
29 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size) __ref;
31 extern void kmemleak_free_part(const void *ptr, size_t size) __ref;
34 size_t size) __ref;
37 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;
40 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
64 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
68 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
73 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size) in kmemleak_alloc_percpu()
79 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part()
[all …]
/linux-3.4.99/arch/s390/lib/
Duaccess.h11 extern size_t copy_from_user_std(size_t, const void __user *, void *);
12 extern size_t copy_to_user_std(size_t, void __user *, const void *);
13 extern size_t strnlen_user_std(size_t, const char __user *);
14 extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
18 extern size_t copy_from_user_pt(size_t, const void __user *, void *);
19 extern size_t copy_to_user_pt(size_t, void __user *, const void *);
Dstring.c28 static inline char *__strnend(const char *s, size_t n) in __strnend()
45 size_t strlen(const char *s) in strlen()
62 size_t strnlen(const char * s, size_t n) in strnlen()
103 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy()
105 size_t ret = __strend(src) - src; in strlcpy()
108 size_t len = (ret >= size) ? size-1 : ret; in strlcpy()
125 char *strncpy(char *dest, const char *src, size_t n) in strncpy()
127 size_t len = __strnend(src, n) - src; in strncpy()
163 size_t strlcat(char *dest, const char *src, size_t n) in strlcat()
165 size_t dsize = __strend(dest) - dest; in strlcat()
[all …]
Duaccess_mvcos.c31 static size_t copy_from_user_mvcos(size_t size, const void __user *ptr, void *x) in copy_from_user_mvcos()
70 static size_t copy_from_user_mvcos_check(size_t size, const void __user *ptr, void *x) in copy_from_user_mvcos_check()
77 static size_t copy_to_user_mvcos(size_t size, void __user *ptr, const void *x) in copy_to_user_mvcos()
106 static size_t copy_to_user_mvcos_check(size_t size, void __user *ptr, in copy_to_user_mvcos_check()
114 static size_t copy_in_user_mvcos(size_t size, void __user *to, in copy_in_user_mvcos()
137 static size_t clear_user_mvcos(size_t size, void __user *to) in clear_user_mvcos()
165 static size_t strnlen_user_mvcos(size_t count, const char __user *src) in strnlen_user_mvcos()
169 size_t done, len, len_str; in strnlen_user_mvcos()
173 len = min(count - done, (size_t) 256); in strnlen_user_mvcos()
184 static size_t strncpy_from_user_mvcos(size_t count, const char __user *src, in strncpy_from_user_mvcos()
[all …]
/linux-3.4.99/arch/arm/include/asm/
Ddma-mapping.h78 static inline void __dma_single_cpu_to_dev(const void *kaddr, size_t size, in __dma_single_cpu_to_dev()
81 extern void ___dma_single_cpu_to_dev(const void *, size_t, in __dma_single_cpu_to_dev()
88 static inline void __dma_single_dev_to_cpu(const void *kaddr, size_t size, in __dma_single_dev_to_cpu()
91 extern void ___dma_single_dev_to_cpu(const void *, size_t, in __dma_single_dev_to_cpu()
99 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
102 size_t, enum dma_data_direction); in __dma_page_cpu_to_dev()
109 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
112 size_t, enum dma_data_direction); in __dma_page_dev_to_cpu()
133 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
139 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
[all …]
/linux-3.4.99/net/sunrpc/
Daddr.c26 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
64 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
65 char *buf, const size_t buflen) in rpc_ntop6()
69 size_t len; in rpc_ntop6()
83 if (unlikely((size_t)rc > sizeof(scopebuf))) in rpc_ntop6()
96 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
102 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
103 char *buf, const size_t buflen) in rpc_ntop6()
111 char *buf, const size_t buflen) in rpc_ntop4()
127 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
[all …]
/linux-3.4.99/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);
38 extern char * strncpy(char *, const char *, size_t);
42 extern char * strncat(char *, const char *, size_t);
48 extern size_t strlen(const char *);
50 extern void * memchr(const void *, int, size_t);
[all …]
/linux-3.4.99/fs/romfs/
Dstorage.c28 void *buf, size_t buflen) in romfs_mtd_read()
30 size_t rlen; in romfs_mtd_read()
41 unsigned long pos, size_t maxlen) in romfs_mtd_strnlen()
44 size_t segment; in romfs_mtd_strnlen()
46 size_t len; in romfs_mtd_strnlen()
51 segment = min_t(size_t, maxlen, 16); in romfs_mtd_strnlen()
71 const char *str, size_t size) in romfs_mtd_strcmp()
74 size_t len, segment; in romfs_mtd_strcmp()
82 segment = min_t(size_t, size + 1, 17); in romfs_mtd_strcmp()
108 void *buf, size_t buflen) in romfs_blk_read()
[all …]
/linux-3.4.99/lib/
Dstring.c37 int strnicmp(const char *s1, const char *s2, size_t len) in strnicmp()
77 int strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp()
122 char *strncpy(char *dest, const char *src, size_t count) in strncpy()
149 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy()
151 size_t ret = strlen(src); in strlcpy()
154 size_t len = (ret >= size) ? size - 1 : ret; in strlcpy()
193 char *strncat(char *dest, const char *src, size_t count) in strncat()
219 size_t strlcat(char *dest, const char *src, size_t count) in strlcat()
221 size_t dsize = strlen(dest); in strlcat()
222 size_t len = strlen(src); in strlcat()
[all …]
/linux-3.4.99/fs/ecryptfs/
Decryptfs_kernel.h53 extern void ecryptfs_to_hex(char *dst, char *src, size_t src_size);
58 size_t enc_key_size;
187 size_t filename_size;
188 size_t encrypted_filename_size;
216 size_t iv_bytes;
217 size_t metadata_size;
218 size_t extent_size; /* Data extent size; default is 4096 */
219 size_t key_size;
220 size_t extent_shift;
297 size_t key_size;
[all …]
/linux-3.4.99/arch/m68k/include/asm/
Ddma-mapping.h19 extern void *dma_alloc_coherent(struct device *, size_t,
21 extern void dma_free_coherent(struct device *, size_t,
24 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
29 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
34 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
40 extern dma_addr_t dma_map_single(struct device *, void *, size_t,
43 size_t size, enum dma_data_direction dir) in dma_unmap_single()
48 unsigned long, size_t size,
51 size_t size, enum dma_data_direction dir) in dma_unmap_page()
62 extern void dma_sync_single_for_device(struct device *, dma_addr_t, size_t,
[all …]
/linux-3.4.99/include/net/iucv/
Diucv.h346 u8 flags, void *buffer, size_t size, size_t *residual);
366 u8 flags, void *buffer, size_t size,
367 size_t *residual);
398 u8 flags, void *reply, size_t size);
418 u8 flags, u32 srccls, void *buffer, size_t size);
438 u8 flags, u32 srccls, void *buffer, size_t size);
460 u8 flags, u32 srccls, void *buffer, size_t size,
461 void *answer, size_t asize, size_t *residual);
465 u8 flags, void *buffer, size_t size, size_t *residual);
467 struct iucv_message *msg, u8 flags, void *buffer, size_t size,
[all …]
/linux-3.4.99/arch/cris/include/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;
179 size_t length;
[all …]
/linux-3.4.99/net/ceph/
Dcrypto.h33 void *dst, size_t *dst_len,
34 const void *src, size_t src_len);
36 void *dst, size_t *dst_len,
37 const void *src, size_t src_len);
39 void *dst1, size_t *dst1_len,
40 void *dst2, size_t *dst2_len,
41 const void *src, size_t src_len);
43 void *dst, size_t *dst_len,
44 const void *src1, size_t src1_len,
45 const void *src2, size_t src2_len);
/linux-3.4.99/drivers/media/dvb/dvb-core/
Ddvb_ringbuffer.h77 extern void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len);
118 u8 __user *buf, size_t len);
120 u8 *buf, size_t len);
135 size_t len);
147 size_t len);
162 extern ssize_t dvb_ringbuffer_pkt_read_user(struct dvb_ringbuffer *rbuf, size_t idx,
163 int offset, u8 __user *buf, size_t len);
164 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx,
165 int offset, u8 *buf, size_t len);
173 extern void dvb_ringbuffer_pkt_dispose(struct dvb_ringbuffer *rbuf, size_t idx);
[all …]

12345678910>>...145