| /trueos/lib/libdevstat/ |
| HD | Makefile | 3 LIB= devstat 7 SRCS= devstat.c 8 INCS= devstat.h 13 MAN= devstat.3 15 MLINKS+=devstat.3 devstat_getnumdevs.3 16 MLINKS+=devstat.3 devstat_getgeneration.3 17 MLINKS+=devstat.3 devstat_getversion.3 18 MLINKS+=devstat.3 devstat_checkversion.3 19 MLINKS+=devstat.3 devstat_getdevs.3 20 MLINKS+=devstat.3 devstat_selectdevs.3 [all …]
|
| HD | 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,
|
| HD | 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() 470 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in devstat_getdevs() 478 dinfo->devices = (struct devstat *)(dinfo->mem_ptr + sizeof(long)); in devstat_getdevs() 547 long current_generation, struct devstat *devices, in devstat_selectdevs() 1166 compute_stats(struct devstat *current, struct devstat *previous, in compute_stats() 1219 devstat_compute_statistics(struct devstat *current, struct devstat *previous, in devstat_compute_statistics() 1621 struct devstat *nds; in get_devstat_kvm() [all …]
|
| /trueos/sys/kern/ |
| HD | subr_devstat.c | 74 static struct devstat *devstat_alloc(void); 75 static void devstat_free(struct devstat *); 76 static void devstat_add_entry(struct devstat *ds, const void *dev_name, 85 struct devstat * 92 struct devstat *ds; in devstat_new_entry() 116 devstat_add_entry(struct devstat *ds, const void *dev_name, in devstat_add_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() 213 STAILQ_REMOVE(devstat_head, ds, devstat, dev_links); in devstat_remove_entry() [all …]
|
| HD | subr_disk.c | 169 bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error) in bioq_flush()
|
| /trueos/sys/sys/ |
| HD | 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, struct bintime *now); 196 void devstat_start_transaction_bio(struct devstat *ds, struct bio *bp); 197 void devstat_end_transaction(struct devstat *ds, u_int32_t bytes, 201 void devstat_end_transaction_bio(struct devstat *ds, struct bio *bp); 202 void devstat_end_transaction_bio_bt(struct devstat *ds, struct bio *bp,
|
| HD | dtrace_bsd.h | 41 struct devstat; 166 struct devstat *); 170 struct devstat *); 174 struct devstat *); 178 struct devstat *);
|
| HD | bio.h | 126 struct devstat; 138 void biofinish(struct bio *bp, struct devstat *stat, int error); 144 void bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error);
|
| /trueos/sbin/fsck/ |
| HD | fsutil.c | 158 struct stat devstat, mntdevstat; in getmntpt() local 164 if (stat(name, &devstat) != 0) in getmntpt() 166 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 185 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
| /trueos/sys/dev/nxge/xgehal/ |
| HD | xgehal-mgmtaux.c | 893 xge_hal_mgmt_device_stats_t devstat; in xge_hal_aux_stats_hal_read() local 897 status = xge_hal_mgmt_device_stats(hldev, &devstat, in xge_hal_aux_stats_hal_read() 905 devstat.rx_traffic_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 907 __HAL_AUX_ENTRY("tx_traffic_intr_cnt", devstat.tx_traffic_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 908 __HAL_AUX_ENTRY("txpic_intr_cnt", devstat.txpic_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 909 __HAL_AUX_ENTRY("txdma_intr_cnt", devstat.txdma_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 910 __HAL_AUX_ENTRY("txmac_intr_cnt", devstat.txmac_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 911 __HAL_AUX_ENTRY("txxgxs_intr_cnt", devstat.txxgxs_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 912 __HAL_AUX_ENTRY("rxpic_intr_cnt", devstat.rxpic_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() 913 __HAL_AUX_ENTRY("rxdma_intr_cnt", devstat.rxdma_intr_cnt, "%u"); in xge_hal_aux_stats_hal_read() [all …]
|
| /trueos/lib/libgeom/ |
| HD | 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()
|
| HD | libgeom.h | 54 struct devstat *geom_stats_snapshot_next(void *);
|
| /trueos/sbin/badsect/ |
| HD | badsect.c | 92 struct stat stbuf, devstat; in main() local 108 if (lstat(name, &devstat) < 0) in main() 110 if (stbuf.st_dev == devstat.st_rdev && in main() 111 (devstat.st_mode & IFMT) == IFCHR) in main()
|
| /trueos/sys/geom/ |
| HD | geom_disk.h | 61 struct devstat; 66 struct devstat *d_devstat;
|
| HD | geom.h | 182 struct devstat *stat; 205 struct devstat *stat;
|
| /trueos/sbin/fsck_ffs/ |
| HD | main.c | 630 struct stat devstat, mntdevstat; in getmntpt() local 636 if (stat(name, &devstat) != 0) in getmntpt() 638 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 657 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
| /trueos/sys/cam/ |
| HD | cam_periph.h | 42 struct devstat; 174 struct devstat *ds);
|
| /trueos/sbin/growfs/ |
| HD | growfs.c | 1250 struct stat devstat; in is_dev() local 1252 if (stat(name, &devstat) != 0) in is_dev() 1254 if (!S_ISCHR(devstat.st_mode)) in is_dev() 1265 struct stat devstat, mntdevstat; in dev_to_statfs() local 1274 if (stat(dev, &devstat) != 0) in dev_to_statfs() 1276 if (!S_ISCHR(devstat.st_mode) && !S_ISBLK(devstat.st_mode)) in dev_to_statfs() 1289 mntdevstat.st_rdev == devstat.st_rdev) in dev_to_statfs()
|
| /trueos/sys/geom/sched/ |
| HD | g_sched.h | 129 void gs_bioq_flush(struct bio_queue_head *, struct devstat *, int);
|
| HD | subr_disk.c | 128 gs_bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error) in gs_bioq_flush()
|
| /trueos/sys/dev/md/ |
| HD | md.c | 206 struct devstat *devstat; member 421 devstat_start_transaction_bio(sc->devstat, bp); in g_md_start() 957 devstat_end_transaction_bio(sc->devstat, bp); in md_kthread() 1038 sc->devstat = devstat_new_entry("md", sc->unit, sc->sectorsize, in mdinit() 1208 if (sc->devstat) { in mddestroy() 1209 devstat_remove_entry(sc->devstat); in mddestroy() 1210 sc->devstat = NULL; in mddestroy()
|
| /trueos/cddl/lib/libdtrace/ |
| HD | io.d | 42 translator devinfo_t < struct devstat *D > {
|
| /trueos/share/man/man9/ |
| HD | Makefile | 105 devstat.9 \ 625 MLINKS+=devstat.9 devicestat.9 \ 626 devstat.9 devstat_add_entry.9 \ 627 devstat.9 devstat_end_transaction.9 \ 628 devstat.9 devstat_remove_entry.9 \ 629 devstat.9 devstat_start_transaction.9
|
| /trueos/tools/tools/sysdoc/ |
| HD | tunables.mdoc | 106 debug.sizeof.devstat 649 kern.devstat.all 654 that returns current devstat statistics as well 655 as the current devstat generation number. 657 .Xr devstat 3 661 kern.devstat.generation 664 kern.devstat.numdevs 667 kern.devstat.version 670 Displays the devstat list version number.
|
| /trueos/usr.sbin/gstat/ |
| HD | gstat.c | 78 struct devstat *gsp, *gsq; in main()
|