| /freebsd-14.2/lib/libdevstat/ |
| H A D | Makefile | 2 LIB= devstat 6 SRCS= devstat.c 7 INCS= devstat.h 11 MAN= devstat.3 22 MLINKS+=devstat.3 getnumdevs.3 24 MLINKS+=devstat.3 getversion.3 25 MLINKS+=devstat.3 checkversion.3 26 MLINKS+=devstat.3 getdevs.3 27 MLINKS+=devstat.3 selectdevs.3 28 MLINKS+=devstat.3 buildmatch.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 | 52 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-14.2/sys/kern/ |
| H A D | subr_devstat.c | 65 static struct devstat *devstat_alloc(void); 76 struct devstat * 83 struct devstat *ds; in devstat_new_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() 388 struct devstat *nds; in sysctl_devstat() 477 struct devstat *stat; 522 static struct devstat * 525 struct devstat *dsp; in devstat_alloc() [all …]
|
| /freebsd-14.2/sys/sys/ |
| H A D | devicestat.h | 137 struct devstat { struct 147 STAILQ_ENTRY(devstat) dev_links; argument 183 STAILQ_HEAD(devstatlist, devstat); argument 188 struct devstat *devstat_new_entry(const void *dev_name, int unit_number, 194 void devstat_remove_entry(struct devstat *ds); 195 void devstat_start_transaction(struct devstat *ds, const struct bintime *now); 196 void devstat_start_transaction_bio(struct devstat *ds, struct bio *bp); 197 void devstat_start_transaction_bio_t0(struct devstat *ds, struct bio *bp); 198 void devstat_end_transaction(struct devstat *ds, u_int32_t bytes, 203 void devstat_end_transaction_bio(struct devstat *ds, const struct bio *bp); [all …]
|
| H A D | bio.h | 139 struct devstat; 153 void biofinish(struct bio *bp, struct devstat *stat, int error); 176 void bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error);
|
| /freebsd-14.2/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-14.2/sbin/mount/ |
| H A D | getmntopts.c | 162 struct stat devstat, mntdevstat; in getmntpoint() local 169 if (stat(name, &devstat) != 0) in getmntpoint() 171 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpoint() 195 mntdevstat.st_rdev == devstat.st_rdev) in getmntpoint()
|
| /freebsd-14.2/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-14.2/usr.sbin/iostat/ |
| H A D | Makefile | 6 LIBADD= devstat kvm m
|
| /freebsd-14.2/usr.bin/nfsstat/ |
| H A D | Makefile | 8 LIBADD+= devstat xo
|
| /freebsd-14.2/usr.sbin/gstat/ |
| H A D | Makefile | 4 LIBADD= devstat geom edit tinfow ncursesw
|
| /freebsd-14.2/libexec/rpc.rstatd/ |
| H A D | Makefile | 6 LIBADD= rpcsvc devstat
|
| /freebsd-14.2/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 73 * struct devstat * 75 this->devinfo = xlate <devinfo_t> ((struct devstat *)args[1]);
|
| /freebsd-14.2/usr.bin/vmstat/ |
| H A D | Makefile | 7 LIBADD= devstat kvm memstat xo util
|
| /freebsd-14.2/usr.bin/systat/ |
| H A D | Makefile | 16 LIBADD= tinfow ncursesw m devstat kvm util procstat
|
| /freebsd-14.2/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-14.2/sys/cam/ |
| H A D | cam_periph.h | 47 struct devstat; 192 struct devstat *ds);
|
| H A D | cam_iosched.h | 90 void cam_iosched_flush(struct cam_iosched_softc *isc, struct devstat *stp, int err);
|
| /freebsd-14.2/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-14.2/sys/dev/md/ |
| H A D | md.c | 268 struct devstat *devstat; member 484 devstat_start_transaction_bio(sc->devstat, bp); in g_md_start() 1246 devstat_end_transaction_bio(sc->devstat, bp); in md_kthread() 1336 sc->devstat = devstat_new_entry("md", sc->unit, sc->sectorsize, in mdinit() 1338 sc->devstat->id = pp; in mdinit() 1533 if (sc->devstat) { in mddestroy() 1534 devstat_remove_entry(sc->devstat); in mddestroy() 1535 sc->devstat = NULL; in mddestroy()
|