mars/mars_usebuf.h

30 lines
496 B
C
Raw Normal View History

2010-07-30 05:46:22 +00:00
// (c) 2010 Thomas Schoebel-Theuer / 1&1 Internet AG
#ifndef MARS_USEBUF_H
#define MARS_USEBUF_H
2010-08-05 15:54:48 +00:00
struct usebuf_mars_ref_aspect {
GENERIC_ASPECT(mars_ref);
struct mars_ref_object *origmref;
2010-07-30 05:46:22 +00:00
struct bio_vec *bvec;
int bvec_offset;
int bvec_len;
2010-08-06 07:38:18 +00:00
atomic_t subref_count;
2010-07-30 05:46:22 +00:00
};
struct usebuf_brick {
MARS_BRICK(usebuf);
};
struct usebuf_input {
MARS_INPUT(usebuf);
};
struct usebuf_output {
MARS_OUTPUT(usebuf);
2010-08-05 15:54:48 +00:00
struct generic_object_layout ref_object_layout;
2010-07-30 05:46:22 +00:00
};
MARS_TYPES(usebuf);
#endif