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()
578 sizeof(struct ocfs2_xattr_entry); in ocfs2_xattr_entry_real_size()
584 sizeof(struct ocfs2_xattr_entry); in ocfs2_xi_entry_usage()
587 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage()
590 sizeof(struct ocfs2_xattr_entry); in ocfs2_xe_entry_usage()
926 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_xattr_list_entries()
1065 struct ocfs2_xattr_entry *entry; in ocfs2_xattr_find_entry()
1421 (num_entries * sizeof(struct ocfs2_xattr_entry)) - in ocfs2_xa_check_space_helper()
1619 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_block_wipe_namevalue()
1652 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_block_add_entry()
1770 needed_space -= sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_bucket_check_space()
1805 struct ocfs2_xattr_entry *tmp_xe; in ocfs2_xa_bucket_add_entry()
1828 ((count - low) * sizeof(struct ocfs2_xattr_entry))); in ocfs2_xa_bucket_add_entry()
1832 memset(loc->xl_entry, 0, sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_bucket_add_entry()
1925 struct ocfs2_xattr_entry *entry = loc->xl_entry; in ocfs2_xa_remove_entry()
1940 sizeof(struct ocfs2_xattr_entry); in ocfs2_xa_remove_entry()
1942 (count - index) * sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
1944 sizeof(struct ocfs2_xattr_entry)); in ocfs2_xa_remove_entry()
2259 struct ocfs2_xattr_entry *entry) in ocfs2_init_dinode_xa_loc()
2278 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_block_xa_loc()
2296 struct ocfs2_xattr_entry *entry) in ocfs2_init_xattr_bucket_xa_loc()
2365 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2996 struct ocfs2_xattr_entry *last; in ocfs2_xattr_can_be_in_inode()
3018 if (free >= (sizeof(struct ocfs2_xattr_entry) + namevalue_size_xi(xi))) in ocfs2_xattr_can_be_in_inode()
3037 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need()
3748 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_find_xe_in_bucket()
3812 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_xattr_bucket_find()
4047 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4150 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe()
4163 struct ocfs2_xattr_entry *l = a, *r = b, tmp; in swap_xe()
4166 memcpy(l, r, sizeof(struct ocfs2_xattr_entry)); in swap_xe()
4167 memcpy(r, &tmp, sizeof(struct ocfs2_xattr_entry)); in swap_xe()
4185 struct ocfs2_xattr_entry *xe; in ocfs2_cp_xattr_block_to_bucket()
4223 size = count * sizeof(struct ocfs2_xattr_entry); in ocfs2_cp_xattr_block_to_bucket()
4234 sort(target + offset, count, sizeof(struct ocfs2_xattr_entry), in ocfs2_cp_xattr_block_to_bucket()
4362 const struct ocfs2_xattr_entry *l = a, *r = b; in cmp_xe_offset()
4390 struct ocfs2_xattr_entry *xe; in ocfs2_defrag_xattr_bucket()
4429 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4471 sizeof(struct ocfs2_xattr_entry), in ocfs2_defrag_xattr_bucket()
4579 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4630 struct ocfs2_xattr_entry *xe; in ocfs2_divide_xattr_bucket()
4732 len = sizeof(struct ocfs2_xattr_entry) * (count - start); in ocfs2_divide_xattr_bucket()
4738 len = sizeof(struct ocfs2_xattr_entry) * start; in ocfs2_divide_xattr_bucket()
4776 sizeof(struct ocfs2_xattr_entry) * (count - start)); in ocfs2_divide_xattr_bucket()
5356 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_truncate()
5654 struct ocfs2_xattr_entry *xe; in ocfs2_delete_xattr_in_bucket()
5764 struct ocfs2_xattr_entry *xe; in ocfs2_prepare_refcount_xattr()
5939 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_attach_refcount_normal()
6002 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6040 struct ocfs2_xattr_entry *xe; in ocfs2_xattr_bucket_value_refcount()
6174 typedef int (should_xattr_reflinked)(struct ocfs2_xattr_entry *xe);
6218 struct ocfs2_xattr_entry *xe; in ocfs2_value_metas_in_xattr_header()
6260 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6346 struct ocfs2_xattr_entry *xe, *last; in ocfs2_reflink_xattr_header()
6367 sizeof(struct ocfs2_xattr_entry)); in ocfs2_reflink_xattr_header()
7115 static int ocfs2_reflink_xattr_no_security(struct ocfs2_xattr_entry *xe) in ocfs2_reflink_xattr_no_security()