Lines Matching refs:ios

271 	struct ore_io_state *ios;  in __sbi_read_stats()  local
274 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats()
280 ios->in_attr = attrs; in __sbi_read_stats()
281 ios->in_attr_len = ARRAY_SIZE(attrs); in __sbi_read_stats()
283 ret = ore_read(ios); in __sbi_read_stats()
289 ret = extract_attr_from_ios(ios, &attrs[0]); in __sbi_read_stats()
310 ore_put_io_state(ios); in __sbi_read_stats()
314 static void stats_done(struct ore_io_state *ios, void *p) in stats_done() argument
316 ore_put_io_state(ios); in stats_done()
326 struct ore_io_state *ios; in exofs_sbi_write_stats() local
329 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats()
340 ios->done = stats_done; in exofs_sbi_write_stats()
341 ios->private = sbi; in exofs_sbi_write_stats()
342 ios->out_attr = attrs; in exofs_sbi_write_stats()
343 ios->out_attr_len = ARRAY_SIZE(attrs); in exofs_sbi_write_stats()
345 ret = ore_write(ios); in exofs_sbi_write_stats()
348 ore_put_io_state(ios); in exofs_sbi_write_stats()
369 struct ore_io_state *ios; in exofs_sync_fs() local
388 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs()
392 ios->length = offsetof(struct exofs_fscb, s_dev_table_oid); in exofs_sync_fs()
393 memset(fscb, 0, ios->length); in exofs_sync_fs()
400 ios->offset = 0; in exofs_sync_fs()
401 ios->kern_buff = fscb; in exofs_sync_fs()
403 ret = ore_write(ios); in exofs_sync_fs()
409 ore_put_io_state(ios); in exofs_sync_fs()
887 struct ore_io_state *ios; in exofs_statfs() local
898 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_statfs()
904 ios->in_attr = attrs; in exofs_statfs()
905 ios->in_attr_len = ARRAY_SIZE(attrs); in exofs_statfs()
907 ret = ore_read(ios); in exofs_statfs()
911 ret = extract_attr_from_ios(ios, &attrs[0]); in exofs_statfs()
919 ret = extract_attr_from_ios(ios, &attrs[1]); in exofs_statfs()
936 ore_put_io_state(ios); in exofs_statfs()