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()
572 sizeof(struct ocfs2_xattr_entry); in ocfs2_xattr_entry_real_size()
578 sizeof(struct ocfs2_xattr_entry); in ocfs2_xi_entry_usage()
581 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage()
584 sizeof(struct ocfs2_xattr_entry); in ocfs2_xe_entry_usage()
920 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_xattr_list_entries()
1059 struct ocfs2_xattr_entry *entry; in ocfs2_xattr_find_entry()
1415 (num_entries * sizeof(struct ocfs2_xattr_entry)) - in ocfs2_xa_check_space_helper()
1613 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_block_wipe_namevalue()
1646 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_block_add_entry()
1764 needed_space -= sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_bucket_check_space()
1799 struct ocfs2_xattr_entry *tmp_xe; in ocfs2_xa_bucket_add_entry()
1822 ((count - low) * sizeof(struct ocfs2_xattr_entry))); in ocfs2_xa_bucket_add_entry()
1826 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_bucket_add_entry()
1919 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_remove_entry()
1934 sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_remove_entry()
1936 (count - index) * sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
1938 sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
2253 struct ocfs2_xattr_entry *entry) in ocfs2_init_dinode_xa_loc()
2272 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_block_xa_loc()
2290 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_bucket_xa_loc()
2359 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2990 struct ocfs2_xattr_entry *last; in ocfs2_xattr_can_be_in_inode()
3012 if (free >= (sizeof(struct ocfs2_xattr_entry) + namevalue_size_xi(xi))) in ocfs2_xattr_can_be_in_inode()
3031 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need()
3740 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_find_xe_in_bucket()
3804 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_xattr_bucket_find()
4039 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4142 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe()
4155 struct ocfs2_xattr_entry *l = a, *r = b, tmp; in swap_xe()
4158 memcpy(l, r, sizeof(struct ocfs2_xattr_entry)); in swap_xe()
4159 memcpy(r, &tmp, sizeof(struct ocfs2_xattr_entry)); in swap_xe()
4177 struct ocfs2_xattr_entry *xe; in ocfs2_cp_xattr_block_to_bucket()
4215 size = count * sizeof(struct ocfs2_xattr_entry); in ocfs2_cp_xattr_block_to_bucket()
4226 sort(target + offset, count, sizeof(struct ocfs2_xattr_entry), in ocfs2_cp_xattr_block_to_bucket()
4354 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe_offset()
4382 struct ocfs2_xattr_entry *xe; in ocfs2_defrag_xattr_bucket()
4421 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4463 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4571 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4622 struct ocfs2_xattr_entry *xe; in ocfs2_divide_xattr_bucket()
4724 len = sizeof(struct ocfs2_xattr_entry) * (count - start); in ocfs2_divide_xattr_bucket()
4730 len = sizeof(struct ocfs2_xattr_entry) * start; in ocfs2_divide_xattr_bucket()
4768 sizeof(struct ocfs2_xattr_entry) * (count - start)); in ocfs2_divide_xattr_bucket()
5348 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_truncate()
5646 struct ocfs2_xattr_entry *xe; in ocfs2_delete_xattr_in_bucket()
5756 struct ocfs2_xattr_entry *xe; in ocfs2_prepare_refcount_xattr()
5931 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_attach_refcount_normal()
5994 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6032 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_refcount()
6166 typedef int (should_xattr_reflinked)(struct ocfs2_xattr_entry *xe);
6210 struct ocfs2_xattr_entry *xe; in ocfs2_value_metas_in_xattr_header()
6252 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6338 struct ocfs2_xattr_entry *xe, *last; in ocfs2_reflink_xattr_header()
6359 sizeof(struct ocfs2_xattr_entry)); in ocfs2_reflink_xattr_header()
7107 static int ocfs2_reflink_xattr_no_security(struct ocfs2_xattr_entry *xe) in ocfs2_reflink_xattr_no_security()