Lines Matching refs:s_ucg
544 sbi->s_ucg = kmalloc_array(uspi->s_ncg, sizeof(struct buffer_head *), in ufs_read_cylinder_structures()
546 if (!sbi->s_ucg) in ufs_read_cylinder_structures()
549 sbi->s_ucg[i] = NULL; in ufs_read_cylinder_structures()
556 if (!(sbi->s_ucg[i] = sb_bread(sb, ufs_cgcmin(i)))) in ufs_read_cylinder_structures()
558 if (!ufs_cg_chkmagic (sb, (struct ufs_cylinder_group *) sbi->s_ucg[i]->b_data)) in ufs_read_cylinder_structures()
561 ufs_print_cylinder_stuff(sb, (struct ufs_cylinder_group *) sbi->s_ucg[i]->b_data); in ufs_read_cylinder_structures()
574 if (sbi->s_ucg) { in ufs_read_cylinder_structures()
576 if (sbi->s_ucg[i]) in ufs_read_cylinder_structures()
577 brelse (sbi->s_ucg[i]); in ufs_read_cylinder_structures()
578 kfree (sbi->s_ucg); in ufs_read_cylinder_structures()
678 brelse (sbi->s_ucg[i]); in ufs_put_super_internal()
679 kfree (sbi->s_ucg); in ufs_put_super_internal()