/dragonfly/lib/libdevstat/ |
H A D | Makefile | 3 LIB= devstat 5 SRCS= devstat.c 6 INCS= devstat.h 7 MAN= devstat.3 9 MLINKS+=devstat.3 getnumdevs.3 10 MLINKS+=devstat.3 getgeneration.3 11 MLINKS+=devstat.3 getversion.3 12 MLINKS+=devstat.3 checkversion.3 13 MLINKS+=devstat.3 getdevs.3 14 MLINKS+=devstat.3 selectdevs.3 [all …]
|
H A D | devstat.h | 70 struct devstat *devices; 96 long current_generation, struct devstat *devices, int numdevs, 103 int compute_stats(struct devstat *current, struct devstat *previous, 110 int compute_stats_read(struct devstat *current, struct devstat *previous, 117 int compute_stats_write(struct devstat *current, struct devstat *previous,
|
H A D | devstat.c | 266 dssize =(dinfo->numdevs * sizeof(struct devstat)) +sizeof(long); in getdevs() 269 dssize =(dinfo->numdevs * sizeof(struct devstat)) +sizeof(long); in getdevs() 297 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in getdevs() 343 dssize = (dinfo->numdevs * sizeof(struct devstat)) + in getdevs() 351 dinfo->devices = (struct devstat *)(dinfo->mem_ptr + sizeof(long)); in getdevs() 420 long current_generation, struct devstat *devices, int numdevs, in selectdevs() 1022 compute_stats(struct devstat *current, struct devstat *previous, in compute_stats() 1113 compute_stats_read(struct devstat *current, struct devstat *previous, in compute_stats_read() 1198 compute_stats_write(struct devstat *current, struct devstat *previous, in compute_stats_write()
|
/dragonfly/sys/kern/ |
H A D | subr_devstat.c | 45 static STAILQ_HEAD(devstatlist, devstat) device_statq; 52 devstat_add_entry(struct devstat *ds, const char *dev_name, in devstat_add_entry() 59 struct devstat *ds_tmp; in devstat_add_entry() 86 struct devstat *ds_next; in devstat_add_entry() 140 devstat_remove_entry(struct devstat *ds) in devstat_remove_entry() 153 STAILQ_REMOVE(devstat_head, ds, devstat, dev_links); in devstat_remove_entry() 160 devstat_start_transaction(struct devstat *ds) in devstat_start_transaction() 179 devstat_end_transaction(struct devstat *ds, u_int32_t bytes, in devstat_end_transaction() 234 devstat_end_transaction_buf(struct devstat *ds, struct buf *bp) in devstat_end_transaction_buf() 272 struct devstat *nds; in sysctl_devstat() [all …]
|
/dragonfly/sys/sys/ |
H A D | devicestat.h | 124 struct devstat { struct 125 STAILQ_ENTRY(devstat) dev_links; 211 void devstat_add_entry(struct devstat *ds, const char *dev_name, argument 216 void devstat_remove_entry(struct devstat *ds); 217 void devstat_start_transaction(struct devstat *ds); 218 void devstat_end_transaction(struct devstat *ds, u_int32_t bytes, 221 void devstat_end_transaction_buf(struct devstat *ds, struct buf *);
|
H A D | buf.h | 418 struct devstat; 492 void nestiobuf_done(struct bio *mbio, int donebytes, int error, struct devstat *stats); 494 void nestiobuf_add(struct bio *mbio, struct buf *bp, int off, size_t size, struct devstat *stats);
|
H A D | ccdvar.h | 218 struct devstat device_stats; /* device statistics */
|
/dragonfly/sbin/fsck/ |
H A D | fsutil.c | 214 struct stat devstat, mntdevstat; in getmntpt() local 220 if (stat(name, &devstat) != 0) in getmntpt() 222 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt() 241 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
H A D | main.c | 382 struct stat devstat, mntdevstat; in getmntpt() local 388 if (stat(name, &devstat) != 0 || in getmntpt() 389 !(S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode))) in getmntpt() 402 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
|
/dragonfly/sbin/badsect/ |
H A D | badsect.c | 86 struct stat stbuf, devstat; in main() local 107 if (lstat(name, &devstat) < 0) in main() 109 if (stbuf.st_dev == devstat.st_rdev && in main() 110 (devstat.st_mode & IFMT) == IFCHR) in main()
|
/dragonfly/sys/bus/cam/ |
H A D | cam_periph.h | 133 struct devstat; 167 struct devstat *ds);
|
/dragonfly/share/man/man9/ |
H A D | Makefile | 80 devstat.9 \ 483 MLINKS+=devstat.9 devicestat.9 \ 484 devstat.9 devstat_add_entry.9 \ 485 devstat.9 devstat_end_transaction.9 \ 486 devstat.9 devstat_end_transaction_buf.9 \ 487 devstat.9 devstat_remove_entry.9 \ 488 devstat.9 devstat_start_transaction.9
|
/dragonfly/sys/dev/raid/ips/ |
H A D | ips_disk.h | 61 struct devstat stats;
|
/dragonfly/sys/dev/disk/nata/ |
H A D | ata-disk.h | 48 struct devstat stats; /* devstat entry */
|
H A D | atapi-fd.h | 88 struct devstat stats;
|
H A D | atapi-tape.h | 158 struct devstat stats; /* devstat entry */
|
H A D | atapi-cd.h | 288 struct devstat stats; /* devstat entry */
|
H A D | ata-raid.h | 113 struct devstat devstat; /* device statistics */ member
|
/dragonfly/sys/dev/virtual/vkernel/cdrom/ |
H A D | vcd.c | 56 struct devstat stats;
|
/dragonfly/sys/dev/raid/ida/ |
H A D | idavar.h | 173 struct devstat stats;
|
/dragonfly/sys/dev/raid/mlx/ |
H A D | mlxvar.h | 232 struct devstat mlxd_stats;
|
/dragonfly/sys/dev/raid/mfi/ |
H A D | mfivar.h | 133 struct devstat ld_devstat; 149 struct devstat pd_devstat;
|
/dragonfly/sys/dev/disk/dm/ |
H A D | dm.h | 149 struct devstat stats;
|
/dragonfly/sys/dev/raid/twe/ |
H A D | twevar.h | 77 struct devstat twed_stats; /* accounting */
|
/dragonfly/sys/dev/raid/amr/ |
H A D | amrvar.h | 294 struct devstat amrd_stats;
|