Searched refs:dist (Results 1 – 6 of 6) sorted by relevance
422 int dist; in log_distance() local424 dist = newer - older; in log_distance()425 if (dist < 0) in log_distance()426 dist += sdp->sd_jdesc->jd_blocks; in log_distance()428 return dist; in log_distance()503 unsigned int dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail() local507 atomic_add(dist, &sdp->sd_log_blks_free); in log_pull_tail()508 trace_gfs2_log_blocks(sdp, dist); in log_pull_tail()
1729 u32 dist = 1; in dir_new_leaf() local1739 dist++; in dir_new_leaf()1757 leaf->lf_dist = cpu_to_be32(dist); in dir_new_leaf()
155 unsigned long long bimodal, dist; in update_sit_info() local165 dist = abs(vblocks - hblks_per_sec); in update_sit_info()166 bimodal += dist * dist; in update_sit_info()173 dist = div_u64(MAIN_SECS(sbi) * hblks_per_sec * hblks_per_sec, 100); in update_sit_info()174 si->bimodal = div64_u64(bimodal, dist); in update_sit_info()
247 int dist[CEPH_MAX_DIRFRAG_REP]; member
293 frag->dist[i] = le32_to_cpu(dirinfo->dist[i]); in ceph_fill_dirfrag()
970 mds = frag.dist[r]; in __choose_mds()