Lines Matching refs:oc
278 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats()
333 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats()
372 struct ore_components oc; in exofs_sync_fs() local
390 exofs_init_comps(&oc, &one_comp, sbi, EXOFS_SUPER_ID); in exofs_sync_fs()
392 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs()
429 unsigned numdevs = sbi->oc.numdevs; in exofs_free_sbi()
433 struct osd_dev *od = ore_comp_dev(&sbi->oc, i); in exofs_free_sbi()
436 ore_comp_set_dev(&sbi->oc, i, NULL); in exofs_free_sbi()
440 kfree(sbi->oc.ods); in exofs_free_sbi()
467 _exofs_print_device("Unmounting", NULL, ore_comp_dev(&sbi->oc, 0), in exofs_put_super()
559 sbi->oc.ods = kzalloc(numores * sizeof(struct ore_dev *) + in __alloc_dev_table()
561 if (unlikely(!sbi->oc.ods)) { in __alloc_dev_table()
568 *peds = eds = (void *)sbi->oc.ods[numores]; in __alloc_dev_table()
571 sbi->oc.ods[i] = &eds[i].ored; in __alloc_dev_table()
594 sbi->oc.numdevs = 0; in exofs_read_lookup_dev_table()
626 memcpy(&sbi->oc.ods[numdevs], &sbi->oc.ods[0], in exofs_read_lookup_dev_table()
627 (numdevs - 1) * sizeof(sbi->oc.ods[0])); in exofs_read_lookup_dev_table()
658 ++sbi->oc.numdevs; in exofs_read_lookup_dev_table()
673 ++sbi->oc.numdevs; in exofs_read_lookup_dev_table()
750 sbi->oc.single_comp = EC_SINGLE_COMP; in exofs_fill_super()
751 sbi->oc.comps = &sbi->one_comp; in exofs_fill_super()
807 ore_comp_set_dev(&sbi->oc, 0, od); in exofs_fill_super()
808 sbi->oc.numdevs = 1; in exofs_fill_super()
847 ore_comp_dev(&sbi->oc, 0), in exofs_fill_super()
896 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_statfs()