Linux Kernel
3.7.1
|
#include <scsi/osd_initiator.h>
#include <scsi/osd_attributes.h>
#include <scsi/osd_sec.h>
#include <linux/pnfs_osd_xdr.h>
#include <linux/bug.h>
Go to the source code of this file.
Data Structures | |
struct | ore_comp |
struct | ore_layout |
struct | ore_dev |
struct | ore_components |
struct | ore_striping_info |
struct | _ore_r4w_op |
struct | ore_io_state |
struct | ore_io_state::ore_per_dev_state |
Typedefs | |
typedef void(* | ore_io_done_fn )(struct ore_io_state *ios, void *private) |
typedef void(* | ore_on_dev_error )(struct ore_io_state *ios, struct ore_dev *od, unsigned dev_index, enum osd_err_priority oep, u64 dev_offset, u64 dev_len) |
Functions | |
int | ore_verify_layout (unsigned total_comps, struct ore_layout *layout) |
void | ore_calc_stripe_info (struct ore_layout *layout, u64 file_offset, u64 length, struct ore_striping_info *si) |
int | ore_get_rw_state (struct ore_layout *layout, struct ore_components *comps, bool is_reading, u64 offset, u64 length, struct ore_io_state **ios) |
int | ore_get_io_state (struct ore_layout *layout, struct ore_components *comps, struct ore_io_state **ios) |
void | ore_put_io_state (struct ore_io_state *ios) |
int | ore_check_io (struct ore_io_state *ios, ore_on_dev_error rep) |
int | ore_create (struct ore_io_state *ios) |
int | ore_remove (struct ore_io_state *ios) |
int | ore_write (struct ore_io_state *ios) |
int | ore_read (struct ore_io_state *ios) |
int | ore_truncate (struct ore_layout *layout, struct ore_components *comps, u64 size) |
int | extract_attr_from_ios (struct ore_io_state *ios, struct osd_attr *attr) |
Variables | |
struct osd_attr | g_attr_logical_length |
typedef void(* ore_io_done_fn)(struct ore_io_state *ios, void *private) |
typedef void(* ore_on_dev_error)(struct ore_io_state *ios, struct ore_dev *od, unsigned dev_index, enum osd_err_priority oep, u64 dev_offset, u64 dev_len) |
int extract_attr_from_ios | ( | struct ore_io_state * | ios, |
struct osd_attr * | attr | ||
) |
void ore_calc_stripe_info | ( | struct ore_layout * | layout, |
u64 | file_offset, | ||
u64 | length, | ||
struct ore_striping_info * | si | ||
) |
int ore_check_io | ( | struct ore_io_state * | ios, |
ore_on_dev_error | rep | ||
) |
int ore_create | ( | struct ore_io_state * | ios | ) |
int ore_get_io_state | ( | struct ore_layout * | layout, |
struct ore_components * | comps, | ||
struct ore_io_state ** | ios | ||
) |
int ore_get_rw_state | ( | struct ore_layout * | layout, |
struct ore_components * | comps, | ||
bool | is_reading, | ||
u64 | offset, | ||
u64 | length, | ||
struct ore_io_state ** | ios | ||
) |
void ore_put_io_state | ( | struct ore_io_state * | ios | ) |
int ore_read | ( | struct ore_io_state * | ios | ) |
int ore_remove | ( | struct ore_io_state * | ios | ) |
int ore_truncate | ( | struct ore_layout * | layout, |
struct ore_components * | comps, | ||
u64 | size | ||
) |
int ore_verify_layout | ( | unsigned | total_comps, |
struct ore_layout * | layout | ||
) |
int ore_write | ( | struct ore_io_state * | ios | ) |