Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/
Dfree-space-cache.c696 u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
705 ctl->total_bitmaps, ctl->unit, max_bitmaps, in recalculate_thresholds()
720 bitmap_bytes = ctl->total_bitmaps * ctl->unit; in recalculate_thresholds()
918 u64 bytes = ctl->unit; in copy_free_space_cache()
1558 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument
1563 return (unsigned long)(div_u64(offset, unit)); in offset_to_bit()
1566 static inline unsigned long bytes_to_bits(u64 bytes, u32 unit) in bytes_to_bits() argument
1568 return (unsigned long)(div_u64(bytes, unit)); in bytes_to_bits()
1577 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1791 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
[all …]
Dfree-space-cache.h65 int unit; member
/fs/erofs/
Ddata.c131 unsigned int unit; in erofs_map_blocks() local
151 unit = sizeof(*idx); /* chunk index */ in erofs_map_blocks()
153 unit = EROFS_BLOCK_MAP_ENTRY_SIZE; /* block map */ in erofs_map_blocks()
157 vi->xattr_isize, unit) + unit * chunknr; in erofs_map_blocks()
/fs/ext4/
DKconfig117 For more information on KUnit and unit tests in general please refer
/fs/fat/
DKconfig128 For more information on KUnit and unit tests in general, please refer
/fs/proc/
Dbase.c586 const char *unit; member
643 if (lnames[i].unit) in proc_pid_limits()
644 seq_printf(m, "%-10s\n", lnames[i].unit); in proc_pid_limits()