/freebsd/lib/libdevstat/ |
H A D | Makefile | 1 LIB= devstat 5 SRCS= devstat.c 6 INCS= devstat.h 10 MAN= devstat.3 12 MLINKS+=devstat.3 devstat_getnumdevs.3 13 MLINKS+=devstat.3 devstat_getgeneration.3 14 MLINKS+=devstat.3 devstat_getversion.3 15 MLINKS+=devstat.3 devstat_checkversion.3 16 MLINKS+=devstat.3 devstat_getdevs.3 17 MLINKS+=devstat.3 devstat_selectdevs.3 [all …]
|
H A D | devstat.h | 131 struct devstat *devices; 161 long current_generation, struct devstat *devices, 168 int devstat_compute_statistics(struct devstat *current, 169 struct devstat *previous,
|
H A D | devstat.c | 51 compute_stats(struct devstat *current, struct devstat *previous, 371 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 381 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 414 sizeof(struct devstat)) + sizeof(long); in devstat_getdevs() 475 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 483 dinfo->devices = (struct devstat *)(dinfo->mem_ptr + sizeof(long)); in devstat_getdevs() 552 long current_generation, struct devstat *devices, in devstat_selectdevs() 1176 compute_stats(struct devstat *current, struct devstat *previous, in compute_stats() 1229 devstat_compute_statistics(struct devstat *current, struct devstat *previous, in devstat_compute_statistics() 1631 struct devstat *nds; in get_devstat_kvm() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_devstat.c | 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() [all …]
|
/freebsd/sys/sys/ |
H A D | devicestat.h | 138 struct devstat { struct 148 STAILQ_ENTRY(devstat) dev_links; argument 184 STAILQ_HEAD(devstatlist, devstat); argument 189 struct devstat *devstat_new_entry(const void *dev_name, int unit_number, 195 void devstat_remove_entry(struct devstat *ds); 196 void devstat_start_transaction(struct devstat *ds, const struct bintime *now); 197 void devstat_start_transaction_bio(struct devstat *ds, struct bio *bp); 198 void devstat_start_transaction_bio_t0(struct devstat *ds, struct bio *bp); 199 void devstat_end_transaction(struct devstat *ds, u_int32_t bytes, 204 void devstat_end_transaction_bio(struct devstat *ds, const struct bio *bp); [all …]
|
H A D | bio.h | 136 struct devstat; 149 void biofinish(struct bio *bp, struct devstat *stat, int error); 172 void bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error);
|
/freebsd/lib/libgeom/ |
H A D | geom_stats.c | 97 spp = pagesize / sizeof(struct devstat); in geom_stats_open() 164 struct devstat * 167 struct devstat *gsp; in geom_stats_snapshot_next() 171 gsp = (struct devstat *) in geom_stats_snapshot_next()
|
H A D | libgeom.h | 54 struct devstat *geom_stats_snapshot_next(void *);
|
/freebsd/sbin/mount/ |
H A D | getmntopts.c | 156 struct stat devstat, mntdevstat; in getmntpoint() local 163 if (stat(name, &devstat) != 0) in getmntpoint() 165 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpoint() 189 mntdevstat.st_rdev == devstat.st_rdev) in getmntpoint()
|
/freebsd/sys/geom/ |
H A D | geom_disk.h | 66 struct devstat; 83 struct devstat *d_devstat;
|
H A D | geom.h | 185 struct devstat *stat; 217 struct devstat *stat;
|
/freebsd/cddl/usr.sbin/dwatch/libexec/ |
H A D | io | 73 * struct devstat * 75 this->devinfo = xlate <devinfo_t> ((struct devstat *)args[1]);
|
/freebsd/usr.sbin/iostat/ |
H A D | Makefile | 4 LIBADD= devstat kvm m
|
/freebsd/usr.bin/nfsstat/ |
H A D | Makefile | 6 LIBADD+= devstat xo
|
/freebsd/usr.sbin/gstat/ |
H A D | Makefile | 3 LIBADD= devstat geom edit tinfow ncursesw
|
/freebsd/libexec/rpc.rstatd/ |
H A D | Makefile | 5 LIBADD= rpcsvc devstat
|
/freebsd/usr.bin/vmstat/ |
H A D | Makefile | 5 LIBADD= devstat kvm memstat xo util
|
/freebsd/sys/contrib/device-tree/Bindings/c6x/ |
H A D | dscr.txt | 34 - ti,dscr-devstat 35 offset of the devstat register 107 ti,dscr-devstat = <0>;
|
/freebsd/sys/cam/ |
H A D | cam_periph.h | 47 struct devstat; 192 struct devstat *ds);
|
H A D | cam_iosched.h | 92 void cam_iosched_flush(struct cam_iosched_softc *isc, struct devstat *stp, int err);
|
/freebsd/usr.bin/systat/ |
H A D | Makefile | 14 LIBADD= tinfow ncursesw m devstat kvm util procstat
|
/freebsd/sys/contrib/device-tree/src/c6x/ |
H A D | tms320c6457.dtsi | 48 ti,dscr-devstat = <0x20>;
|
H A D | tms320c6474.dtsi | 76 ti,dscr-devstat = <0x004>;
|
H A D | tms320c6455.dtsi | 83 ti,dscr-devstat = <0>;
|
/freebsd/sys/dev/md/ |
H A D | md.c | 266 struct devstat *devstat; member 482 devstat_start_transaction_bio(sc->devstat, bp); in g_md_start() 1240 devstat_end_transaction_bio(sc->devstat, bp); in md_kthread() 1330 sc->devstat = devstat_new_entry("md", sc->unit, sc->sectorsize, in mdinit() 1332 sc->devstat->id = pp; in mdinit() 1527 if (sc->devstat) { in mddestroy() 1528 devstat_remove_entry(sc->devstat); in mddestroy() 1529 sc->devstat = NULL; in mddestroy()
|