Lines Matching refs:ios
275 struct ore_io_state *ios; in __sbi_read_stats() local
278 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats()
284 ios->in_attr = attrs; in __sbi_read_stats()
285 ios->in_attr_len = ARRAY_SIZE(attrs); in __sbi_read_stats()
287 ret = ore_read(ios); in __sbi_read_stats()
293 ret = extract_attr_from_ios(ios, &attrs[0]); in __sbi_read_stats()
314 ore_put_io_state(ios); in __sbi_read_stats()
318 static void stats_done(struct ore_io_state *ios, void *p) in stats_done() argument
320 ore_put_io_state(ios); in stats_done()
330 struct ore_io_state *ios; in exofs_sbi_write_stats() local
333 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats()
344 ios->done = stats_done; in exofs_sbi_write_stats()
345 ios->private = sbi; in exofs_sbi_write_stats()
346 ios->out_attr = attrs; in exofs_sbi_write_stats()
347 ios->out_attr_len = ARRAY_SIZE(attrs); in exofs_sbi_write_stats()
349 ret = ore_write(ios); in exofs_sbi_write_stats()
352 ore_put_io_state(ios); in exofs_sbi_write_stats()
373 struct ore_io_state *ios; in exofs_sync_fs() local
392 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs()
396 ios->length = offsetof(struct exofs_fscb, s_dev_table_oid); in exofs_sync_fs()
397 memset(fscb, 0, ios->length); in exofs_sync_fs()
404 ios->offset = 0; in exofs_sync_fs()
405 ios->kern_buff = fscb; in exofs_sync_fs()
407 ret = ore_write(ios); in exofs_sync_fs()
413 ore_put_io_state(ios); in exofs_sync_fs()
885 struct ore_io_state *ios; in exofs_statfs() local
896 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_statfs()
902 ios->in_attr = attrs; in exofs_statfs()
903 ios->in_attr_len = ARRAY_SIZE(attrs); in exofs_statfs()
905 ret = ore_read(ios); in exofs_statfs()
909 ret = extract_attr_from_ios(ios, &attrs[0]); in exofs_statfs()
917 ret = extract_attr_from_ios(ios, &attrs[1]); in exofs_statfs()
934 ore_put_io_state(ios); in exofs_statfs()