Searched refs:xattr_size (Results 1 – 14 of 14) sorted by relevance
/fs/jfs/ |
D | xattr.c | 662 int xattr_size; in __jfs_setxattr() local 671 xattr_size = ea_get(inode, &ea_buf, 0); in __jfs_setxattr() 672 if (xattr_size < 0) { in __jfs_setxattr() 673 rc = xattr_size; in __jfs_setxattr() 681 if (xattr_size) { in __jfs_setxattr() 718 xattr_size = ea_get(inode, &ea_buf, new_size); in __jfs_setxattr() 719 if (xattr_size < 0) { in __jfs_setxattr() 720 rc = xattr_size; in __jfs_setxattr() 732 xattr_size -= old_ea_size; in __jfs_setxattr() 737 if (xattr_size == 0) in __jfs_setxattr() [all …]
|
/fs/ubifs/ |
D | xattr.c | 139 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr() 140 host_ui->xattr_size += CALC_XATTR_BYTES(size); in create_xattr() 165 host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); in create_xattr() 166 host_ui->xattr_size -= CALC_XATTR_BYTES(size); in create_xattr() 219 host_ui->xattr_size -= CALC_XATTR_BYTES(old_size); in change_xattr() 220 host_ui->xattr_size += CALC_XATTR_BYTES(size); in change_xattr() 237 host_ui->xattr_size -= CALC_XATTR_BYTES(size); in change_xattr() 238 host_ui->xattr_size += CALC_XATTR_BYTES(old_size); in change_xattr() 361 ubifs_assert(c, ubifs_inode(host)->xattr_size > ui->data_len); in ubifs_xattr_get() 479 host_ui->xattr_size -= CALC_DENT_SIZE(fname_len(nm)); in remove_xattr() [all …]
|
D | ubifs-media.h | 533 __le32 xattr_size; member
|
D | debug.c | 249 pr_err("\txattr_size %u\n", ui->xattr_size); in ubifs_dump_inode() 464 pr_err("\txattr_size %u\n", le32_to_cpu(ino->xattr_size)); in ubifs_dump_node() 1863 fscki->xattr_sz = le32_to_cpu(ino->xattr_size); in add_inode() 1871 fscki->xattr_sz = ui->xattr_size; in add_inode()
|
D | journal.c | 470 ino->xattr_size = cpu_to_le32(ui->xattr_size); in pack_inode()
|
D | super.c | 159 ui->xattr_size = le32_to_cpu(ino->xattr_size); in ubifs_iget()
|
D | ubifs.h | 414 unsigned int xattr_size; member
|
D | dir.c | 1678 size = ui->xattr_size; in ubifs_getattr()
|
/fs/nfs/ |
D | nfs42xattr.c | 86 size_t xattr_size; member 237 entry->xattr_size = len; in nfs4_xattr_alloc_entry() 624 entry->xattr_name, (unsigned long)entry->xattr_size); in nfs4_xattr_cache_get() 627 ret = entry->xattr_size; in nfs4_xattr_cache_get() 628 } else if (buflen < entry->xattr_size) in nfs4_xattr_cache_get() 631 memcpy(buf, entry->xattr_value, entry->xattr_size); in nfs4_xattr_cache_get() 632 ret = entry->xattr_size; in nfs4_xattr_cache_get() 665 ret = entry->xattr_size; in nfs4_xattr_cache_list() 666 } else if (entry->xattr_size > buflen) in nfs4_xattr_cache_list() 669 memcpy(buf, entry->xattr_value, entry->xattr_size); in nfs4_xattr_cache_list() [all …]
|
/fs/reiserfs/ |
D | xattr.h | 50 #define xattr_size(size) ((size) + sizeof(struct reiserfs_xattr_header)) macro 55 ret = _ROUND_UP(xattr_size(size), inode->i_sb->s_blocksize); in reiserfs_xattr_nblocks()
|
/fs/squashfs/ |
D | squashfs_fs_i.h | 17 unsigned int xattr_size; member
|
D | inode.c | 397 &squashfs_i(inode)->xattr_size, in squashfs_read_inode() 401 inode->i_blocks += ((squashfs_i(inode)->xattr_size - 1) >> 9) in squashfs_read_inode()
|
/fs/f2fs/ |
D | namei.c | 214 int xattr_size = 0; in f2fs_new_inode() local 279 xattr_size = F2FS_OPTION(sbi).inline_xattr_size; in f2fs_new_inode() 283 xattr_size = DEFAULT_INLINE_XATTR_ADDRS; in f2fs_new_inode() 285 F2FS_I(inode)->i_inline_xattr_size = xattr_size; in f2fs_new_inode()
|
/fs/ |
D | xattr.c | 363 const char *name, char **xattr_value, size_t xattr_size, in vfs_getxattr_alloc() argument 384 if (!value || (error > xattr_size)) { in vfs_getxattr_alloc()
|