| /freebsd-13.1/lib/libdevstat/ |
| H A D | Makefile | 3 LIB= devstat 7 SRCS= devstat.c 8 INCS= devstat.h 12 MAN= devstat.3 23 MLINKS+=devstat.3 getnumdevs.3 25 MLINKS+=devstat.3 getversion.3 26 MLINKS+=devstat.3 checkversion.3 27 MLINKS+=devstat.3 getdevs.3 28 MLINKS+=devstat.3 selectdevs.3 29 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() 1178 compute_stats(struct devstat *current, struct devstat *previous, in compute_stats() 1231 devstat_compute_statistics(struct devstat *current, struct devstat *previous, in devstat_compute_statistics() 1633 struct devstat *nds; in get_devstat_kvm() [all …]
|
| /freebsd-13.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_start_transaction_bio_t0(struct devstat *ds, struct bio *bp); 200 void devstat_end_transaction(struct devstat *ds, u_int32_t bytes, 205 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-13.1/sys/kern/ |
| H A D | subr_devstat.c | 75 static struct devstat *devstat_alloc(void); 86 struct devstat * 93 struct devstat *ds; in devstat_new_entry() 124 struct devstat *ds_tmp; in devstat_add_entry() 144 struct devstat *ds_next; in devstat_add_entry() 198 devstat_remove_entry(struct devstat *ds) in devstat_remove_entry() 400 struct devstat *nds; in sysctl_devstat() 489 struct devstat *stat; 534 static struct devstat * 537 struct devstat *dsp; in devstat_alloc() [all …]
|
| /freebsd-13.1/sbin/fsck/ |
| H A D | fsutil.c | 197 struct stat devstat, mntdevstat; in getmntpt() local 203 if (stat(name, &devstat) != 0) in getmntpt() 205 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 227 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
| /freebsd-13.1/lib/libgeom/ |
| H A D | geom_stats.c | 100 spp = pagesize / sizeof(struct devstat); in geom_stats_open() 176 struct devstat * 179 struct devstat *gsp; in geom_stats_snapshot_next() 183 gsp = (struct devstat *) in geom_stats_snapshot_next()
|
| H A D | libgeom.h | 56 struct devstat *geom_stats_snapshot_next(void *);
|
| /freebsd-13.1/sys/geom/ |
| H A D | geom_disk.h | 68 struct devstat; 84 struct devstat *d_devstat;
|
| /freebsd-13.1/sbin/fsck_ffs/ |
| H A D | main.c | 766 struct stat devstat, mntdevstat; in getmntpt() local 772 if (stat(name, &devstat) != 0) in getmntpt() 774 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 796 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
| /freebsd-13.1/usr.sbin/iostat/ |
| H A D | Makefile | 7 LIBADD= devstat kvm m
|
| /freebsd-13.1/usr.bin/nfsstat/ |
| H A D | Makefile | 9 LIBADD+= devstat xo
|
| /freebsd-13.1/usr.sbin/gstat/ |
| H A D | Makefile | 5 LIBADD= devstat geom edit ncursesw
|
| /freebsd-13.1/libexec/rpc.rstatd/ |
| H A D | Makefile | 7 LIBADD= rpcsvc devstat
|
| /freebsd-13.1/cddl/usr.sbin/dwatch/libexec/ |
| H A D | io | 74 * struct devstat * 76 this->devinfo = xlate <devinfo_t> ((struct devstat *)args[1]);
|
| /freebsd-13.1/usr.bin/vmstat/ |
| H A D | Makefile | 8 LIBADD= devstat kvm memstat xo util
|
| /freebsd-13.1/usr.bin/systat/ |
| H A D | Makefile | 19 LIBADD= ncursesw m devstat kvm util procstat
|
| /freebsd-13.1/sbin/growfs/ |
| H A D | growfs.c | 1254 struct stat devstat; in is_dev() local 1256 if (stat(name, &devstat) != 0) in is_dev() 1258 if (!S_ISCHR(devstat.st_mode)) in is_dev() 1269 struct stat devstat, mntdevstat; in dev_to_statfs() local 1278 if (stat(dev, &devstat) != 0) in dev_to_statfs() 1280 if (!S_ISCHR(devstat.st_mode) && !S_ISBLK(devstat.st_mode)) in dev_to_statfs() 1293 mntdevstat.st_rdev == devstat.st_rdev) in dev_to_statfs()
|
| /freebsd-13.1/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-13.1/sys/cam/ |
| H A D | cam_periph.h | 47 struct devstat; 188 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-13.1/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>;
|
| /freebsd-13.1/sys/dev/md/ |
| H A D | md.c | 262 struct devstat *devstat; member 476 devstat_start_transaction_bio(sc->devstat, bp); in g_md_start() 1247 devstat_end_transaction_bio(sc->devstat, bp); in md_kthread() 1329 sc->devstat = devstat_new_entry("md", sc->unit, sc->sectorsize, in mdinit() 1331 sc->devstat->id = pp; in mdinit() 1516 if (sc->devstat) { in mddestroy() 1517 devstat_remove_entry(sc->devstat); in mddestroy() 1518 sc->devstat = NULL; in mddestroy()
|