Searched refs:bits_per_entry (Results 1 – 1 of 1) sorted by relevance
/fs/omfs/ |
D | bitmap.c | 95 int bits_per_entry = 8 * sb->s_blocksize; in omfs_allocate_block() local 101 bit = do_div(tmp, bits_per_entry); in omfs_allocate_block() 137 int bits_per_entry = 8 * sb->s_blocksize; in omfs_allocate_range() local 144 while (bit < bits_per_entry) { in omfs_allocate_range() 145 bit = find_next_zero_bit(sbi->s_imap[i], bits_per_entry, in omfs_allocate_range() 148 if (bit == bits_per_entry) in omfs_allocate_range() 151 run = count_run(&sbi->s_imap[i], bits_per_entry, in omfs_allocate_range() 163 *return_block = (u64) i * bits_per_entry + bit; in omfs_allocate_range() 165 ret = set_run(sb, i, bits_per_entry, bit, run, 1); in omfs_allocate_range() 178 int bits_per_entry = 8 * sb->s_blocksize; in omfs_clear_range() local [all …]
|