Lines Matching refs:ocfs2_xattr_entry

124 	struct ocfs2_xattr_entry *here;
197 struct ocfs2_xattr_entry *xl_entry;
227 static int namevalue_size_xe(struct ocfs2_xattr_entry *xe) in namevalue_size_xe()
557 sizeof(struct ocfs2_xattr_entry); in ocfs2_xattr_entry_real_size()
563 sizeof(struct ocfs2_xattr_entry); in ocfs2_xi_entry_usage()
566 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage()
569 sizeof(struct ocfs2_xattr_entry); in ocfs2_xe_entry_usage()
933 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_xattr_list_entries()
1069 struct ocfs2_xattr_entry *entry; in ocfs2_xattr_find_entry()
1435 (num_entries * sizeof(struct ocfs2_xattr_entry)) - in ocfs2_xa_check_space_helper()
1633 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_block_wipe_namevalue()
1666 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_block_add_entry()
1784 needed_space -= sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_bucket_check_space()
1819 struct ocfs2_xattr_entry *tmp_xe; in ocfs2_xa_bucket_add_entry()
1842 ((count - low) * sizeof(struct ocfs2_xattr_entry))); in ocfs2_xa_bucket_add_entry()
1846 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_bucket_add_entry()
1939 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_remove_entry()
1954 sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_remove_entry()
1956 (count - index) * sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
1958 sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
2272 struct ocfs2_xattr_entry *entry) in ocfs2_init_dinode_xa_loc()
2291 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_block_xa_loc()
2309 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_bucket_xa_loc()
2378 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
3009 struct ocfs2_xattr_entry *last; in ocfs2_xattr_can_be_in_inode()
3031 if (free >= (sizeof(struct ocfs2_xattr_entry) + namevalue_size_xi(xi))) in ocfs2_xattr_can_be_in_inode()
3050 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need()
3761 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_find_xe_in_bucket()
3825 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_xattr_bucket_find()
4057 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4158 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe()
4184 struct ocfs2_xattr_entry *xe; in ocfs2_cp_xattr_block_to_bucket()
4222 size = count * sizeof(struct ocfs2_xattr_entry); in ocfs2_cp_xattr_block_to_bucket()
4233 sort(target + offset, count, sizeof(struct ocfs2_xattr_entry), in ocfs2_cp_xattr_block_to_bucket()
4361 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe_offset()
4389 struct ocfs2_xattr_entry *xe; in ocfs2_defrag_xattr_bucket()
4428 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4470 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4578 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4629 struct ocfs2_xattr_entry *xe; in ocfs2_divide_xattr_bucket()
4731 len = sizeof(struct ocfs2_xattr_entry) * (count - start); in ocfs2_divide_xattr_bucket()
4737 len = sizeof(struct ocfs2_xattr_entry) * start; in ocfs2_divide_xattr_bucket()
4775 sizeof(struct ocfs2_xattr_entry) * (count - start)); in ocfs2_divide_xattr_bucket()
5355 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_truncate()
5653 struct ocfs2_xattr_entry *xe; in ocfs2_delete_xattr_in_bucket()
5763 struct ocfs2_xattr_entry *xe; in ocfs2_prepare_refcount_xattr()
5938 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_attach_refcount_normal()
6001 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6039 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_refcount()
6173 typedef int (should_xattr_reflinked)(struct ocfs2_xattr_entry *xe);
6217 struct ocfs2_xattr_entry *xe; in ocfs2_value_metas_in_xattr_header()
6259 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6345 struct ocfs2_xattr_entry *xe, *last; in ocfs2_reflink_xattr_header()
6366 sizeof(struct ocfs2_xattr_entry)); in ocfs2_reflink_xattr_header()
7105 static int ocfs2_reflink_xattr_no_security(struct ocfs2_xattr_entry *xe) in ocfs2_reflink_xattr_no_security()