mirror of
https://github.com/schoebel/mars
synced 2024-12-16 11:45:10 +00:00
32 lines
556 B
C
32 lines
556 B
C
// (c) 2010 Thomas Schoebel-Theuer / 1&1 Internet AG
|
|
#ifndef MARS_USEBUF_H
|
|
#define MARS_USEBUF_H
|
|
|
|
struct usebuf_mars_ref_aspect {
|
|
GENERIC_ASPECT(mars_ref);
|
|
struct mars_ref_object *origmref;
|
|
struct generic_callback cb;
|
|
struct usebuf_output *output;
|
|
struct bio_vec *bvec;
|
|
int bvec_offset;
|
|
int bvec_len;
|
|
atomic_t subref_count;
|
|
};
|
|
|
|
struct usebuf_brick {
|
|
MARS_BRICK(usebuf);
|
|
};
|
|
|
|
struct usebuf_input {
|
|
MARS_INPUT(usebuf);
|
|
};
|
|
|
|
struct usebuf_output {
|
|
MARS_OUTPUT(usebuf);
|
|
struct generic_object_layout ref_object_layout;
|
|
};
|
|
|
|
MARS_TYPES(usebuf);
|
|
|
|
#endif
|