Lines Matching refs:header
126 struct ocfs2_xattr_header *header; member
931 struct ocfs2_xattr_header *header, in ocfs2_xattr_list_entries() argument
938 for (i = 0 ; i < le16_to_cpu(header->xh_count); i++) { in ocfs2_xattr_list_entries()
939 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_xattr_list_entries()
941 name = (const char *)header + in ocfs2_xattr_list_entries()
977 struct ocfs2_xattr_header *header = NULL; in ocfs2_xattr_ibody_list() local
984 header = (struct ocfs2_xattr_header *) in ocfs2_xattr_ibody_list()
988 ret = ocfs2_xattr_list_entries(inode, header, buffer, buffer_size); in ocfs2_xattr_ibody_list()
1014 struct ocfs2_xattr_header *header = &xb->xb_attrs.xb_header; in ocfs2_xattr_block_list() local
1015 ret = ocfs2_xattr_list_entries(inode, header, in ocfs2_xattr_block_list()
1084 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) { in ocfs2_xattr_find_entry()
1170 xs->header = (struct ocfs2_xattr_header *) in ocfs2_xattr_ibody_get()
1172 xs->base = (void *)xs->header; in ocfs2_xattr_ibody_get()
1173 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_get()
1243 i = xs->here - xs->header->xh_entries; in ocfs2_xattr_block_get()
2364 struct ocfs2_xattr_header *header, in ocfs2_remove_value_outside() argument
2375 for (i = 0; i < le16_to_cpu(header->xh_count); i++) { in ocfs2_remove_value_outside()
2376 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2381 val = (void *)header + in ocfs2_remove_value_outside()
2428 struct ocfs2_xattr_header *header; in ocfs2_xattr_ibody_remove() local
2435 header = (struct ocfs2_xattr_header *) in ocfs2_xattr_ibody_remove()
2439 ret = ocfs2_remove_value_outside(inode, &vb, header, in ocfs2_xattr_ibody_remove()
2468 struct ocfs2_xattr_header *header = &(xb->xb_attrs.xb_header); in ocfs2_xattr_block_remove() local
2469 ret = ocfs2_remove_value_outside(inode, &vb, header, in ocfs2_xattr_block_remove()
2697 xs->header = (struct ocfs2_xattr_header *) in ocfs2_xattr_ibody_find()
2700 xs->header = (struct ocfs2_xattr_header *) in ocfs2_xattr_ibody_find()
2702 xs->base = (void *)xs->header; in ocfs2_xattr_ibody_find()
2703 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_find()
2837 xs->header = &xb->xb_attrs.xb_header; in ocfs2_xattr_block_find()
2838 xs->base = (void *)xs->header; in ocfs2_xattr_block_find()
2840 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_find()
2972 xs->header = &xblk->xb_attrs.xb_header; in ocfs2_xattr_block_set()
2973 xs->base = (void *)xs->header; in ocfs2_xattr_block_set()
2975 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_set()
3011 if (!xs->header) in ocfs2_xattr_can_be_in_inode()
3014 last = xs->header->xh_entries; in ocfs2_xattr_can_be_in_inode()
3016 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) { in ocfs2_xattr_can_be_in_inode()
3089 i = xbs->here - xbs->header->xh_entries; in ocfs2_calc_xattr_set_need()
3905 xs->header = bucket_xh(xs->bucket); in ocfs2_xattr_bucket_find()
3910 xs->here = &xs->header->xh_entries[index]; in ocfs2_xattr_bucket_find()
4261 xs->header = bucket_xh(xs->bucket); in ocfs2_xattr_update_xattr_search()
4269 xs->here = &xs->header->xh_entries[i]; in ocfs2_xattr_update_xattr_search()
5795 i = xbs->here - xbs->header->xh_entries; in ocfs2_prepare_refcount_xattr()
5939 struct ocfs2_xattr_header *header, in ocfs2_xattr_attach_refcount_normal() argument
5950 for (i = 0; i < le16_to_cpu(header->xh_count); i++) { in ocfs2_xattr_attach_refcount_normal()
5951 xe = &header->xh_entries[i]; in ocfs2_xattr_attach_refcount_normal()
5956 xv = (struct ocfs2_xattr_value_root *)((void *)header + in ocfs2_xattr_attach_refcount_normal()
5982 struct ocfs2_xattr_header *header = (struct ocfs2_xattr_header *) in ocfs2_xattr_inline_attach_refcount() local
5990 return ocfs2_xattr_attach_refcount_normal(inode, &vb, header, in ocfs2_xattr_inline_attach_refcount()
6114 struct ocfs2_xattr_header *header = &xb->xb_attrs.xb_header; in ocfs2_xattr_block_attach_refcount() local
6120 ret = ocfs2_xattr_attach_refcount_normal(inode, &vb, header, in ocfs2_xattr_block_attach_refcount()