Searched refs:xattr_size (Results 1 – 14 of 14) sorted by relevance
/linux/fs/jfs/ |
H A D | xattr.c | 666 int xattr_size; in __jfs_setxattr() local 675 xattr_size = ea_get(inode, &ea_buf, 0); in __jfs_setxattr() 676 if (xattr_size < 0) { in __jfs_setxattr() 677 rc = xattr_size; in __jfs_setxattr() 685 if (xattr_size) { in __jfs_setxattr() 722 xattr_size = ea_get(inode, &ea_buf, new_size); in __jfs_setxattr() 723 if (xattr_size < 0) { in __jfs_setxattr() 724 rc = xattr_size; in __jfs_setxattr() 736 xattr_size -= old_ea_size; in __jfs_setxattr() 741 if (xattr_size == 0) in __jfs_setxattr() [all …]
|
/linux/fs/ubifs/ |
H A 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 …]
|
H A D | ubifs-media.h | 533 __le32 xattr_size; member
|
H A D | journal.c | 597 ino->xattr_size = cpu_to_le32(ui->xattr_size); in pack_inode()
|
H A D | super.c | 155 ui->xattr_size = le32_to_cpu(ino->xattr_size); in ubifs_iget()
|
H A D | ubifs.h | 407 unsigned int xattr_size; member
|
H A D | dir.c | 1710 size = ui->xattr_size; in ubifs_getattr()
|
/linux/fs/nfs/ |
H A 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 …]
|
/linux/security/integrity/evm/ |
H A D | evm_crypto.c | 230 size_t xattr_size = 0; in evm_calc_hmac_or_hash() local 275 &xattr_value, xattr_size, GFP_NOFS); in evm_calc_hmac_or_hash() 290 xattr_size = size; in evm_calc_hmac_or_hash() 291 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash() 295 dump_security_xattr(xattr->name, xattr_value, xattr_size); in evm_calc_hmac_or_hash()
|
/linux/fs/reiserfs/ |
H A 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()
|
/linux/fs/squashfs/ |
H A D | squashfs_fs_i.h | 17 unsigned int xattr_size; member
|
H A D | inode.c | 405 &squashfs_i(inode)->xattr_size, in squashfs_read_inode() 409 inode->i_blocks += ((squashfs_i(inode)->xattr_size - 1) >> 9) in squashfs_read_inode()
|
/linux/fs/f2fs/ |
H A D | namei.c | 229 int xattr_size = 0; in f2fs_new_inode() local 295 xattr_size = F2FS_OPTION(sbi).inline_xattr_size; in f2fs_new_inode() 299 xattr_size = DEFAULT_INLINE_XATTR_ADDRS; in f2fs_new_inode() 301 fi->i_inline_xattr_size = xattr_size; in f2fs_new_inode()
|
/linux/fs/ |
H A D | xattr.c | 376 const char *name, char **xattr_value, size_t xattr_size, in vfs_getxattr_alloc() argument 397 if (!value || (error > xattr_size)) { in vfs_getxattr_alloc()
|