Lines Matching refs:header

120 	struct ocfs2_xattr_header *header;
925 struct ocfs2_xattr_header *header,
932 for (i = 0 ; i < le16_to_cpu(header->xh_count); i++) {
933 struct ocfs2_xattr_entry *entry = &header->xh_entries[i];
935 name = (const char *)header +
971 struct ocfs2_xattr_header *header = NULL;
978 header = (struct ocfs2_xattr_header *)
982 ret = ocfs2_xattr_list_entries(inode, header, buffer, buffer_size);
1008 struct ocfs2_xattr_header *header = &xb->xb_attrs.xb_header;
1009 ret = ocfs2_xattr_list_entries(inode, header,
1078 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) {
1164 xs->header = (struct ocfs2_xattr_header *)
1166 xs->base = (void *)xs->header;
1167 xs->here = xs->header->xh_entries;
1237 i = xs->here - xs->header->xh_entries;
1720 /* The header is at the front of the bucket */
2233 * little. Errors are going to leave the xattr header in a
2358 struct ocfs2_xattr_header *header,
2369 for (i = 0; i < le16_to_cpu(header->xh_count); i++) {
2370 struct ocfs2_xattr_entry *entry = &header->xh_entries[i];
2375 val = (void *)header +
2422 struct ocfs2_xattr_header *header;
2429 header = (struct ocfs2_xattr_header *)
2433 ret = ocfs2_remove_value_outside(inode, &vb, header,
2462 struct ocfs2_xattr_header *header = &(xb->xb_attrs.xb_header);
2463 ret = ocfs2_remove_value_outside(inode, &vb, header,
2691 xs->header = (struct ocfs2_xattr_header *)
2694 xs->header = (struct ocfs2_xattr_header *)
2696 xs->base = (void *)xs->header;
2697 xs->here = xs->header->xh_entries;
2831 xs->header = &xb->xb_attrs.xb_header;
2832 xs->base = (void *)xs->header;
2834 xs->here = xs->header->xh_entries;
2966 xs->header = &xblk->xb_attrs.xb_header;
2967 xs->base = (void *)xs->header;
2969 xs->here = xs->header->xh_entries;
3005 if (!xs->header)
3008 last = xs->header->xh_entries;
3010 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) {
3083 i = xbs->here - xbs->header->xh_entries;
3899 xs->header = bucket_xh(xs->bucket);
3904 xs->here = &xs->header->xh_entries[index];
4173 * The header goes at the start of the bucket, and the names+values are
4214 /* Init new header now. */
4255 xs->header = bucket_xh(xs->bucket);
4263 xs->here = &xs->header->xh_entries[i];
5789 i = xbs->here - xbs->header->xh_entries;
5933 struct ocfs2_xattr_header *header,
5944 for (i = 0; i < le16_to_cpu(header->xh_count); i++) {
5945 xe = &header->xh_entries[i];
5950 xv = (struct ocfs2_xattr_value_root *)((void *)header +
5976 struct ocfs2_xattr_header *header = (struct ocfs2_xattr_header *)
5984 return ocfs2_xattr_attach_refcount_normal(inode, &vb, header,
6108 struct ocfs2_xattr_header *header = &xb->xb_attrs.xb_header;
6114 ret = ocfs2_xattr_attach_refcount_normal(inode, &vb, header,
6191 * Given a xattr header and xe offset,
6204 * Calculate all the xattr value root metadata stored in this xattr header and
6322 * Given a xattr header, reflink all the xattrs in this container.
6330 * be reflinked or not. If not, remove it from the new xattr header.