Lines Matching refs:range

1088  * Change range of the branches in the right most path according to the leaf
1790 u32 range;
1817 range = le32_to_cpu(rec->e_cpos) +
1819 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range)
1964 * count covers the full theoretical range of their child list
1965 * - the range between their cpos and the cpos of the record
2296 * Trap the case where we're inserting into the theoretical range past
2297 * the _actual_ left leaf range. Otherwise, we'll rotate a record
2324 unsigned int range;
2338 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec);
2339 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range)
2354 * whose range contains e_cpos.
2529 u32 range;
2545 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec);
2552 rec->e_int_clusters = cpu_to_le32(range);
3864 unsigned int range;
3910 range = le32_to_cpu(rec->e_cpos)
3912 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range);
7209 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff;
7285 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec);
7317 } else if (range > new_highest_cpos) {
7323 trunc_len = range - new_highest_cpos;
7468 * few blocks after the desried start block and the range can cross
7526 int ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range)
7538 start = range->start >> osb->s_clustersize_bits;
7539 len = range->len >> osb->s_clustersize_bits;
7540 minlen = range->minlen >> osb->s_clustersize_bits;
7542 if (minlen >= osb->bitmap_cpg || range->len < sb->s_blocksize)
7645 range->len = trimmed * sb->s_blocksize;
7649 int ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range)
7657 trace_ocfs2_trim_fs(range->start, range->len, range->minlen);
7678 info.tf_start == range->start &&
7679 info.tf_len == range->len &&
7680 info.tf_minlen == range->minlen) {
7685 range->len = info.tf_trimlen;
7691 info.tf_start = range->start;
7692 info.tf_len = range->len;
7693 info.tf_minlen = range->minlen;
7695 ret = ocfs2_trim_mainbm(sb, range);
7697 info.tf_trimlen = range->len;