Lines Matching refs:devstat

64 static struct devstat *devstat_alloc(void);
65 static void devstat_free(struct devstat *);
66 static void devstat_add_entry(struct devstat *ds, const void *dev_name,
75 struct devstat *
82 struct devstat *ds; in devstat_new_entry()
106 devstat_add_entry(struct devstat *ds, const void *dev_name, in devstat_add_entry()
113 struct devstat *ds_tmp; in devstat_add_entry()
133 struct devstat *ds_next; in devstat_add_entry()
187 devstat_remove_entry(struct devstat *ds) in devstat_remove_entry()
203 STAILQ_REMOVE(devstat_head, ds, devstat, dev_links); in devstat_remove_entry()
217 devstat_start_transaction(struct devstat *ds, const struct bintime *now) in devstat_start_transaction()
240 devstat_start_transaction_bio(struct devstat *ds, struct bio *bp) in devstat_start_transaction_bio()
252 devstat_start_transaction_bio_t0(struct devstat *ds, struct bio *bp) in devstat_start_transaction_bio_t0()
290 devstat_end_transaction(struct devstat *ds, uint32_t bytes, in devstat_end_transaction()
335 devstat_end_transaction_bio(struct devstat *ds, const struct bio *bp) in devstat_end_transaction_bio()
342 devstat_end_transaction_bio_bt(struct devstat *ds, const struct bio *bp, in devstat_end_transaction_bio_bt()
387 struct devstat *nds; in sysctl_devstat()
419 error = SYSCTL_OUT(req, nds, sizeof(struct devstat)); in sysctl_devstat()
438 static SYSCTL_NODE(_kern, OID_AUTO, devstat, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL,
462 #define statsperpage (PAGE_SIZE / sizeof(struct devstat))
476 struct devstat *stat;
521 static struct devstat *
524 struct devstat *dsp; in devstat_alloc()
588 devstat_free(struct devstat *dsp) in devstat_free()
602 SYSCTL_INT(_debug_sizeof, OID_AUTO, devstat, CTLFLAG_RD,
603 SYSCTL_NULL_INT_PTR, sizeof(struct devstat), "sizeof(struct devstat)");