Lines Matching defs:end
123 void *end;
189 /* Bytes from xl_header to the end of the storage */
1163 xs->end = (void *)di + inode->i_sb->s_blocksize;
1165 (xs->end - le16_to_cpu(di->i_xattr_inline_size));
1618 * we remove one, we have to shift any that preceded it towards the end.
2156 * name+value pair back from the end.
2689 xs->end = (void *)di + inode->i_sb->s_blocksize;
2692 (xs->end - le16_to_cpu(di->i_xattr_inline_size));
2695 (xs->end - OCFS2_SB(inode->i_sb)->s_xattr_inline_size);
2833 xs->end = (void *)(blk_bh->b_data) + blk_bh->b_size;
2872 goto end;
2880 goto end;
2887 goto end;
2897 goto end;
2935 end:
2961 goto end;
2968 xs->end = (void *)xblk + inode->i_sb->s_blocksize;
2981 goto end;
2985 goto end;
2992 end:
3003 size_t min_offs = xs->end - xs->base;
3901 xs->end = xs->base + inode->i_sb->s_blocksize;
4174 * filled from the end. This is why *target starts as the last buffer.
4257 xs->end = xs->base + inode->i_sb->s_blocksize;
4376 * We will move all the name/value pairs to the end of the bucket
4384 size_t end, offset, len;
4426 * move them to the end one by one.
4432 /* Move all name/values to the end of the bucket. */
4434 end = OCFS2_XATTR_BUCKET_SIZE;
4441 * exist in the same block. So adjust end to
4442 * the previous block end if needed.
4444 if (((end - len) / blocksize !=
4445 (end - 1) / blocksize))
4446 end = end - end % blocksize;
4448 if (end > offset + len) {
4449 memmove(bucket_buf + end - len,
4451 xe->xe_name_offset = cpu_to_le16(end - len);
4454 mlog_bug_on_msg(end < offset + len, "Defrag check failed for "
4457 end -= len;
4460 mlog_bug_on_msg(xh_free_start > end, "Defrag check failed for "
4463 if (xh_free_start == end)
4466 memset(bucket_buf + xh_free_start, 0, end - xh_free_start);
4467 xh->xh_free_start = cpu_to_le16(end);
4595 /* For even counts, don't walk off the end */
4840 * and copied out the end of the old extent. Then it re-extends
6772 * In the end, we have to add credits for modifying the already