Lines Matching refs:devstat

68 static struct devstat *devstat_alloc(void);
69 static void devstat_free(struct devstat *);
70 static void devstat_add_entry(struct devstat *ds, const void *dev_name,
79 struct devstat *
86 struct devstat *ds; in devstat_new_entry()
110 devstat_add_entry(struct devstat *ds, const void *dev_name, in devstat_add_entry()
117 struct devstat *ds_tmp; in devstat_add_entry()
137 struct devstat *ds_next; in devstat_add_entry()
191 devstat_remove_entry(struct devstat *ds) in devstat_remove_entry()
207 STAILQ_REMOVE(devstat_head, ds, devstat, dev_links); in devstat_remove_entry()
221 devstat_start_transaction(struct devstat *ds, const struct bintime *now) in devstat_start_transaction()
244 devstat_start_transaction_bio(struct devstat *ds, struct bio *bp) in devstat_start_transaction_bio()
256 devstat_start_transaction_bio_t0(struct devstat *ds, struct bio *bp) in devstat_start_transaction_bio_t0()
294 devstat_end_transaction(struct devstat *ds, uint32_t bytes, in devstat_end_transaction()
339 devstat_end_transaction_bio(struct devstat *ds, const struct bio *bp) in devstat_end_transaction_bio()
346 devstat_end_transaction_bio_bt(struct devstat *ds, const struct bio *bp, in devstat_end_transaction_bio_bt()
391 struct devstat *nds; in sysctl_devstat()
480 static SYSCTL_NODE(_kern, OID_AUTO, devstat, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL,
504 #define statsperpage (PAGE_SIZE / sizeof(struct devstat))
518 struct devstat *stat;
563 static struct devstat *
566 struct devstat *dsp; in devstat_alloc()
630 devstat_free(struct devstat *dsp) in devstat_free()
644 SYSCTL_SIZEOF_STRUCT(devstat);