• Home
  • Raw
  • Download

Lines Matching refs:range

1790 	u32 range;  in __ocfs2_find_path()  local
1817 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path()
1819 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path()
2324 unsigned int range; in ocfs2_leftmost_rec_contains() local
2338 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_leftmost_rec_contains()
2339 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in ocfs2_leftmost_rec_contains()
2529 u32 range; in ocfs2_update_edge_lengths() local
2545 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_update_edge_lengths()
2552 rec->e_int_clusters = cpu_to_le32(range); in ocfs2_update_edge_lengths()
3864 unsigned int range; in ocfs2_insert_at_leaf() local
3910 range = le32_to_cpu(rec->e_cpos) in ocfs2_insert_at_leaf()
3912 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); in ocfs2_insert_at_leaf()
7209 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; in ocfs2_commit_truncate() local
7285 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_commit_truncate()
7317 } else if (range > new_highest_cpos) { in ocfs2_commit_truncate()
7323 trunc_len = range - new_highest_cpos; in ocfs2_commit_truncate()
7526 int ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range) in ocfs2_trim_mainbm() argument
7538 start = range->start >> osb->s_clustersize_bits; in ocfs2_trim_mainbm()
7539 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_mainbm()
7540 minlen = range->minlen >> osb->s_clustersize_bits; in ocfs2_trim_mainbm()
7542 if (minlen >= osb->bitmap_cpg || range->len < sb->s_blocksize) in ocfs2_trim_mainbm()
7645 range->len = trimmed * sb->s_blocksize; in ocfs2_trim_mainbm()
7649 int ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range) in ocfs2_trim_fs() argument
7657 trace_ocfs2_trim_fs(range->start, range->len, range->minlen); in ocfs2_trim_fs()
7678 info.tf_start == range->start && in ocfs2_trim_fs()
7679 info.tf_len == range->len && in ocfs2_trim_fs()
7680 info.tf_minlen == range->minlen) { in ocfs2_trim_fs()
7685 range->len = info.tf_trimlen; in ocfs2_trim_fs()
7691 info.tf_start = range->start; in ocfs2_trim_fs()
7692 info.tf_len = range->len; in ocfs2_trim_fs()
7693 info.tf_minlen = range->minlen; in ocfs2_trim_fs()
7695 ret = ocfs2_trim_mainbm(sb, range); in ocfs2_trim_fs()
7697 info.tf_trimlen = range->len; in ocfs2_trim_fs()