Searched refs:dist (Results 1 – 6 of 6) sorted by relevance
409 int dist; in log_distance() local411 dist = newer - older; in log_distance()412 if (dist < 0) in log_distance()413 dist += sdp->sd_jdesc->jd_blocks; in log_distance()415 return dist; in log_distance()490 unsigned int dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail() local494 atomic_add(dist, &sdp->sd_log_blks_free); in log_pull_tail()495 trace_gfs2_log_blocks(sdp, dist); in log_pull_tail()
1733 u32 dist = 1; in dir_new_leaf() local1743 dist++; in dir_new_leaf()1761 leaf->lf_dist = cpu_to_be32(dist); in dir_new_leaf()
148 unsigned long long bimodal, dist; in update_sit_info() local158 dist = abs(vblocks - hblks_per_sec); in update_sit_info()159 bimodal += dist * dist; in update_sit_info()166 dist = div_u64(MAIN_SECS(sbi) * hblks_per_sec * hblks_per_sec, 100); in update_sit_info()167 si->bimodal = div64_u64(bimodal, dist); in update_sit_info()
234 int dist[CEPH_MAX_DIRFRAG_REP]; member
293 frag->dist[i] = le32_to_cpu(dirinfo->dist[i]); in ceph_fill_dirfrag()
796 mds = frag.dist[r]; in __choose_mds()