Searched refs:s_imap (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/omfs/ |
H A D | bitmap.c | 16 sum += nbits - bitmap_weight(sbi->s_imap[i], nbits); in omfs_count_free() 74 set_bit(bit, sbi->s_imap[map]); in set_run() 77 clear_bit(bit, sbi->s_imap[map]); in set_run() 105 if (map >= sbi->s_imap_size || test_and_set_bit(bit, sbi->s_imap[map])) in omfs_allocate_block() 145 bit = find_next_zero_bit(sbi->s_imap[i], bits_per_entry, in omfs_allocate_range() 151 run = count_run(&sbi->s_imap[i], bits_per_entry, in omfs_allocate_range()
|
H A D | inode.c | 268 kfree(sbi->s_imap); in omfs_put_super() 351 sbi->s_imap = kcalloc(array_size, sizeof(unsigned long *), GFP_KERNEL); in omfs_get_imap() 352 if (!sbi->s_imap) in omfs_get_imap() 359 ptr = sbi->s_imap; in omfs_get_imap() 380 kfree(sbi->s_imap[count]); in omfs_get_imap() 382 kfree(sbi->s_imap); in omfs_get_imap() 384 sbi->s_imap = NULL; in omfs_get_imap()
|
H A D | omfs.h | 20 unsigned long **s_imap; member
|
/openbmc/linux/fs/minix/ |
H A D | inode.c | 52 brelse(sbi->s_imap[i]); in minix_put_super() 56 kfree(sbi->s_imap); in minix_put_super() 260 sbi->s_imap = &map[0]; in minix_fill_super() 265 if (!(sbi->s_imap[i]=sb_bread(s, block))) in minix_fill_super() 275 minix_set_bit(0,sbi->s_imap[0]->b_data); in minix_fill_super() 336 brelse(sbi->s_imap[i]); in minix_fill_super() 339 kfree(sbi->s_imap); in minix_fill_super()
|
H A D | bitmap.c | 205 bh = sbi->s_imap[ino]; in minix_free_inode() 229 bh = sbi->s_imap[i]; in minix_new_inode() 268 return count_free(sbi->s_imap, sb->s_blocksize, bits); in minix_count_free_inodes()
|
H A D | minix.h | 37 struct buffer_head ** s_imap; member
|