Lines Matching defs:first

153 	 * Return the offset of the first name+value pair.  This is
1784 * First we check if it would fit in the first place.
1787 * first, we avoid that error.
3113 /* do cluster allocation guess first. */
3118 * In xattr set, we always try to set the xe in inode first,
3313 /* We always try to set extended attribute into inode first*/
3676 * e_cpos will be the first name hash of the xattr rec.
3800 * The ocfs2_xattr_header.xh_num_buckets of the first bucket contains
3860 * bucket, the last one is also the first one.
4425 * the largest will be the first, so that we can
4503 struct ocfs2_xattr_bucket *first,
4515 u64 last_cluster_blkno = bucket_blkno(first) +
4518 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets);
4525 ret = ocfs2_mv_xattr_buckets(inode, handle, bucket_blkno(first),
4533 /* This is the first bucket that got moved */
4538 * update first and target.
4545 ocfs2_xattr_bucket_relse(first);
4552 ret = ocfs2_read_xattr_bucket(first, new_blkno);
4575 * and the first check we make will find a place to split.
4704 /* copy the whole bucket to the new first. */
4712 * the old bucket first.
4890 /* The first bucket of the original extent */
4892 /* The first bucket of the new extent */
4907 * We need to update the first bucket of the old extent and all
5000 * prev_blk to it. v_start will be set as the first name hash value in this
5023 struct ocfs2_xattr_bucket *first,
5033 (unsigned long long)bucket_blkno(first),
5039 first, target,
5046 /* The start of the last cluster in the first extent */
5047 u64 last_blk = bucket_blkno(first) +
5053 bucket_blkno(first),
5085 * first_bh is the first block of the previous extent rec and header_bh
5091 struct ocfs2_xattr_bucket *first,
5109 (unsigned long long)bucket_blkno(first),
5134 if (bucket_blkno(first) + (prev_clusters * bpc) == block &&
5151 first,
5179 * We are given an extent. 'first' is the bucket at the very front of
5181 * bucket_xh(first)->xh_num_buckets. 'target_blkno' is the block number
5189 struct ocfs2_xattr_bucket *first,
5197 u16 new_bucket = le16_to_cpu(bucket_xh(first)->xh_num_buckets);
5200 (unsigned long long)bucket_blkno(first),
5208 end_blk = bucket_blkno(first) + ((new_bucket - 1) * blk_per_bucket);
5215 * new bucket, and the first bucket (3 * blk_per_bucket).
5224 ret = ocfs2_xattr_bucket_journal_access(handle, first,
5243 le16_add_cpu(&bucket_xh(first)->xh_num_buckets, 1);
5244 ocfs2_xattr_bucket_journal_dirty(handle, first);
5279 struct ocfs2_xattr_bucket *first;
5284 /* The first bucket of the original extent */
5285 first = ocfs2_xattr_bucket_new(inode);
5286 if (!first) {
5299 ret = ocfs2_read_xattr_bucket(first, p_blkno);
5306 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) {
5308 * This can move first+target if the target bucket moves
5313 first,
5328 first,
5336 ocfs2_xattr_bucket_free(first);
6727 /* Add the credits for this bucket first. */