Lines Matching refs:oc
126 return ios->oc->comps[index & ios->oc->single_comp].cred; in _ios_cred()
131 return &ios->oc->comps[index & ios->oc->single_comp].obj; in _ios_obj()
137 ios->oc->first_dev, ios->oc->numdevs, index, in _ios_od()
138 ios->oc->ods); in _ios_od()
140 return ore_comp_dev(ios->oc, index); in _ios_od()
144 struct ore_components *oc, unsigned numdevs, in _ore_get_io_state() argument
221 ios->oc = oc; in _ore_get_io_state()
242 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_rw_state() argument
282 ret = _ore_get_io_state(layout, oc, numdevs, sgs_per_dev, max_par_pages, in ore_get_rw_state()
311 int ore_get_io_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_io_state() argument
314 return _ore_get_io_state(layout, oc, oc->numdevs, 0, 0, pios); in ore_get_io_state()
458 unsigned dev = per_dev->dev - ios->oc->first_dev; in ore_check_io()
459 struct ore_dev *od = ios->oc->ods[dev]; in ore_check_io()
790 for (i = 0; i < ios->oc->numdevs; i++) { in ore_create()
815 for (i = 0; i < ios->oc->numdevs; i++) { in ore_remove()
1100 int ore_truncate(struct ore_layout *layout, struct ore_components *oc, in ore_truncate() argument
1111 ret = ore_get_io_state(layout, oc, &ios); in ore_truncate()
1117 size_attrs = kcalloc(ios->oc->numdevs, sizeof(*size_attrs), in ore_truncate()
1124 ios->numdevs = ios->oc->numdevs; in ore_truncate()
1147 _LLU(oc->comps->obj.id), _LLU(obj_size), i); in ore_truncate()