/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 54 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; 323 size_t key_size; [all …]
|
D | keystore.c | 94 int ecryptfs_parse_packet_length(unsigned char *data, size_t *size, in ecryptfs_parse_packet_length() 95 size_t *length_size) in ecryptfs_parse_packet_length() 135 int ecryptfs_write_packet_length(char *dest, size_t size, in ecryptfs_write_packet_length() 136 size_t *packet_size_length) in ecryptfs_write_packet_length() 158 char **packet, size_t *packet_len) in write_tag_64_packet() 160 size_t i = 0; in write_tag_64_packet() 161 size_t data_len; in write_tag_64_packet() 162 size_t packet_size_len; in write_tag_64_packet() 215 size_t i = 0; in parse_tag_65_packet() 217 size_t data_len; in parse_tag_65_packet() [all …]
|
D | read_write.c | 40 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_CACHE_MASK); in ecryptfs_write() 128 size_t num_bytes = (PAGE_CACHE_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()
|
/fs/romfs/ |
D | storage.c | 28 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 …]
|
/fs/pstore/ |
D | ram_core.c | 41 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_atomic(struct persistent_ram_zone *prz, size_t a) in buffer_start_add_atomic() 68 static void buffer_size_add_atomic(struct persistent_ram_zone *prz, size_t a) in buffer_size_add_atomic() 70 size_t old; in buffer_size_add_atomic() 71 size_t new; in buffer_size_add_atomic() 85 static size_t buffer_start_add_locked(struct persistent_ram_zone *prz, size_t a) in buffer_start_add_locked() 107 static void buffer_size_add_locked(struct persistent_ram_zone *prz, size_t a) in buffer_size_add_locked() 109 size_t old; in buffer_size_add_locked() 110 size_t new; in buffer_size_add_locked() [all …]
|
D | platform.c | 78 static size_t big_oops_buf_sz; 133 static int pstore_compress(const void *in, void *out, size_t inlen, in pstore_compress() 134 size_t outlen) in pstore_compress() 168 static int pstore_decompress(void *in, void *out, size_t inlen, size_t outlen) in pstore_decompress() 199 size_t size; in allocate_buf_for_compression() 200 size_t cmpr; in allocate_buf_for_compression() 247 static size_t copy_kmsg_to_buffer(int hsize, size_t len) in copy_kmsg_to_buffer() 249 size_t total_len; in copy_kmsg_to_buffer() 250 size_t diff; in copy_kmsg_to_buffer() 298 size_t len; in pstore_dump() [all …]
|
/fs/nilfs2/ |
D | sufile.h | 46 size_t); 47 ssize_t nilfs_sufile_set_suinfo(struct inode *, void *, unsigned , size_t); 49 int nilfs_sufile_updatev(struct inode *, __u64 *, size_t, int, size_t *, 67 int nilfs_sufile_read(struct super_block *sb, size_t susize, 99 size_t nsegs, size_t *ndone) in nilfs_sufile_freev() 116 __u64 *segnumv, size_t nsegs, in nilfs_sufile_cancel_freev() 117 size_t *ndone) in nilfs_sufile_cancel_freev()
|
/fs/squashfs/ |
D | xattr.c | 40 size_t buffer_size) in squashfs_listxattr() 49 size_t rest = buffer_size; in squashfs_listxattr() 118 const char *name, void *buffer, size_t buffer_size) in squashfs_xattr_get() 218 static size_t squashfs_user_list(struct dentry *d, char *list, size_t list_size, in squashfs_user_list() 219 const char *name, size_t name_len, int type) in squashfs_user_list() 227 size_t size, int type) in squashfs_user_get() 245 static size_t squashfs_trusted_list(struct dentry *d, char *list, in squashfs_trusted_list() 246 size_t list_size, const char *name, size_t name_len, int type) in squashfs_trusted_list() 257 void *buffer, size_t size, int type) in squashfs_trusted_get() 275 static size_t squashfs_security_list(struct dentry *d, char *list, in squashfs_security_list() [all …]
|
/fs/ |
D | xattr.c | 93 const void *value, size_t size, int flags) in __vfs_setxattr_noperm() 123 size_t size, int flags) in vfs_setxattr() 147 size_t size) in xattr_getsecurity() 182 size_t xattr_size, gfp_t flags) in vfs_getxattr_alloc() 213 const char *value, size_t size, gfp_t flags) in vfs_xattr_cmp() 231 vfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size) in vfs_getxattr() 267 vfs_listxattr(struct dentry *d, char *list, size_t size) in vfs_listxattr() 323 size_t size, int flags) in setxattr() 369 size_t size, int flags, unsigned int lookup_flags) in path_setxattr() 392 size_t, size, int, flags) in SYSCALL_DEFINE5() argument [all …]
|
/fs/xfs/ |
D | xfs_buf.h | 110 size_t bt_meta_sectormask; 111 size_t bt_logical_sectorsize; 112 size_t bt_logical_sectormask; 200 size_t numblks, in xfs_incore() 215 size_t numblks, in xfs_buf_alloc() 237 size_t numblks, in xfs_buf_get() 248 size_t numblks, in xfs_buf_read() 260 size_t numblks, in xfs_buf_readahead() 267 struct xfs_buf *xfs_buf_get_empty(struct xfs_buftarg *target, size_t numblks); 268 void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks); [all …]
|
/fs/nfsd/ |
D | nfsctl.c | 59 static ssize_t write_filehandle(struct file *file, char *buf, size_t size); 60 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size); 61 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size); 62 static ssize_t write_threads(struct file *file, char *buf, size_t size); 63 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size); 64 static ssize_t write_versions(struct file *file, char *buf, size_t size); 65 static ssize_t write_ports(struct file *file, char *buf, size_t size); 66 static ssize_t write_maxblksize(struct file *file, char *buf, size_t size); 67 static ssize_t write_maxconn(struct file *file, char *buf, size_t size); 69 static ssize_t write_leasetime(struct file *file, char *buf, size_t size); [all …]
|
/fs/ext3/ |
D | xattr_trusted.c | 11 static size_t 12 ext3_xattr_trusted_list(struct dentry *dentry, char *list, size_t list_size, in ext3_xattr_trusted_list() 13 const char *name, size_t name_len, int type) in ext3_xattr_trusted_list() 15 const size_t prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext3_xattr_trusted_list() 16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_trusted_list() 31 void *buffer, size_t size, int type) in ext3_xattr_trusted_get() 41 const void *value, size_t size, int flags, int type) in ext3_xattr_trusted_set()
|
D | xattr_user.c | 11 static size_t 12 ext3_xattr_user_list(struct dentry *dentry, char *list, size_t list_size, in ext3_xattr_user_list() 13 const char *name, size_t name_len, int type) in ext3_xattr_user_list() 15 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext3_xattr_user_list() 16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_user_list() 31 size_t size, int type) in ext3_xattr_user_get() 43 const void *value, size_t size, int flags, int type) in ext3_xattr_user_set()
|
D | xattr_security.c | 10 static size_t 11 ext3_xattr_security_list(struct dentry *dentry, char *list, size_t list_size, in ext3_xattr_security_list() 12 const char *name, size_t name_len, int type) in ext3_xattr_security_list() 14 const size_t prefix_len = XATTR_SECURITY_PREFIX_LEN; in ext3_xattr_security_list() 15 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_security_list() 28 void *buffer, size_t size, int type) in ext3_xattr_security_get() 38 const void *value, size_t size, int flags, int type) in ext3_xattr_security_set()
|
/fs/ext4/ |
D | xattr_trusted.c | 15 static size_t 16 ext4_xattr_trusted_list(struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_trusted_list() 17 const char *name, size_t name_len, int type) in ext4_xattr_trusted_list() 19 const size_t prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext4_xattr_trusted_list() 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() 35 size_t size, int type) in ext4_xattr_trusted_get() 45 const void *value, size_t size, int flags, int type) in ext4_xattr_trusted_set()
|
D | xattr_user.c | 14 static size_t 15 ext4_xattr_user_list(struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_user_list() 16 const char *name, size_t name_len, int type) in ext4_xattr_user_list() 18 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext4_xattr_user_list() 19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() 34 void *buffer, size_t size, int type) in ext4_xattr_user_get() 46 const void *value, size_t size, int flags, int type) in ext4_xattr_user_set()
|
D | xattr_security.c | 14 static size_t 15 ext4_xattr_security_list(struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_security_list() 16 const char *name, size_t name_len, int type) in ext4_xattr_security_list() 18 const size_t prefix_len = sizeof(XATTR_SECURITY_PREFIX)-1; in ext4_xattr_security_list() 19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_security_list() 32 void *buffer, size_t size, int type) in ext4_xattr_security_get() 42 const void *value, size_t size, int flags, int type) in ext4_xattr_security_set()
|
/fs/ceph/ |
D | xattr.c | 47 size_t name_size; /* strlen(name) + 1 (for '\0') */ 48 size_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val, 49 size_t size); 58 size_t s; in ceph_vxattrcb_layout_exists() 67 static size_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout() 68 size_t size) in ceph_vxattrcb_layout() 81 size_t len = strlen(pool_name); in ceph_vxattrcb_layout() 114 static size_t ceph_vxattrcb_layout_stripe_unit(struct ceph_inode_info *ci, in ceph_vxattrcb_layout_stripe_unit() 115 char *val, size_t size) in ceph_vxattrcb_layout_stripe_unit() 121 static size_t ceph_vxattrcb_layout_stripe_count(struct ceph_inode_info *ci, in ceph_vxattrcb_layout_stripe_count() [all …]
|
/fs/ext2/ |
D | xattr_user.c | 13 static size_t 14 ext2_xattr_user_list(struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_user_list() 15 const char *name, size_t name_len, int type) in ext2_xattr_user_list() 17 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext2_xattr_user_list() 18 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() 33 void *buffer, size_t size, int type) in ext2_xattr_user_get() 45 const void *value, size_t size, int flags, int type) in ext2_xattr_user_set()
|
D | xattr_trusted.c | 11 static size_t 12 ext2_xattr_trusted_list(struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_trusted_list() 13 const char *name, size_t name_len, int type) in ext2_xattr_trusted_list() 16 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() 31 void *buffer, size_t size, int type) in ext2_xattr_trusted_get() 41 const void *value, size_t size, int flags, int type) in ext2_xattr_trusted_set()
|
/fs/proc/ |
D | vmcore.c | 36 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/reiserfs/ |
D | xattr.h | 22 void *buffer, size_t size); 24 const void *value, size_t size, int flags); 25 ssize_t reiserfs_listxattr(struct dentry *dentry, char *buffer, size_t size); 28 int reiserfs_xattr_get(struct inode *, const char *, void *, size_t); 29 int reiserfs_xattr_set(struct inode *, const char *, const void *, size_t, int); 32 size_t, int); 75 static inline size_t reiserfs_xattr_jcreate_nblocks(struct inode *inode) in reiserfs_xattr_jcreate_nblocks() 77 size_t nblocks = JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb); in reiserfs_xattr_jcreate_nblocks()
|
D | xattr_user.c | 10 user_get(struct dentry *dentry, const char *name, void *buffer, size_t size, in user_get() 23 size_t size, int flags, int handler_flags) in user_set() 33 static size_t user_list(struct dentry *dentry, char *list, size_t list_size, in user_list() 34 const char *name, size_t name_len, int handler_flags) in user_list() 36 const size_t len = name_len + 1; in user_list()
|
/fs/jffs2/ |
D | xattr_user.c | 20 void *buffer, size_t size, int type) in jffs2_user_getxattr() 29 const void *buffer, size_t size, int flags, int type) in jffs2_user_setxattr() 37 static size_t jffs2_user_listxattr(struct dentry *dentry, char *list, in jffs2_user_listxattr() 38 size_t list_size, const char *name, size_t name_len, int type) in jffs2_user_listxattr() 40 size_t retlen = XATTR_USER_PREFIX_LEN + name_len + 1; in jffs2_user_listxattr()
|
D | xattr_trusted.c | 20 void *buffer, size_t size, int type) in jffs2_trusted_getxattr() 29 const void *buffer, size_t size, int flags, int type) in jffs2_trusted_setxattr() 37 static size_t jffs2_trusted_listxattr(struct dentry *dentry, char *list, in jffs2_trusted_listxattr() 38 size_t list_size, const char *name, size_t name_len, int type) in jffs2_trusted_listxattr() 40 size_t retlen = XATTR_TRUSTED_PREFIX_LEN + name_len + 1; in jffs2_trusted_listxattr()
|