FreeBSD kernel kern code
|
#include <sys/cdefs.h>
#include "opt_geom.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bio.h>
#include <sys/conf.h>
#include <sys/disk.h>
#include <geom/geom_disk.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$BSDSUniX$") | |
void | disk_err (struct bio *bp, const char *what, int blkdone, int nl) |
void | bioq_init (struct bio_queue_head *head) |
void | bioq_remove (struct bio_queue_head *head, struct bio *bp) |
void | bioq_flush (struct bio_queue_head *head, struct devstat *stp, int error) |
void | bioq_insert_head (struct bio_queue_head *head, struct bio *bp) |
void | bioq_insert_tail (struct bio_queue_head *head, struct bio *bp) |
struct bio * | bioq_first (struct bio_queue_head *head) |
struct bio * | bioq_takefirst (struct bio_queue_head *head) |
static uoff_t | bioq_bio_key (struct bio_queue_head *head, struct bio *bp) |
void | bioq_disksort (struct bio_queue_head *head, struct bio *bp) |
__FBSDID | ( | "$BSDSUniX$" | ) |
|
inlinestatic |
Definition at line 219 of file subr_disk.c.
Referenced by bioq_disksort().
void bioq_disksort | ( | struct bio_queue_head * | head, |
struct bio * | bp | ||
) |
Definition at line 233 of file subr_disk.c.
References bioq_bio_key(), and bioq_insert_tail().
struct bio* bioq_first | ( | struct bio_queue_head * | head | ) |
Definition at line 196 of file subr_disk.c.
void bioq_flush | ( | struct bio_queue_head * | head, |
struct devstat * | stp, | ||
int | error | ||
) |
Definition at line 169 of file subr_disk.c.
References biofinish(), and bioq_takefirst().
void bioq_init | ( | struct bio_queue_head * | head | ) |
Definition at line 147 of file subr_disk.c.
void bioq_insert_head | ( | struct bio_queue_head * | head, |
struct bio * | bp | ||
) |
Definition at line 178 of file subr_disk.c.
void bioq_insert_tail | ( | struct bio_queue_head * | head, |
struct bio * | bp | ||
) |
Definition at line 187 of file subr_disk.c.
Referenced by bioq_disksort().
void bioq_remove | ( | struct bio_queue_head * | head, |
struct bio * | bp | ||
) |
Definition at line 156 of file subr_disk.c.
Referenced by bioq_takefirst().
struct bio* bioq_takefirst | ( | struct bio_queue_head * | head | ) |
Definition at line 203 of file subr_disk.c.
References bioq_remove().
Referenced by bioq_flush().
void disk_err | ( | struct bio * | bp, |
const char * | what, | ||
int | blkdone, | ||
int | nl | ||
) |
Definition at line 34 of file subr_disk.c.
References devtoname(), and printf().