Home
last modified time | relevance | path

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

12345678910>>...19

/fs/ecryptfs/
Decryptfs_kernel.h54 extern void ecryptfs_to_hex(char *dst, char *src, size_t src_size);
59 size_t enc_key_size;
210 size_t filename_size;
211 size_t encrypted_filename_size;
239 size_t iv_bytes;
240 size_t metadata_size;
241 size_t extent_size; /* Data extent size; default is 4096 */
242 size_t key_size;
243 size_t extent_shift;
322 size_t key_size;
[all …]
Dkeystore.c95 int ecryptfs_parse_packet_length(unsigned char *data, size_t *size, in ecryptfs_parse_packet_length()
96 size_t *length_size) in ecryptfs_parse_packet_length()
136 int ecryptfs_write_packet_length(char *dest, size_t size, in ecryptfs_write_packet_length()
137 size_t *packet_size_length) in ecryptfs_write_packet_length()
159 char **packet, size_t *packet_len) in write_tag_64_packet()
161 size_t i = 0; in write_tag_64_packet()
162 size_t data_len; in write_tag_64_packet()
163 size_t packet_size_len; in write_tag_64_packet()
216 size_t i = 0; in parse_tag_65_packet()
218 size_t data_len; in parse_tag_65_packet()
[all …]
Dread_write.c40 loff_t offset, size_t size) in ecryptfs_write_lower()
71 size_t offset_in_page, size_t size) in ecryptfs_write_lower_page_segment()
106 size_t size) in ecryptfs_write()
127 size_t start_offset_in_page = (pos & ~PAGE_MASK); in ecryptfs_write()
128 size_t num_bytes = (PAGE_SIZE - start_offset_in_page); in ecryptfs_write()
231 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower()
258 size_t offset_in_page, size_t size, in ecryptfs_read_lower_page_segment()
Dcrypto.c51 void ecryptfs_to_hex(char *dst, char *src, size_t src_size) in ecryptfs_to_hex()
428 size_t extent_size = crypt_stat->extent_size; in crypt_extent()
921 static void write_ecryptfs_marker(char *page_virt, size_t *written) in write_ecryptfs_marker()
935 size_t *written) in ecryptfs_write_crypt_stat_flags()
977 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes) in ecryptfs_code_for_cipher_string()
1048 size_t *written) in ecryptfs_write_header_metadata()
1095 static int ecryptfs_write_headers_virt(char *page_virt, size_t max, in ecryptfs_write_headers_virt()
1096 size_t *size, in ecryptfs_write_headers_virt()
1101 size_t written; in ecryptfs_write_headers_virt()
1102 size_t offset; in ecryptfs_write_headers_virt()
[all …]
/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 …]
Dinternal.h20 static inline size_t romfs_maxsize(struct super_block *sb) in romfs_maxsize()
22 return (size_t) (unsigned long) sb->s_fs_info; in romfs_maxsize()
43 void *buf, size_t buflen);
45 unsigned long pos, size_t maxlen);
47 const char *str, size_t size);
/fs/pstore/
Dplatform.c90 int (*compress)(const void *in, void *out, size_t inlen, size_t outlen);
91 int (*decompress)(void *in, void *out, size_t inlen, size_t outlen);
99 static size_t big_oops_buf_sz;
155 static int compress_zlib(const void *in, void *out, size_t inlen, size_t outlen) in compress_zlib()
189 static int decompress_zlib(void *in, void *out, size_t inlen, size_t outlen) in decompress_zlib()
220 size_t size; in allocate_zlib()
221 size_t cmpr; in allocate_zlib()
280 static int compress_lzo(const void *in, void *out, size_t inlen, size_t outlen) in compress_lzo()
293 static int decompress_lzo(void *in, void *out, size_t inlen, size_t outlen) in decompress_lzo()
341 static int compress_lz4(const void *in, void *out, size_t inlen, size_t outlen) in compress_lz4()
[all …]
Dram_core.c41 static inline size_t buffer_size(struct persistent_ram_zone *prz) in buffer_size()
46 static inline size_t buffer_start(struct persistent_ram_zone *prz) in buffer_start()
52 static size_t buffer_start_add(struct persistent_ram_zone *prz, size_t a) in buffer_start_add()
74 static void buffer_size_add(struct persistent_ram_zone *prz, size_t a) in buffer_size_add()
76 size_t old; in buffer_size_add()
77 size_t new; in buffer_size_add()
98 uint8_t *data, size_t len, uint8_t *ecc) in persistent_ram_encode_rs8()
111 void *data, size_t len, uint8_t *ecc) in persistent_ram_decode_rs8()
194 size_t ecc_total; in persistent_ram_init_ecc()
248 char *str, size_t len) in persistent_ram_ecc_string()
[all …]
/fs/xfs/
Dxfs_buf.h113 size_t bt_meta_sectormask;
114 size_t bt_logical_sectorsize;
115 size_t bt_logical_sectormask;
226 size_t numblks, in xfs_incore()
241 size_t numblks, in xfs_buf_alloc()
263 size_t numblks, in xfs_buf_get()
274 size_t numblks, in xfs_buf_read()
286 size_t numblks, in xfs_buf_readahead()
293 struct xfs_buf *xfs_buf_get_empty(struct xfs_buftarg *target, size_t numblks);
294 void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks);
[all …]
/fs/nilfs2/
Dsufile.h41 size_t);
42 ssize_t nilfs_sufile_set_suinfo(struct inode *, void *, unsigned int, size_t);
44 int nilfs_sufile_updatev(struct inode *, __u64 *, size_t, int, size_t *,
62 int nilfs_sufile_read(struct super_block *sb, size_t susize,
94 size_t nsegs, size_t *ndone) in nilfs_sufile_freev()
111 __u64 *segnumv, size_t nsegs, in nilfs_sufile_cancel_freev()
112 size_t *ndone) in nilfs_sufile_cancel_freev()
/fs/nfsd/
Dnfsctl.c60 static ssize_t write_filehandle(struct file *file, char *buf, size_t size);
61 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size);
62 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size);
63 static ssize_t write_threads(struct file *file, char *buf, size_t size);
64 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size);
65 static ssize_t write_versions(struct file *file, char *buf, size_t size);
66 static ssize_t write_ports(struct file *file, char *buf, size_t size);
67 static ssize_t write_maxblksize(struct file *file, char *buf, size_t size);
68 static ssize_t write_maxconn(struct file *file, char *buf, size_t size);
70 static ssize_t write_leasetime(struct file *file, char *buf, size_t size);
[all …]
/fs/hfsplus/
Dxattr.h22 const void *value, size_t size, int flags);
25 const void *value, size_t size, int flags,
26 const char *prefix, size_t prefixlen);
29 void *value, size_t size);
32 void *value, size_t size,
33 const char *prefix, size_t prefixlen);
35 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
/fs/ceph/
Dxattr.c49 size_t name_size; /* strlen(name) + 1 (for '\0') */
50 size_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val,
51 size_t size);
66 static size_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout()
67 size_t size) in ceph_vxattrcb_layout()
76 size_t len, total_len = 0; in ceph_vxattrcb_layout()
126 static size_t ceph_vxattrcb_layout_stripe_unit(struct ceph_inode_info *ci, in ceph_vxattrcb_layout_stripe_unit()
127 char *val, size_t size) in ceph_vxattrcb_layout_stripe_unit()
132 static size_t ceph_vxattrcb_layout_stripe_count(struct ceph_inode_info *ci, in ceph_vxattrcb_layout_stripe_count()
133 char *val, size_t size) in ceph_vxattrcb_layout_stripe_count()
[all …]
/fs/proc/
Dvmcore.c36 static size_t elfcorebuf_sz;
37 static size_t elfcorebuf_sz_orig;
40 static size_t elfnotes_sz;
88 static ssize_t read_from_oldmem(char *buf, size_t count, in read_from_oldmem()
92 size_t nr_bytes; in read_from_oldmem()
144 ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos) in elfcorehdr_read()
152 ssize_t __weak elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos) in elfcorehdr_read_notes()
170 static int copy_to(void *target, void *src, size_t size, int userbuf) in copy_to()
184 static ssize_t __read_vmcore(char *buffer, size_t buflen, loff_t *fpos, in __read_vmcore()
188 size_t tsz; in __read_vmcore()
[all …]
/fs/
Dxattr.c138 const void *value, size_t size, int flags) in __vfs_setxattr()
170 const void *value, size_t size, int flags) in __vfs_setxattr_noperm()
209 size_t size, int flags) in vfs_setxattr()
233 size_t size) in xattr_getsecurity()
268 size_t xattr_size, gfp_t flags) in vfs_getxattr_alloc()
302 void *value, size_t size) in __vfs_getxattr()
316 vfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size) in vfs_getxattr()
347 vfs_listxattr(struct dentry *dentry, char *list, size_t size) in vfs_listxattr()
416 size_t size, int flags) in setxattr()
458 size_t size, int flags, unsigned int lookup_flags) in path_setxattr()
[all …]
/fs/9p/
Dxattr.h26 void *, size_t);
28 void *, size_t);
30 const void *, size_t, int);
32 const void *, size_t, int);
33 extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);
Dxattr.c26 void *buffer, size_t buffer_size) in v9fs_fid_xattr_get()
71 void *buffer, size_t buffer_size) in v9fs_xattr_get()
97 const void *value, size_t value_len, int flags) in v9fs_xattr_set()
104 const void *value, size_t value_len, int flags) in v9fs_fid_xattr_set()
133 ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in v9fs_listxattr()
140 const char *name, void *buffer, size_t size) in v9fs_xattr_handler_get()
150 size_t size, int flags) in v9fs_xattr_handler_set()
/fs/btrfs/
Dlzo.c71 static inline void write_compress_length(char *buf, size_t len) in write_compress_length()
79 static inline size_t read_compress_length(char *buf) in read_compress_length()
106 size_t in_len; in lzo_compress_pages()
107 size_t out_len; in lzo_compress_pages()
262 size_t srclen) in lzo_decompress_biovec()
276 size_t in_len; in lzo_decompress_biovec()
277 size_t out_len; in lzo_decompress_biovec()
291 tot_len = min_t(size_t, srclen, tot_len); in lzo_decompress_biovec()
384 size_t srclen, size_t destlen) in lzo_decompress()
387 size_t in_len; in lzo_decompress()
[all …]
/fs/nfs/
Dnfs4idmap.h60 int nfs_map_name_to_uid(const struct nfs_server *, const char *, size_t, kuid_t *);
61 int nfs_map_group_to_gid(const struct nfs_server *, const char *, size_t, kgid_t *);
62 int nfs_map_uid_to_name(const struct nfs_server *, kuid_t, char *, size_t);
63 int nfs_map_gid_to_group(const struct nfs_server *, kgid_t, char *, size_t);
65 int nfs_map_string_to_numeric(const char *name, size_t namelen, __u32 *res);
Dnfs4idmap.c155 int nfs_map_string_to_numeric(const char *name, size_t namelen, __u32 *res) in nfs_map_string_to_numeric()
171 static int nfs_map_numeric_to_string(__u32 id, char *buf, size_t buflen) in nfs_map_numeric_to_string()
248 static ssize_t nfs_idmap_get_desc(const char *name, size_t namelen, in nfs_idmap_get_desc()
249 const char *type, size_t typelen, char **desc) in nfs_idmap_get_desc()
252 size_t desclen = typelen + namelen + 2; in nfs_idmap_get_desc()
269 static struct key *nfs_idmap_request_key(const char *name, size_t namelen, in nfs_idmap_request_key()
294 static ssize_t nfs_idmap_get_key(const char *name, size_t namelen, in nfs_idmap_get_key()
296 size_t data_size, struct idmap *idmap) in nfs_idmap_get_key()
340 size_t buflen, struct idmap *idmap) in nfs_idmap_lookup_name()
354 static int nfs_idmap_lookup_id(const char *name, size_t namelen, const char *type, in nfs_idmap_lookup_id()
[all …]
/fs/ncpfs/
Dfile.c105 size_t already_read = 0; in ncp_file_read_iter()
107 size_t bufsize; in ncp_file_read_iter()
110 size_t freelen; in ncp_file_read_iter()
137 size_t to_read = min_t(size_t, in ncp_file_read_iter()
172 size_t already_written = 0; in ncp_file_write_iter()
173 size_t bufsize; in ncp_file_write_iter()
202 size_t to_write = min_t(size_t, in ncp_file_write_iter()
/fs/f2fs/
Dxattr.h122 const void *, size_t, struct page *, int);
124 size_t, struct page *);
125 extern ssize_t f2fs_listxattr(struct dentry *, char *, size_t);
130 const char *name, const void *value, size_t size, in f2fs_setxattr()
137 size_t buffer_size, struct page *dpage) in f2fs_getxattr()
142 size_t buffer_size) in f2fs_listxattr()
/fs/reiserfs/
Dxattr.h22 ssize_t reiserfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
24 int reiserfs_xattr_get(struct inode *, const char *, void *, size_t);
25 int reiserfs_xattr_set(struct inode *, const char *, const void *, size_t, int);
28 size_t, int);
71 static inline size_t reiserfs_xattr_jcreate_nblocks(struct inode *inode) in reiserfs_xattr_jcreate_nblocks()
73 size_t nblocks = JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb); in reiserfs_xattr_jcreate_nblocks()
/fs/ocfs2/
Dxattr.h37 size_t value_len;
45 ssize_t ocfs2_listxattr(struct dentry *, char *, size_t);
47 const char *, void *, size_t);
49 size_t, int);
51 int, const char *, const void *, size_t, int,
/fs/logfs/
Djournal.c145 size_t inlen, outlen; in unpack()
163 size_t bufsize = max_t(size_t, sb->s_blocksize, super->s_writesize) in __read_je_header()
420 static size_t __logfs_write_header(struct logfs_super *super, in __logfs_write_header()
421 struct logfs_journal_header *jh, size_t len, size_t datalen, in __logfs_write_header()
437 static size_t logfs_write_header(struct logfs_super *super, in logfs_write_header()
438 struct logfs_journal_header *jh, size_t datalen, u16 type) in logfs_write_header()
440 size_t len = datalen; in logfs_write_header()
445 static inline size_t logfs_journal_erasecount_size(struct logfs_super *super) in logfs_journal_erasecount_size()
451 u16 *type, size_t *len) in logfs_write_erasecount()
465 size_t ignore2) in account_shadow()
[all …]

12345678910>>...19