Lines Matching refs:ocfs2_xattr_entry
138 struct ocfs2_xattr_entry *here;
211 struct ocfs2_xattr_entry *xl_entry;
241 static int namevalue_size_xe(struct ocfs2_xattr_entry *xe) in namevalue_size_xe()
571 sizeof(struct ocfs2_xattr_entry); in ocfs2_xattr_entry_real_size()
577 sizeof(struct ocfs2_xattr_entry); in ocfs2_xi_entry_usage()
580 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage()
583 sizeof(struct ocfs2_xattr_entry); in ocfs2_xe_entry_usage()
947 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_xattr_list_entries()
1083 struct ocfs2_xattr_entry *entry; in ocfs2_xattr_find_entry()
1440 (num_entries * sizeof(struct ocfs2_xattr_entry)) - in ocfs2_xa_check_space_helper()
1638 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_block_wipe_namevalue()
1671 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_block_add_entry()
1789 needed_space -= sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_bucket_check_space()
1824 struct ocfs2_xattr_entry *tmp_xe; in ocfs2_xa_bucket_add_entry()
1847 ((count - low) * sizeof(struct ocfs2_xattr_entry))); in ocfs2_xa_bucket_add_entry()
1851 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_bucket_add_entry()
1944 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_remove_entry()
1959 sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_remove_entry()
1961 (count - index) * sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
1963 sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
2278 struct ocfs2_xattr_entry *entry) in ocfs2_init_dinode_xa_loc()
2297 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_block_xa_loc()
2315 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_bucket_xa_loc()
2384 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
3015 struct ocfs2_xattr_entry *last; in ocfs2_xattr_can_be_in_inode()
3037 if (free >= (sizeof(struct ocfs2_xattr_entry) + namevalue_size_xi(xi))) in ocfs2_xattr_can_be_in_inode()
3056 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need()
3767 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_find_xe_in_bucket()
3831 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_xattr_bucket_find()
4066 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4167 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe()
4180 struct ocfs2_xattr_entry *l = a, *r = b, tmp; in swap_xe()
4183 memcpy(l, r, sizeof(struct ocfs2_xattr_entry)); in swap_xe()
4184 memcpy(r, &tmp, sizeof(struct ocfs2_xattr_entry)); in swap_xe()
4202 struct ocfs2_xattr_entry *xe; in ocfs2_cp_xattr_block_to_bucket()
4240 size = count * sizeof(struct ocfs2_xattr_entry); in ocfs2_cp_xattr_block_to_bucket()
4251 sort(target + offset, count, sizeof(struct ocfs2_xattr_entry), in ocfs2_cp_xattr_block_to_bucket()
4379 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe_offset()
4407 struct ocfs2_xattr_entry *xe; in ocfs2_defrag_xattr_bucket()
4446 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4488 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4596 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4647 struct ocfs2_xattr_entry *xe; in ocfs2_divide_xattr_bucket()
4749 len = sizeof(struct ocfs2_xattr_entry) * (count - start); in ocfs2_divide_xattr_bucket()
4755 len = sizeof(struct ocfs2_xattr_entry) * start; in ocfs2_divide_xattr_bucket()
4793 sizeof(struct ocfs2_xattr_entry) * (count - start)); in ocfs2_divide_xattr_bucket()
5373 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_truncate()
5671 struct ocfs2_xattr_entry *xe; in ocfs2_delete_xattr_in_bucket()
5781 struct ocfs2_xattr_entry *xe; in ocfs2_prepare_refcount_xattr()
5956 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_attach_refcount_normal()
6019 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6057 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_refcount()
6191 typedef int (should_xattr_reflinked)(struct ocfs2_xattr_entry *xe);
6235 struct ocfs2_xattr_entry *xe; in ocfs2_value_metas_in_xattr_header()
6277 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6363 struct ocfs2_xattr_entry *xe, *last; in ocfs2_reflink_xattr_header()
6384 sizeof(struct ocfs2_xattr_entry)); in ocfs2_reflink_xattr_header()
7132 static int ocfs2_reflink_xattr_no_security(struct ocfs2_xattr_entry *xe) in ocfs2_reflink_xattr_no_security()