Lines Matching refs:of_binfo
28 if (atomic_dec_if_positive(&oi->of_binfo[i].ob_free_entries) in ext4_orphan_file_add()
48 oi->of_binfo[i].ob_bh, EXT4_JTR_ORPHAN_FILE); in ext4_orphan_file_add()
50 atomic_inc(&oi->of_binfo[i].ob_free_entries); in ext4_orphan_file_add()
54 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_orphan_file_add()
67 atomic_inc(&oi->of_binfo[i].ob_free_entries); in ext4_orphan_file_add()
84 return ext4_handle_dirty_metadata(handle, NULL, oi->of_binfo[i].ob_bh); in ext4_orphan_file_add()
208 oi->of_binfo[blk].ob_bh, EXT4_JTR_ORPHAN_FILE); in ext4_orphan_file_del()
212 bdata = (__le32 *)(oi->of_binfo[blk].ob_bh->b_data); in ext4_orphan_file_del()
214 atomic_inc(&oi->of_binfo[blk].ob_free_entries); in ext4_orphan_file_del()
215 ret = ext4_handle_dirty_metadata(handle, NULL, oi->of_binfo[blk].ob_bh); in ext4_orphan_file_del()
478 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_orphan_cleanup()
519 brelse(oi->of_binfo[i].ob_bh); in ext4_release_orphan_info()
520 kfree(oi->of_binfo); in ext4_release_orphan_info()
593 oi->of_binfo = kmalloc(oi->of_blocks*sizeof(struct ext4_orphan_block), in ext4_init_orphan_info()
595 if (!oi->of_binfo) { in ext4_init_orphan_info()
600 oi->of_binfo[i].ob_bh = ext4_bread(NULL, inode, i, 0); in ext4_init_orphan_info()
601 if (IS_ERR(oi->of_binfo[i].ob_bh)) { in ext4_init_orphan_info()
602 ret = PTR_ERR(oi->of_binfo[i].ob_bh); in ext4_init_orphan_info()
605 if (!oi->of_binfo[i].ob_bh) { in ext4_init_orphan_info()
609 ot = ext4_orphan_block_tail(sb, oi->of_binfo[i].ob_bh); in ext4_init_orphan_info()
616 oi->of_binfo[i].ob_bh)) { in ext4_init_orphan_info()
621 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_init_orphan_info()
626 atomic_set(&oi->of_binfo[i].ob_free_entries, free); in ext4_init_orphan_info()
632 brelse(oi->of_binfo[i].ob_bh); in ext4_init_orphan_info()
633 kfree(oi->of_binfo); in ext4_init_orphan_info()
648 if (atomic_read(&oi->of_binfo[i].ob_free_entries) != in ext4_orphan_file_empty()