Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/geom.h
Show First 20 Lines • Show All 339 Lines • ▼ Show 20 Lines | |||||
void g_unregister_classifier(struct g_classifier_hook *hook); | void g_unregister_classifier(struct g_classifier_hook *hook); | ||||
void g_io_request(struct bio *bp, struct g_consumer *cp); | void g_io_request(struct bio *bp, struct g_consumer *cp); | ||||
struct bio *g_new_bio(void); | struct bio *g_new_bio(void); | ||||
struct bio *g_alloc_bio(void); | struct bio *g_alloc_bio(void); | ||||
void g_reset_bio(struct bio *); | void g_reset_bio(struct bio *); | ||||
void * g_read_data(struct g_consumer *cp, off_t offset, off_t length, int *error); | void * g_read_data(struct g_consumer *cp, off_t offset, off_t length, int *error); | ||||
int g_write_data(struct g_consumer *cp, off_t offset, void *ptr, off_t length); | int g_write_data(struct g_consumer *cp, off_t offset, void *ptr, off_t length); | ||||
int g_delete_data(struct g_consumer *cp, off_t offset, off_t length); | int g_delete_data(struct g_consumer *cp, off_t offset, off_t length); | ||||
void g_print_bio(struct bio *bp); | void g_format_bio(struct sbuf *, struct bio *bp); | ||||
int g_use_g_read_data(void *, off_t, void **, int); | int g_use_g_read_data(void *, off_t, void **, int); | ||||
int g_use_g_write_data(void *, off_t, void *, int); | int g_use_g_write_data(void *, off_t, void *, int); | ||||
/* geom_kern.c / geom_kernsim.c */ | /* geom_kern.c / geom_kernsim.c */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
extern struct sx topology_lock; | extern struct sx topology_lock; | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |