Lines Matching refs:devstat

65 static struct devstat *devstat_alloc(void);
66 static void devstat_free(struct devstat *);
67 static void devstat_add_entry(struct devstat *ds, const void *dev_name,
76 struct devstat *
83 struct devstat *ds; in devstat_new_entry()
107 devstat_add_entry(struct devstat *ds, const void *dev_name, in devstat_add_entry()
114 struct devstat *ds_tmp; in devstat_add_entry()
134 struct devstat *ds_next; in devstat_add_entry()
188 devstat_remove_entry(struct devstat *ds) in devstat_remove_entry()
204 STAILQ_REMOVE(devstat_head, ds, devstat, dev_links); in devstat_remove_entry()
218 devstat_start_transaction(struct devstat *ds, const struct bintime *now) in devstat_start_transaction()
241 devstat_start_transaction_bio(struct devstat *ds, struct bio *bp) in devstat_start_transaction_bio()
253 devstat_start_transaction_bio_t0(struct devstat *ds, struct bio *bp) in devstat_start_transaction_bio_t0()
291 devstat_end_transaction(struct devstat *ds, uint32_t bytes, in devstat_end_transaction()
336 devstat_end_transaction_bio(struct devstat *ds, const struct bio *bp) in devstat_end_transaction_bio()
343 devstat_end_transaction_bio_bt(struct devstat *ds, const struct bio *bp, in devstat_end_transaction_bio_bt()
388 struct devstat *nds; in sysctl_devstat()
420 error = SYSCTL_OUT(req, nds, sizeof(struct devstat)); in sysctl_devstat()
439 static SYSCTL_NODE(_kern, OID_AUTO, devstat, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL,
463 #define statsperpage (PAGE_SIZE / sizeof(struct devstat))
477 struct devstat *stat;
522 static struct devstat *
525 struct devstat *dsp; in devstat_alloc()
589 devstat_free(struct devstat *dsp) in devstat_free()
603 SYSCTL_INT(_debug_sizeof, OID_AUTO, devstat, CTLFLAG_RD,
604 SYSCTL_NULL_INT_PTR, sizeof(struct devstat), "sizeof(struct devstat)");