/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 158 extern void ecryptfs_to_hex(char *dst, char *src, size_t src_size); 163 size_t enc_key_size; 246 size_t filename_size; 247 size_t encrypted_filename_size; 274 size_t iv_bytes; 275 size_t num_header_bytes_at_front; 276 size_t extent_size; /* Data extent size; default is 4096 */ 277 size_t key_size; 278 size_t extent_shift; 355 size_t key_size; [all …]
|
D | keystore.c | 76 int ecryptfs_parse_packet_length(unsigned char *data, size_t *size, in ecryptfs_parse_packet_length() 77 size_t *length_size) in ecryptfs_parse_packet_length() 117 int ecryptfs_write_packet_length(char *dest, size_t size, in ecryptfs_write_packet_length() 118 size_t *packet_size_length) in ecryptfs_write_packet_length() 139 char **packet, size_t *packet_len) in write_tag_64_packet() 141 size_t i = 0; in write_tag_64_packet() 142 size_t data_len; in write_tag_64_packet() 143 size_t packet_size_len; in write_tag_64_packet() 196 size_t i = 0; in parse_tag_65_packet() 198 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() 84 size_t offset_in_page, size_t size) in ecryptfs_write_lower_page_segment() 117 size_t size) in ecryptfs_write() 137 size_t start_offset_in_page = (pos & ~PAGE_CACHE_MASK); in ecryptfs_write() 138 size_t num_bytes = (PAGE_CACHE_SIZE - start_offset_in_page); in ecryptfs_write() 139 size_t total_remaining_bytes = ((offset + size) - pos); in ecryptfs_write() 145 size_t total_remaining_zeros = (offset - pos); in ecryptfs_write() 224 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower() 267 size_t offset_in_page, size_t size, in ecryptfs_read_lower_page_segment() 300 int ecryptfs_read(char *data, loff_t offset, size_t size, [all …]
|
/fs/nfsd/ |
D | nfsctl.c | 79 static ssize_t write_svc(struct file *file, char *buf, size_t size); 80 static ssize_t write_add(struct file *file, char *buf, size_t size); 81 static ssize_t write_del(struct file *file, char *buf, size_t size); 82 static ssize_t write_export(struct file *file, char *buf, size_t size); 83 static ssize_t write_unexport(struct file *file, char *buf, size_t size); 84 static ssize_t write_getfd(struct file *file, char *buf, size_t size); 85 static ssize_t write_getfs(struct file *file, char *buf, size_t size); 86 static ssize_t write_filehandle(struct file *file, char *buf, size_t size); 87 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size); 88 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size); [all …]
|
/fs/ext4/ |
D | xattr_security.c | 14 static size_t 15 ext4_xattr_security_list(struct inode *inode, char *list, size_t list_size, in ext4_xattr_security_list() 16 const char *name, size_t name_len) 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) in ext4_xattr_security_get() 42 const void *value, size_t size, int flags) in ext4_xattr_security_set() 54 size_t len; in ext4_init_security()
|
D | xattr_trusted.c | 16 static size_t 17 ext4_xattr_trusted_list(struct inode *inode, char *list, size_t list_size, in ext4_xattr_trusted_list() 18 const char *name, size_t name_len) in ext4_xattr_trusted_list() 20 const size_t prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext4_xattr_trusted_list() 21 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() 36 void *buffer, size_t size) in ext4_xattr_trusted_get() 46 const void *value, size_t size, int flags) in ext4_xattr_trusted_set()
|
D | xattr_user.c | 15 static size_t 16 ext4_xattr_user_list(struct inode *inode, char *list, size_t list_size, in ext4_xattr_user_list() 17 const char *name, size_t name_len) in ext4_xattr_user_list() 19 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext4_xattr_user_list() 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() 35 void *buffer, size_t size) in ext4_xattr_user_get() 46 const void *value, size_t size, int flags) in ext4_xattr_user_set()
|
D | acl.c | 21 ext4_acl_from_disk(const void *value, size_t size) in ext4_acl_from_disk() 87 ext4_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext4_acl_to_disk() 91 size_t n; in ext4_acl_to_disk() 229 size_t size = 0; in ext4_set_acl() 418 static size_t 419 ext4_xattr_list_acl_access(struct inode *inode, char *list, size_t list_len, in ext4_xattr_list_acl_access() 420 const char *name, size_t name_len) in ext4_xattr_list_acl_access() 422 const size_t size = sizeof(POSIX_ACL_XATTR_ACCESS); in ext4_xattr_list_acl_access() 431 static size_t 432 ext4_xattr_list_acl_default(struct inode *inode, char *list, size_t list_len, in ext4_xattr_list_acl_default() [all …]
|
/fs/ext3/ |
D | xattr_security.c | 14 static size_t 15 ext3_xattr_security_list(struct inode *inode, char *list, size_t list_size, in ext3_xattr_security_list() 16 const char *name, size_t name_len) in ext3_xattr_security_list() 18 const size_t prefix_len = XATTR_SECURITY_PREFIX_LEN; in ext3_xattr_security_list() 19 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_security_list() 32 void *buffer, size_t size) in ext3_xattr_security_get() 42 const void *value, size_t size, int flags) in ext3_xattr_security_set() 54 size_t len; in ext3_init_security()
|
D | xattr_trusted.c | 16 static size_t 17 ext3_xattr_trusted_list(struct inode *inode, char *list, size_t list_size, in ext3_xattr_trusted_list() 18 const char *name, size_t name_len) in ext3_xattr_trusted_list() 20 const size_t prefix_len = XATTR_TRUSTED_PREFIX_LEN; in ext3_xattr_trusted_list() 21 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_trusted_list() 36 void *buffer, size_t size) in ext3_xattr_trusted_get() 46 const void *value, size_t size, int flags) in ext3_xattr_trusted_set()
|
D | xattr_user.c | 15 static size_t 16 ext3_xattr_user_list(struct inode *inode, char *list, size_t list_size, in ext3_xattr_user_list() 17 const char *name, size_t name_len) in ext3_xattr_user_list() 19 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext3_xattr_user_list() 20 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_user_list() 35 void *buffer, size_t size) in ext3_xattr_user_get() 46 const void *value, size_t size, int flags) in ext3_xattr_user_set()
|
D | acl.c | 21 ext3_acl_from_disk(const void *value, size_t size) in ext3_acl_from_disk() 86 ext3_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext3_acl_to_disk() 90 size_t n; in ext3_acl_to_disk() 229 size_t size = 0; in ext3_set_acl() 418 static size_t 419 ext3_xattr_list_acl_access(struct inode *inode, char *list, size_t list_len, in ext3_xattr_list_acl_access() 420 const char *name, size_t name_len) in ext3_xattr_list_acl_access() 422 const size_t size = sizeof(POSIX_ACL_XATTR_ACCESS); in ext3_xattr_list_acl_access() 431 static size_t 432 ext3_xattr_list_acl_default(struct inode *inode, char *list, size_t list_len, in ext3_xattr_list_acl_default() [all …]
|
D | xattr.h | 67 extern ssize_t ext3_listxattr(struct dentry *, char *, size_t); 69 extern int ext3_xattr_get(struct inode *, int, const char *, void *, size_t); 70 extern int ext3_xattr_set(struct inode *, int, const char *, const void *, size_t, int); 71 …nt ext3_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_t, int); 85 void *buffer, size_t size, int flags) in ext3_xattr_get() 92 const void *value, size_t size, int flags) in ext3_xattr_set() 99 const char *name, const void *value, size_t size, int flags) in ext3_xattr_set_handle()
|
/fs/ext2/ |
D | xattr_user.c | 14 static size_t 15 ext2_xattr_user_list(struct inode *inode, char *list, size_t list_size, in ext2_xattr_user_list() 16 const char *name, size_t name_len) in ext2_xattr_user_list() 18 const size_t prefix_len = XATTR_USER_PREFIX_LEN; in ext2_xattr_user_list() 19 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() 34 void *buffer, size_t size) in ext2_xattr_user_get() 45 const void *value, size_t size, int flags) in ext2_xattr_user_set()
|
D | xattr_security.c | 13 static size_t 14 ext2_xattr_security_list(struct inode *inode, char *list, size_t list_size, in ext2_xattr_security_list() 15 const char *name, size_t name_len) in ext2_xattr_security_list() 18 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_security_list() 30 void *buffer, size_t size) in ext2_xattr_security_get() 40 const void *value, size_t size, int flags) in ext2_xattr_security_set() 52 size_t len; in ext2_init_security()
|
D | acl.c | 20 ext2_acl_from_disk(const void *value, size_t size) in ext2_acl_from_disk() 85 ext2_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext2_acl_to_disk() 89 size_t n; in ext2_acl_to_disk() 223 size_t size = 0; in ext2_set_acl() 394 static size_t 395 ext2_xattr_list_acl_access(struct inode *inode, char *list, size_t list_size, in ext2_xattr_list_acl_access() 396 const char *name, size_t name_len) in ext2_xattr_list_acl_access() 398 const size_t size = sizeof(POSIX_ACL_XATTR_ACCESS); in ext2_xattr_list_acl_access() 407 static size_t 408 ext2_xattr_list_acl_default(struct inode *inode, char *list, size_t list_size, in ext2_xattr_list_acl_default() [all …]
|
D | xattr_trusted.c | 15 static size_t 16 ext2_xattr_trusted_list(struct inode *inode, char *list, size_t list_size, in ext2_xattr_trusted_list() 17 const char *name, size_t name_len) in ext2_xattr_trusted_list() 20 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() 35 void *buffer, size_t size) in ext2_xattr_trusted_get() 45 const void *value, size_t size, int flags) in ext2_xattr_trusted_set()
|
/fs/ocfs2/ |
D | acl.c | 41 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr() 76 static void *ocfs2_acl_to_xattr(const struct posix_acl *acl, size_t *size) in ocfs2_acl_to_xattr() 80 size_t n; in ocfs2_acl_to_xattr() 185 size_t size = 0; in ocfs2_set_acl() 334 static size_t ocfs2_xattr_list_acl_access(struct inode *inode, in ocfs2_xattr_list_acl_access() 336 size_t list_len, in ocfs2_xattr_list_acl_access() 338 size_t name_len) in ocfs2_xattr_list_acl_access() 341 const size_t size = sizeof(POSIX_ACL_XATTR_ACCESS); in ocfs2_xattr_list_acl_access() 351 static size_t ocfs2_xattr_list_acl_default(struct inode *inode, in ocfs2_xattr_list_acl_default() 353 size_t list_len, in ocfs2_xattr_list_acl_default() [all …]
|
/fs/xfs/linux-2.6/ |
D | xfs_xattr.c | 52 void *buffer, size_t size) in xfs_xattr_system_get() 65 const void *value, size_t size, int flags) in xfs_xattr_system_set() 95 void *value, size_t size, int xflags) in __xfs_xattr_get() 117 size_t size, int flags, int xflags) in __xfs_xattr_set() 137 void *value, size_t size) in xfs_xattr_user_get() 144 const void *value, size_t size, int flags) in xfs_xattr_user_set() 158 void *value, size_t size) in xfs_xattr_trusted_get() 165 const void *value, size_t size, int flags) in xfs_xattr_trusted_set() 179 void *value, size_t size) in xfs_xattr_secure_get() 186 const void *value, size_t size, int flags) in xfs_xattr_secure_set() [all …]
|
D | kmem.h | 57 extern void *kmem_alloc(size_t, unsigned int __nocast); 58 extern void *kmem_zalloc(size_t, unsigned int __nocast); 59 extern void *kmem_zalloc_greedy(size_t *, size_t, size_t, unsigned int __nocast); 60 extern void *kmem_realloc(const void *, size_t, size_t, unsigned int __nocast);
|
D | kmem.c | 31 kmem_alloc(size_t size, unsigned int __nocast flags) in kmem_alloc() 61 kmem_zalloc(size_t size, unsigned int __nocast flags) in kmem_zalloc() 72 kmem_zalloc_greedy(size_t *size, size_t minsize, size_t maxsize, in kmem_zalloc_greedy() 76 size_t kmsize = maxsize; in kmem_zalloc_greedy() 103 kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, in kmem_realloc()
|
/fs/jffs2/ |
D | security.c | 29 size_t len; in jffs2_init_security() 48 void *buffer, size_t size) in jffs2_security_getxattr() 57 size_t size, int flags) in jffs2_security_setxattr() 65 static size_t jffs2_security_listxattr(struct inode *inode, char *list, size_t list_size, in jffs2_security_listxattr() 66 const char *name, size_t name_len) in jffs2_security_listxattr() 68 size_t retlen = XATTR_SECURITY_PREFIX_LEN + name_len + 1; in jffs2_security_listxattr()
|
D | acl.c | 24 static size_t jffs2_acl_size(int count) in jffs2_acl_size() 36 static int jffs2_acl_count(size_t size) in jffs2_acl_count() 38 size_t s; in jffs2_acl_count() 53 static struct posix_acl *jffs2_acl_from_medium(void *value, size_t size) in jffs2_acl_from_medium() 118 static void *jffs2_acl_to_medium(const struct posix_acl *acl, size_t *size) in jffs2_acl_to_medium() 123 size_t i; in jffs2_acl_to_medium() 234 size_t size = 0; in __jffs2_set_acl() 413 static size_t jffs2_acl_access_listxattr(struct inode *inode, char *list, size_t list_size, in jffs2_acl_access_listxattr() 414 const char *name, size_t name_len) in jffs2_acl_access_listxattr() 423 static size_t jffs2_acl_default_listxattr(struct inode *inode, char *list, size_t list_size, in jffs2_acl_default_listxattr() [all …]
|
D | xattr_trusted.c | 20 void *buffer, size_t size) in jffs2_trusted_getxattr() 28 size_t size, int flags) in jffs2_trusted_setxattr() 35 static size_t jffs2_trusted_listxattr(struct inode *inode, char *list, size_t list_size, in jffs2_trusted_listxattr() 36 const char *name, size_t name_len) in jffs2_trusted_listxattr() 38 size_t retlen = XATTR_TRUSTED_PREFIX_LEN + name_len + 1; in jffs2_trusted_listxattr()
|
D | xattr_user.c | 20 void *buffer, size_t size) in jffs2_user_getxattr() 28 size_t size, int flags) in jffs2_user_setxattr() 35 static size_t jffs2_user_listxattr(struct inode *inode, char *list, size_t list_size, in jffs2_user_listxattr() 36 const char *name, size_t name_len) in jffs2_user_listxattr() 38 size_t retlen = XATTR_USER_PREFIX_LEN + name_len + 1; in jffs2_user_listxattr()
|