Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 8 of 8) sorted by relevance

/fs/logfs/
Dgc.c288 cand = add_list(cand, &super->s_low_list[cand->dist]); in __add_candidate()
299 u8 dist) in add_candidate() argument
311 cand->dist = dist; in add_candidate()
334 u8 dist; in scan_segment() local
344 dist = root_distance(sb, gc_level); in scan_segment()
345 add_candidate(sb, segno, valid, ec, dist); in scan_segment()
389 u8 dist; in __logfs_gc_once() local
397 dist = cand->dist; in __logfs_gc_once()
402 dist, no_free_segments(sb), valid, in __logfs_gc_once()
Dlogfs.h194 u8 dist; member
/fs/gfs2/
Dlog.c400 int dist; in log_distance() local
402 dist = newer - older; in log_distance()
403 if (dist < 0) in log_distance()
404 dist += sdp->sd_jdesc->jd_blocks; in log_distance()
406 return dist; in log_distance()
481 unsigned int dist = log_distance(sdp, new_tail, sdp->sd_log_tail); in log_pull_tail() local
485 atomic_add(dist, &sdp->sd_log_blks_free); in log_pull_tail()
486 trace_gfs2_log_blocks(sdp, dist); in log_pull_tail()
Ddir.c1649 u32 dist = 1; in dir_new_leaf() local
1659 dist++; in dir_new_leaf()
1677 leaf->lf_dist = cpu_to_be32(dist); in dir_new_leaf()
/fs/f2fs/
Ddebug.c144 unsigned long long bimodal, dist; in update_sit_info() local
154 dist = abs(vblocks - hblks_per_sec); in update_sit_info()
155 bimodal += dist * dist; in update_sit_info()
162 dist = div_u64(MAIN_SECS(sbi) * hblks_per_sec * hblks_per_sec, 100); in update_sit_info()
163 si->bimodal = div64_u64(bimodal, dist); in update_sit_info()
/fs/ceph/
Dsuper.h195 int dist[CEPH_MAX_DIRFRAG_REP]; member
Dinode.c294 frag->dist[i] = le32_to_cpu(dirinfo->dist[i]); in ceph_fill_dirfrag()
Dmds_client.c749 mds = frag.dist[r]; in __choose_mds()