| /freebsd-12.1/lib/libdevstat/ |
| H A D | Makefile | 4 LIB= devstat 8 SRCS= devstat.c 9 INCS= devstat.h 13 MAN= devstat.3 24 MLINKS+=devstat.3 getnumdevs.3 26 MLINKS+=devstat.3 getversion.3 27 MLINKS+=devstat.3 checkversion.3 28 MLINKS+=devstat.3 getdevs.3 29 MLINKS+=devstat.3 selectdevs.3 30 MLINKS+=devstat.3 buildmatch.3 [all …]
|
| H A D | devstat.h | 133 struct devstat *devices; 163 long current_generation, struct devstat *devices, 170 int devstat_compute_statistics(struct devstat *current, 171 struct devstat *previous,
|
| H A D | devstat.c | 54 compute_stats(struct devstat *current, struct devstat *previous, 373 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 383 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 416 sizeof(struct devstat)) + sizeof(long); in devstat_getdevs() 477 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 485 dinfo->devices = (struct devstat *)(dinfo->mem_ptr + sizeof(long)); in devstat_getdevs() 554 long current_generation, struct devstat *devices, in devstat_selectdevs() 1173 compute_stats(struct devstat *current, struct devstat *previous, in compute_stats() 1226 devstat_compute_statistics(struct devstat *current, struct devstat *previous, in devstat_compute_statistics() 1628 struct devstat *nds; in get_devstat_kvm() [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | subr_devstat.c | 74 static struct devstat *devstat_alloc(void); 85 struct devstat * 92 struct devstat *ds; in devstat_new_entry() 123 struct devstat *ds_tmp; in devstat_add_entry() 143 struct devstat *ds_next; in devstat_add_entry() 197 devstat_remove_entry(struct devstat *ds) in devstat_remove_entry() 388 struct devstat *nds; in sysctl_devstat() 473 struct devstat *stat; 501 static struct devstat * 504 struct devstat *dsp; in devstat_alloc() [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | devicestat.h | 139 struct devstat { struct 149 STAILQ_ENTRY(devstat) dev_links; argument 185 STAILQ_HEAD(devstatlist, devstat); argument 190 struct devstat *devstat_new_entry(const void *dev_name, int unit_number, 196 void devstat_remove_entry(struct devstat *ds); 197 void devstat_start_transaction(struct devstat *ds, const struct bintime *now); 198 void devstat_start_transaction_bio(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); 205 void devstat_end_transaction_bio_bt(struct devstat *ds, const struct bio *bp,
|
| H A D | bio.h | 135 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-12.1/sbin/fsck/ |
| H A D | fsutil.c | 160 struct stat devstat, mntdevstat; in getmntpt() local 166 if (stat(name, &devstat) != 0) in getmntpt() 168 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 190 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
| /freebsd-12.1/lib/libgeom/ |
| H A D | geom_stats.c | 92 spp = pagesize / sizeof(struct devstat); in geom_stats_open() 169 struct devstat * 172 struct devstat *gsp; in geom_stats_snapshot_next() 176 gsp = (struct devstat *) in geom_stats_snapshot_next()
|
| H A D | libgeom.h | 56 struct devstat *geom_stats_snapshot_next(void *);
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_disk.h | 68 struct devstat; 84 struct devstat *d_devstat;
|
| H A D | geom.h | 197 struct devstat *stat; 220 struct devstat *stat;
|
| /freebsd-12.1/sbin/fsck_ffs/ |
| H A D | main.c | 686 struct stat devstat, mntdevstat; in getmntpt() local 692 if (stat(name, &devstat) != 0) in getmntpt() 694 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 716 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
| /freebsd-12.1/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 74 * struct devstat * 76 this->devinfo = xlate <devinfo_t> ((struct devstat *)args[1]);
|
| /freebsd-12.1/usr.bin/nfsstat/ |
| H A D | Makefile | 7 LIBADD+= devstat xo
|
| /freebsd-12.1/usr.sbin/iostat/ |
| H A D | Makefile | 7 LIBADD= devstat kvm m
|
| /freebsd-12.1/usr.sbin/gstat/ |
| H A D | Makefile | 5 LIBADD= devstat geom edit ncursesw
|
| /freebsd-12.1/libexec/rpc.rstatd/ |
| H A D | Makefile | 7 LIBADD= rpcsvc devstat
|
| /freebsd-12.1/usr.bin/vmstat/ |
| H A D | Makefile | 8 LIBADD= devstat kvm memstat xo util
|
| /freebsd-12.1/sbin/growfs/ |
| H A D | growfs.c | 1233 struct stat devstat; in is_dev() local 1235 if (stat(name, &devstat) != 0) in is_dev() 1237 if (!S_ISCHR(devstat.st_mode)) in is_dev() 1248 struct stat devstat, mntdevstat; in dev_to_statfs() local 1257 if (stat(dev, &devstat) != 0) in dev_to_statfs() 1259 if (!S_ISCHR(devstat.st_mode) && !S_ISBLK(devstat.st_mode)) in dev_to_statfs() 1272 mntdevstat.st_rdev == devstat.st_rdev) in dev_to_statfs()
|
| /freebsd-12.1/sys/cam/ |
| H A D | cam_periph.h | 45 struct devstat; 184 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-12.1/usr.bin/systat/ |
| H A D | Makefile | 19 LIBADD= ncursesw m devstat kvm util
|
| /freebsd-12.1/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() 1248 devstat_end_transaction_bio(sc->devstat, bp); in md_kthread() 1330 sc->devstat = devstat_new_entry("md", sc->unit, sc->sectorsize, in mdinit() 1514 if (sc->devstat) { in mddestroy() 1515 devstat_remove_entry(sc->devstat); in mddestroy() 1516 sc->devstat = NULL; in mddestroy()
|
| /freebsd-12.1/sys/dev/nvdimm/ |
| H A D | nvdimm_var.h | 136 struct devstat *spa_g_devstat;
|
| /freebsd-12.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 106 debug.sizeof.devstat 639 kern.devstat.all 644 that returns current devstat statistics as well 645 as the current devstat generation number. 647 .Xr devstat 3 651 kern.devstat.generation 654 kern.devstat.numdevs 657 kern.devstat.version 660 Displays the devstat list version number.
|