Lines Matching refs:free_start
1400 static int ocfs2_xa_check_space_helper(int needed_space, int free_start,
1408 free_space = free_start -
1565 int offset, free_start = loc->xl_size;
1569 if (offset < free_start)
1570 free_start = offset;
1573 return free_start;
1580 int free_start = ocfs2_xa_get_free_start(loc);
1597 return ocfs2_xa_check_space_helper(needed_space, free_start, count);
1646 int free_start = ocfs2_xa_get_free_start(loc);
1648 loc->xl_entry->xe_name_offset = cpu_to_le16(free_start - size);
1725 int free_start, int size)
1731 if (((free_start - size) >> sb->s_blocksize_bits) !=
1732 ((free_start - 1) >> sb->s_blocksize_bits))
1733 free_start -= free_start % sb->s_blocksize;
1735 return free_start;
1743 int free_start = ocfs2_xa_get_free_start(loc);
1763 if (free_start < size) {
1773 rc = ocfs2_xa_check_space_helper(needed_space, free_start,
1777 free_start = ocfs2_bucket_align_free_start(sb, free_start,
1780 return ocfs2_xa_check_space_helper(needed_space, free_start, count);
1826 int free_start = ocfs2_xa_get_free_start(loc);
1831 free_start = ocfs2_bucket_align_free_start(sb, free_start, size);
1832 nameval_offset = free_start - size;