Lines Matching refs:range

1090  * Change range of the branches in the right most path according to the leaf
1792 u32 range;
1819 range = le32_to_cpu(rec->e_cpos) +
1821 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range)
1966 * count covers the full theoretical range of their child list
1967 * - the range between their cpos and the cpos of the record
2298 * Trap the case where we're inserting into the theoretical range past
2299 * the _actual_ left leaf range. Otherwise, we'll rotate a record
2326 unsigned int range;
2340 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec);
2341 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range)
2356 * whose range contains e_cpos.
2531 u32 range;
2547 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec);
2554 rec->e_int_clusters = cpu_to_le32(range);
3866 unsigned int range;
3912 range = le32_to_cpu(rec->e_cpos)
3914 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range);
7204 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff;
7280 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec);
7312 } else if (range > new_highest_cpos) {
7318 trunc_len = range - new_highest_cpos;
7463 * few blocks after the desried start block and the range can cross
7521 int ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range)
7533 start = range->start >> osb->s_clustersize_bits;
7534 len = range->len >> osb->s_clustersize_bits;
7535 minlen = range->minlen >> osb->s_clustersize_bits;
7537 if (minlen >= osb->bitmap_cpg || range->len < sb->s_blocksize)
7640 range->len = trimmed * sb->s_blocksize;
7644 int ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range)
7652 trace_ocfs2_trim_fs(range->start, range->len, range->minlen);
7673 info.tf_start == range->start &&
7674 info.tf_len == range->len &&
7675 info.tf_minlen == range->minlen) {
7680 range->len = info.tf_trimlen;
7686 info.tf_start = range->start;
7687 info.tf_len = range->len;
7688 info.tf_minlen = range->minlen;
7690 ret = ocfs2_trim_mainbm(sb, range);
7692 info.tf_trimlen = range->len;