/fs/pstore/ |
D | ram_core.c | 39 static inline size_t buffer_size(struct persistent_ram_zone *prz) in buffer_size() function 58 while (unlikely(new > prz->buffer_size)) in buffer_start_add() 59 new -= prz->buffer_size; in buffer_start_add() 71 if (atomic_read(&prz->buffer->size) == prz->buffer_size) in buffer_size_add() 77 if (new > prz->buffer_size) in buffer_size_add() 78 new = prz->buffer_size; in buffer_size_add() 111 uint8_t *buffer_end = buffer->data + prz->buffer_size; in persistent_ram_update_ecc() 155 while (block < buffer->data + buffer_size(prz)) { in persistent_ram_ecc_old() 158 if (block + size > buffer->data + prz->buffer_size) in persistent_ram_ecc_old() 159 size = buffer->data + prz->buffer_size - block; in persistent_ram_ecc_old() [all …]
|
D | ram.c | 269 if (size + hlen > prz->buffer_size) in ramoops_pstore_write_buf() 270 size = prz->buffer_size - hlen; in ramoops_pstore_write_buf()
|
/fs/9p/ |
D | xattr.c | 25 void *buffer, size_t buffer_size) in v9fs_fid_xattr_get() argument 40 if (!buffer_size) { in v9fs_fid_xattr_get() 45 if (attr_size > buffer_size) { in v9fs_fid_xattr_get() 86 void *buffer, size_t buffer_size) in v9fs_xattr_get() argument 91 name, buffer_size); in v9fs_xattr_get() 96 return v9fs_fid_xattr_get(fid, name, buffer, buffer_size); in v9fs_xattr_get() 163 ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in v9fs_listxattr() argument 165 return v9fs_xattr_get(dentry, NULL, buffer, buffer_size); in v9fs_listxattr()
|
/fs/f2fs/ |
D | xattr.h | 121 void *buffer, size_t buffer_size); 123 size_t buffer_size); 134 const char *name, void *buffer, size_t buffer_size) in f2fs_getxattr() argument 139 size_t buffer_size) in f2fs_listxattr() argument
|
D | xattr.c | 203 void *buffer, size_t buffer_size) in f2fs_getxattr() argument 240 if (buffer && value_len > buffer_size) { in f2fs_getxattr() 256 ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in f2fs_listxattr() argument 265 size_t rest = buffer_size; in f2fs_listxattr() 292 error = buffer_size - rest; in f2fs_listxattr()
|
/fs/ext3/ |
D | xattr.c | 98 size_t buffer_size); 212 void *buffer, size_t buffer_size) in ext3_xattr_block_get() argument 220 name_index, name, buffer, (long)buffer_size); in ext3_xattr_block_get() 248 if (size > buffer_size) in ext3_xattr_block_get() 262 void *buffer, size_t buffer_size) in ext3_xattr_ibody_get() argument 291 if (size > buffer_size) in ext3_xattr_ibody_get() 315 void *buffer, size_t buffer_size) in ext3_xattr_get() argument 321 buffer_size); in ext3_xattr_get() 324 buffer_size); in ext3_xattr_get() 331 char *buffer, size_t buffer_size) in ext3_xattr_list_entries() argument [all …]
|
/fs/reiserfs/ |
D | xattr.c | 482 const void *buffer, size_t buffer_size, int flags) in reiserfs_xattr_set_handle() argument 514 xahash = xattr_hash(buffer, buffer_size); in reiserfs_xattr_set_handle() 515 while (buffer_pos < buffer_size || buffer_pos == 0) { in reiserfs_xattr_set_handle() 519 if (buffer_size - buffer_pos > PAGE_CACHE_SIZE) in reiserfs_xattr_set_handle() 522 chunk = buffer_size - buffer_pos; in reiserfs_xattr_set_handle() 556 if (err || buffer_size == 0 || !buffer) in reiserfs_xattr_set_handle() 560 new_size = buffer_size + sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_set_handle() 585 const void *buffer, size_t buffer_size, int flags) in reiserfs_xattr_set() argument 590 size_t jbegin_count = reiserfs_xattr_nblocks(inode, buffer_size); in reiserfs_xattr_set() 603 buffer, buffer_size, flags); in reiserfs_xattr_set() [all …]
|
/fs/squashfs/ |
D | xattr.c | 40 size_t buffer_size) in squashfs_listxattr() argument 49 size_t rest = buffer_size; in squashfs_listxattr() 110 err = buffer_size - rest; in squashfs_listxattr() 118 const char *name, void *buffer, size_t buffer_size) in squashfs_xattr_get() argument 185 if (vsize > buffer_size) { in squashfs_xattr_get()
|
/fs/ext4/ |
D | xattr.c | 91 size_t buffer_size); 276 void *buffer, size_t buffer_size) in ext4_xattr_block_get() argument 285 name_index, name, buffer, (long)buffer_size); in ext4_xattr_block_get() 314 if (size > buffer_size) in ext4_xattr_block_get() 328 void *buffer, size_t buffer_size) in ext4_xattr_ibody_get() argument 357 if (size > buffer_size) in ext4_xattr_ibody_get() 381 void *buffer, size_t buffer_size) in ext4_xattr_get() argument 390 buffer_size); in ext4_xattr_get() 393 buffer_size); in ext4_xattr_get() 400 char *buffer, size_t buffer_size) in ext4_xattr_list_entries() argument [all …]
|
D | xattr.h | 122 void *buffer, size_t buffer_size);
|
/fs/ncpfs/ |
D | ioctl.c | 50 info.buffer_size = server->buffer_size; in ncp_get_fs_info() 74 info2.buffer_size = server->buffer_size; in ncp_get_fs_info_v2() 96 u32 buffer_size; member 140 info2.buffer_size = server->buffer_size; in ncp_get_compat_fs_info_v2()
|
D | file.c | 132 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_read() 220 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_write()
|
D | mmap.c | 54 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_mmap_fault()
|
D | ncp_fs_sb.h | 62 int buffer_size; /* Negotiated bufsize */ member
|
D | inode.c | 684 NCP_DEFAULT_OPTIONS, &(server->buffer_size), &options) == 0) in ncp_fill_super() 691 &(server->buffer_size), &options) != 0) in ncp_fill_super() 705 &(server->buffer_size)) != 0) in ncp_fill_super() 707 DPRINTK("ncpfs: bufsize = %d\n", server->buffer_size); in ncp_fill_super()
|
/fs/ext2/ |
D | xattr.c | 150 void *buffer, size_t buffer_size) in ext2_xattr_get() argument 159 name_index, name, buffer, (long)buffer_size); in ext2_xattr_get() 218 if (size > buffer_size) in ext2_xattr_get() 244 ext2_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext2_xattr_list() argument 250 size_t rest = buffer_size; in ext2_xattr_list() 254 buffer, (long)buffer_size); in ext2_xattr_list() 310 error = buffer_size - rest; /* total size */ in ext2_xattr_list()
|
/fs/ |
D | xattr.c | 773 generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in generic_listxattr() argument 787 size = handler->list(dentry, buf, buffer_size, in generic_listxattr() 789 if (size > buffer_size) in generic_listxattr() 792 buffer_size -= size; in generic_listxattr()
|
D | bad_inode.c | 262 size_t buffer_size) in bad_inode_listxattr() argument
|
/fs/ocfs2/ |
D | xattr.c | 270 size_t buffer_size); 913 char *buffer, size_t buffer_size) in ocfs2_xattr_list_entries() argument 928 ret = ocfs2_xattr_list_entry(buffer, buffer_size, in ocfs2_xattr_list_entries() 959 size_t buffer_size) in ocfs2_xattr_ibody_list() argument 972 ret = ocfs2_xattr_list_entries(inode, header, buffer, buffer_size); in ocfs2_xattr_ibody_list() 980 size_t buffer_size) in ocfs2_xattr_block_list() argument 1000 buffer, buffer_size); in ocfs2_xattr_block_list() 1003 buffer, buffer_size); in ocfs2_xattr_block_list() 1141 size_t buffer_size, in ocfs2_xattr_ibody_get() argument 1164 if (size > buffer_size) in ocfs2_xattr_ibody_get() [all …]
|
/fs/dlm/ |
D | config.c | 188 CLUSTER_ATTR(buffer_size, 1);
|