Lines Matching refs:or
320 if (per_dev->or) in ore_put_io_state()
321 osd_end_request(per_dev->or); in ore_put_io_state()
347 static void _done_io(struct osd_request *or, void *p) in _done_io() argument
366 struct osd_request *or = ios->per_dev[i].or; in ore_io_execute() local
367 if (unlikely(!or)) in ore_io_execute()
370 ret = osd_finalize_request(or, 0, _ios_cred(ios, i), NULL); in ore_io_execute()
381 struct osd_request *or = ios->per_dev[i].or; in ore_io_execute() local
382 if (unlikely(!or)) in ore_io_execute()
386 osd_execute_request_async(or, _done_io, ios); in ore_io_execute()
423 struct osd_request *or = per_dev->or; in ore_check_io() local
426 if (unlikely(!or)) in ore_check_io()
429 ret = osd_req_decode_sense(or, &osi); in ore_check_io()
446 or->in.residual : or->out.residual; in ore_check_io()
746 struct osd_request *or; in ore_create() local
748 or = osd_start_request(_ios_od(ios, i), GFP_KERNEL); in ore_create()
749 if (unlikely(!or)) { in ore_create()
754 ios->per_dev[i].or = or; in ore_create()
757 osd_req_create_object(or, _ios_obj(ios, i)); in ore_create()
771 struct osd_request *or; in ore_remove() local
773 or = osd_start_request(_ios_od(ios, i), GFP_KERNEL); in ore_remove()
774 if (unlikely(!or)) { in ore_remove()
779 ios->per_dev[i].or = or; in ore_remove()
782 osd_req_remove_object(or, _ios_obj(ios, i)); in ore_remove()
803 struct osd_request *or; in _write_mirror() local
805 or = osd_start_request(_ios_od(ios, dev), GFP_KERNEL); in _write_mirror()
806 if (unlikely(!or)) { in _write_mirror()
811 per_dev->or = or; in _write_mirror()
839 osd_req_write(or, _ios_obj(ios, cur_comp), in _write_mirror()
855 ret = osd_req_write_kern(or, _ios_obj(ios, cur_comp), in _write_mirror()
866 osd_req_set_attributes(or, _ios_obj(ios, cur_comp)); in _write_mirror()
873 osd_req_add_set_attr_list(or, ios->out_attr, in _write_mirror()
877 osd_req_add_get_attr_list(or, ios->in_attr, in _write_mirror()
915 struct osd_request *or; in _ore_read_mirror() local
924 or = osd_start_request(_ios_od(ios, first_dev), GFP_KERNEL); in _ore_read_mirror()
925 if (unlikely(!or)) { in _ore_read_mirror()
929 per_dev->or = or; in _ore_read_mirror()
938 osd_req_read_sg(or, obj, per_dev->bio, in _ore_read_mirror()
942 osd_req_read(or, obj, per_dev->offset, in _ore_read_mirror()
953 osd_req_get_attributes(or, obj); in _ore_read_mirror()
959 osd_req_add_set_attr_list(or, ios->out_attr, ios->out_attr_len); in _ore_read_mirror()
962 osd_req_add_get_attr_list(or, ios->in_attr, ios->in_attr_len); in _ore_read_mirror()
995 osd_req_decode_get_attr_list(ios->per_dev[0].or, in extract_attr_from_ios()
1016 struct osd_request *or; in _truncate_mirrors() local
1018 or = osd_start_request(_ios_od(ios, cur_comp), GFP_KERNEL); in _truncate_mirrors()
1019 if (unlikely(!or)) { in _truncate_mirrors()
1023 per_dev->or = or; in _truncate_mirrors()
1025 osd_req_set_attributes(or, _ios_obj(ios, cur_comp)); in _truncate_mirrors()
1026 osd_req_add_set_attr_list(or, attr, 1); in _truncate_mirrors()