Searched refs:unit (Results 1 – 4 of 4) sorted by relevance
/fs/btrfs/ |
D | free-space-cache.c | 1077 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument 1082 return (unsigned long)(div_u64(offset, unit)); in offset_to_bit() 1085 static inline unsigned long bytes_to_bits(u64 bytes, u32 unit) in bytes_to_bits() argument 1087 return (unsigned long)(div_u64(bytes, unit)); in bytes_to_bits() 1096 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap() 1263 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset() 1274 ctl->unit > offset) in tree_search_offset() 1372 start = offset_to_bit(info->offset, ctl->unit, offset); in __bitmap_clear_bits() 1373 count = bytes_to_bits(bytes, ctl->unit); in __bitmap_clear_bits() 1395 start = offset_to_bit(info->offset, ctl->unit, offset); in bitmap_set_bits() [all …]
|
D | free-space-cache.h | 37 int unit; member
|
D | inode-map.c | 375 ctl->unit = 1; in btrfs_init_free_ino_ctl() 388 pinned->unit = 1; in btrfs_init_free_ino_ctl()
|
/fs/proc/ |
D | base.c | 425 char *unit; member 482 if (lnames[i].unit) in proc_pid_limits() 484 lnames[i].unit); in proc_pid_limits()
|