Home
last modified time | relevance | path

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

12345678910>>...137

/linux-2.6.39/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 …]
/linux-2.6.39/include/linux/
Dparport.h177 size_t (*epp_write_data) (struct parport *port, const void *buf,
178 size_t len, int flags);
179 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len,
181 size_t (*epp_write_addr) (struct parport *port, const void *buf,
182 size_t len, int flags);
183 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len,
186 size_t (*ecp_write_data) (struct parport *port, const void *buf,
187 size_t len, int flags);
188 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len,
190 size_t (*ecp_write_addr) (struct parport *port, const void *buf,
[all …]
Drelay.h37 size_t offset; /* current offset into sub-buffer */
38 size_t subbufs_produced; /* count of sub-buffers produced */
39 size_t subbufs_consumed; /* count of sub-buffers consumed */
48 size_t *padding; /* padding counts per sub-buffer */
49 size_t prev_padding; /* temporary variable */
50 size_t bytes_consumed; /* bytes consumed in cur read subbuf */
51 size_t early_bytes; /* bytes consumed before VFS inited */
61 size_t subbuf_size; /* sub-buffer size */
62 size_t n_subbufs; /* number of sub-buffers per buffer */
63 size_t alloc_size; /* total buffer size allocated */
[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);
119 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
120 extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
128 int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args);
129 int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf);
[all …]
Dxattr.h62 size_t (*list)(struct dentry *dentry, char *list, size_t list_size,
63 const char *name, size_t name_len, int handler_flags);
65 size_t size, int handler_flags);
67 size_t size, int flags, int handler_flags);
70 ssize_t xattr_getsecurity(struct inode *, const char *, void *, size_t);
71 ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t);
72 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size);
73 int __vfs_setxattr_noperm(struct dentry *, const char *, const void *, size_t, int);
74 int vfs_setxattr(struct dentry *, const char *, const void *, size_t, int);
77 ssize_t generic_getxattr(struct dentry *dentry, const char *name, void *buffer, size_t size);
[all …]
Dslab.h101 struct kmem_cache *kmem_cache_create(const char *, size_t, size_t,
139 void * __must_check __krealloc(const void *, size_t, gfp_t);
140 void * __must_check krealloc(const void *, size_t, gfp_t);
143 size_t ksize(const void *);
223 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
241 static inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
246 static inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
270 extern void *__kmalloc_track_caller(size_t, gfp_t, unsigned long);
289 extern void *__kmalloc_node_track_caller(size_t, gfp_t, int, unsigned long);
318 static inline void *kzalloc(size_t size, gfp_t flags) in kzalloc()
[all …]
/linux-2.6.39/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-2.6.39/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()
164 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
170 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
[all …]
/linux-2.6.39/net/sunrpc/
Daddr.c25 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
63 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
64 char *buf, const size_t buflen) in rpc_ntop6()
68 size_t len; in rpc_ntop6()
82 if (unlikely((size_t)rc > sizeof(scopebuf))) in rpc_ntop6()
95 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid()
101 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6()
102 char *buf, const size_t buflen) in rpc_ntop6()
110 char *buf, const size_t buflen) in rpc_ntop4()
126 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
[all …]
/linux-2.6.39/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-2.6.39/lib/
Dstring.c34 int strnicmp(const char *s1, const char *s2, size_t len) in strnicmp()
74 int strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp()
119 char *strncpy(char *dest, const char *src, size_t count) in strncpy()
146 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy()
148 size_t ret = strlen(src); in strlcpy()
151 size_t len = (ret >= size) ? size - 1 : ret; in strlcpy()
190 char *strncat(char *dest, const char *src, size_t count) in strncat()
216 size_t strlcat(char *dest, const char *src, size_t count) in strlcat()
218 size_t dsize = strlen(dest); in strlcat()
219 size_t len = strlen(src); in strlcat()
[all …]
/linux-2.6.39/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-2.6.39/include/linux/mtd/
Dmtd.h104 size_t len;
105 size_t retlen;
106 size_t ooblen;
107 size_t oobretlen;
195 int (*point) (struct mtd_info *mtd, loff_t from, size_t len,
196 size_t *retlen, void **virt, resource_size_t *phys);
199 void (*unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
216 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
217 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf);
226 …int (*panic_write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf…
[all …]
/linux-2.6.39/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-2.6.39/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-2.6.39/net/ceph/
Dcrypto.h32 void *dst, size_t *dst_len,
33 const void *src, size_t src_len);
35 void *dst, size_t *dst_len,
36 const void *src, size_t src_len);
38 void *dst1, size_t *dst1_len,
39 void *dst2, size_t *dst2_len,
40 const void *src, size_t src_len);
42 void *dst, size_t *dst_len,
43 const void *src1, size_t src1_len,
44 const void *src2, size_t src2_len);
/linux-2.6.39/fs/ecryptfs/
Decryptfs_kernel.h159 extern void ecryptfs_to_hex(char *dst, char *src, size_t src_size);
164 size_t enc_key_size;
246 size_t filename_size;
247 size_t encrypted_filename_size;
275 size_t iv_bytes;
276 size_t metadata_size;
277 size_t extent_size; /* Data extent size; default is 4096 */
278 size_t key_size;
279 size_t extent_shift;
356 size_t key_size;
[all …]
/linux-2.6.39/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 …]
Ddvb_ringbuffer.c42 void dvb_ringbuffer_init(struct dvb_ringbuffer *rbuf, void *data, size_t len) in dvb_ringbuffer_init()
111 ssize_t dvb_ringbuffer_read_user(struct dvb_ringbuffer *rbuf, u8 __user *buf, size_t len) in dvb_ringbuffer_read_user()
113 size_t todo = len; in dvb_ringbuffer_read_user()
114 size_t split; in dvb_ringbuffer_read_user()
132 void dvb_ringbuffer_read(struct dvb_ringbuffer *rbuf, u8 *buf, size_t len) in dvb_ringbuffer_read()
134 size_t todo = len; in dvb_ringbuffer_read()
135 size_t split; in dvb_ringbuffer_read()
150 ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf, size_t len) in dvb_ringbuffer_write()
152 size_t todo = len; in dvb_ringbuffer_write()
153 size_t split; in dvb_ringbuffer_write()
[all …]
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-agn-debugfs.h35 size_t count, loff_t *ppos);
37 size_t count, loff_t *ppos);
39 size_t count, loff_t *ppos);
41 size_t count, loff_t *ppos);
43 size_t count, loff_t *ppos);
46 size_t count, loff_t *ppos) in iwl_ucode_rx_stats_read()
51 size_t count, loff_t *ppos) in iwl_ucode_tx_stats_read()
56 size_t count, loff_t *ppos) in iwl_ucode_general_stats_read()
61 size_t count, loff_t *ppos) in iwl_ucode_bt_stats_read()
66 size_t count, loff_t *ppos) in iwl_reply_tx_error_read()
/linux-2.6.39/lib/xz/
Dxz_dec_bcj.c52 size_t out_pos;
53 size_t out_size;
57 size_t filtered;
60 size_t size;
88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
95 size_t i; in bcj_x86()
96 size_t prev_pos = (size_t)-1; in bcj_x86()
160 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc()
162 size_t i; in bcj_powerpc()
181 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64()
[all …]
/linux-2.6.39/include/sound/
Dmemalloc.h63 size_t bytes; /* buffer size in bytes */
72 size_t size, struct snd_dma_buffer *dmab,
73 size_t *res_size);
93 static inline unsigned int snd_sgbuf_aligned_pages(size_t size) in snd_sgbuf_aligned_pages()
101 static inline dma_addr_t snd_sgbuf_get_addr(struct snd_sg_buf *sgbuf, size_t offset) in snd_sgbuf_get_addr()
111 static inline void *snd_sgbuf_get_ptr(struct snd_sg_buf *sgbuf, size_t offset) in snd_sgbuf_get_ptr()
118 int snd_dma_alloc_pages(int type, struct device *dev, size_t size,
120 int snd_dma_alloc_pages_fallback(int type, struct device *dev, size_t size,
128 size_t snd_dma_get_reserved_buf(struct snd_dma_buffer *dmab, unsigned int id);
132 void *snd_malloc_pages(size_t size, gfp_t gfp_flags);
[all …]

12345678910>>...137