Home
last modified time | relevance | path

Searched refs:devstat (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-14.2/lib/libdevstat/
H A DMakefile2 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 Ddevstat.h131 struct devstat *devices;
161 long current_generation, struct devstat *devices,
168 int devstat_compute_statistics(struct devstat *current,
169 struct devstat *previous,
H A Ddevstat.c52 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 Dsubr_devstat.c65 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 Ddevicestat.h137 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 Dbio.h139 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 Dgeom_stats.c97 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 Dlibgeom.h54 struct devstat *geom_stats_snapshot_next(void *);
/freebsd-14.2/sbin/mount/
H A Dgetmntopts.c162 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 Dgeom_disk.h66 struct devstat;
83 struct devstat *d_devstat;
H A Dgeom.h185 struct devstat *stat;
217 struct devstat *stat;
/freebsd-14.2/usr.sbin/iostat/
H A DMakefile6 LIBADD= devstat kvm m
/freebsd-14.2/usr.bin/nfsstat/
H A DMakefile8 LIBADD+= devstat xo
/freebsd-14.2/usr.sbin/gstat/
H A DMakefile4 LIBADD= devstat geom edit tinfow ncursesw
/freebsd-14.2/libexec/rpc.rstatd/
H A DMakefile6 LIBADD= rpcsvc devstat
/freebsd-14.2/cddl/usr.sbin/dwatch/libexec/
H A Dio73 * struct devstat *
75 this->devinfo = xlate <devinfo_t> ((struct devstat *)args[1]);
/freebsd-14.2/usr.bin/vmstat/
H A DMakefile7 LIBADD= devstat kvm memstat xo util
/freebsd-14.2/usr.bin/systat/
H A DMakefile16 LIBADD= tinfow ncursesw m devstat kvm util procstat
/freebsd-14.2/sys/contrib/device-tree/Bindings/c6x/
H A Ddscr.txt34 - ti,dscr-devstat
35 offset of the devstat register
107 ti,dscr-devstat = <0>;
/freebsd-14.2/sys/cam/
H A Dcam_periph.h47 struct devstat;
192 struct devstat *ds);
H A Dcam_iosched.h90 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 Dtms320c6457.dtsi48 ti,dscr-devstat = <0x20>;
H A Dtms320c6474.dtsi76 ti,dscr-devstat = <0x004>;
H A Dtms320c6455.dtsi83 ti,dscr-devstat = <0>;
/freebsd-14.2/sys/dev/md/
H A Dmd.c268 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()

123