Symbol: devstat
lib/libdevstat/devstat.c
1022
compute_stats(struct devstat *current, struct devstat *previous,
lib/libdevstat/devstat.c
1113
compute_stats_read(struct devstat *current, struct devstat *previous,
lib/libdevstat/devstat.c
1198
compute_stats_write(struct devstat *current, struct devstat *previous,
lib/libdevstat/devstat.c
266
dssize =(dinfo->numdevs * sizeof(struct devstat)) +sizeof(long);
lib/libdevstat/devstat.c
269
dssize =(dinfo->numdevs * sizeof(struct devstat)) +sizeof(long);
lib/libdevstat/devstat.c
297
dssize = (dinfo->numdevs * sizeof(struct devstat)) +
lib/libdevstat/devstat.c
343
dssize = (dinfo->numdevs * sizeof(struct devstat)) +
lib/libdevstat/devstat.c
351
dinfo->devices = (struct devstat *)(dinfo->mem_ptr + sizeof(long));
lib/libdevstat/devstat.c
420
long current_generation, struct devstat *devices, int numdevs,
lib/libdevstat/devstat.h
103
int compute_stats(struct devstat *current, struct devstat *previous,
lib/libdevstat/devstat.h
110
int compute_stats_read(struct devstat *current, struct devstat *previous,
lib/libdevstat/devstat.h
117
int compute_stats_write(struct devstat *current, struct devstat *previous,
lib/libdevstat/devstat.h
70
struct devstat *devices;
lib/libdevstat/devstat.h
96
long current_generation, struct devstat *devices, int numdevs,
sbin/badsect/badsect.c
107
if (lstat(name, &devstat) < 0)
sbin/badsect/badsect.c
109
if (stbuf.st_dev == devstat.st_rdev &&
sbin/badsect/badsect.c
110
(devstat.st_mode & IFMT) == IFCHR)
sbin/badsect/badsect.c
86
struct stat stbuf, devstat;
sbin/fsck/fsutil.c
214
struct stat devstat, mntdevstat;
sbin/fsck/fsutil.c
220
if (stat(name, &devstat) != 0)
sbin/fsck/fsutil.c
222
if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode))
sbin/fsck/fsutil.c
241
mntdevstat.st_rdev == devstat.st_rdev)
sbin/fsck/main.c
382
struct stat devstat, mntdevstat;
sbin/fsck/main.c
388
if (stat(name, &devstat) != 0 ||
sbin/fsck/main.c
389
!(S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)))
sbin/fsck/main.c
402
mntdevstat.st_rdev == devstat.st_rdev)
sbin/vinum/commands.c
544
struct devstat *stat = &statinfo.dinfo->devices[i];
sbin/vinum/list.c
1254
struct devstat *stat = &statinfo.dinfo->devices[i];
sys/bus/cam/cam_periph.c
942
struct devstat *ds)
sys/bus/cam/cam_periph.h
133
struct devstat;
sys/bus/cam/cam_periph.h
167
struct devstat *ds);
sys/bus/cam/scsi/scsi_cd.c
161
struct devstat device_stats;
sys/bus/cam/scsi/scsi_ch.c
150
struct devstat device_stats;
sys/bus/cam/scsi/scsi_da.c
143
struct devstat device_stats;
sys/bus/cam/scsi/scsi_pass.c
82
struct devstat device_stats;
sys/bus/cam/scsi/scsi_pt.c
82
struct devstat device_stats;
sys/bus/cam/scsi/scsi_sa.c
209
struct devstat device_stats;
sys/bus/cam/scsi/scsi_sg.c
101
struct devstat device_stats;
sys/bus/cam/scsi/scsi_targ_bh.c
88
struct devstat device_stats;
sys/bus/cam/scsi/scsi_target.c
93
struct devstat device_stats;
sys/dev/disk/dm/dm.h
149
struct devstat stats;
sys/dev/disk/fd/fd.c
198
struct devstat device_stats;
sys/dev/disk/md/md.c
70
struct devstat stats;
sys/dev/disk/mmcsd/mmcsd.c
83
struct devstat device_stats;
sys/dev/disk/nata/ata-disk.h
48
struct devstat stats; /* devstat entry */
sys/dev/disk/nata/ata-raid.c
1292
devstat_remove_entry(&rdp->devstat);
sys/dev/disk/nata/ata-raid.c
165
devstat_add_entry(&rdp->devstat, "ar", rdp->lun,
sys/dev/disk/nata/ata-raid.c
395
devstat_start_transaction(&rdp->devstat);
sys/dev/disk/nata/ata-raid.c
847
devstat_end_transaction_buf(&rdp->devstat, bbp);
sys/dev/disk/nata/ata-raid.h
113
struct devstat devstat; /* device statistics */
sys/dev/disk/nata/atapi-cd.h
288
struct devstat stats; /* devstat entry */
sys/dev/disk/nata/atapi-fd.h
88
struct devstat stats;
sys/dev/disk/nata/atapi-tape.h
158
struct devstat stats; /* devstat entry */
sys/dev/disk/nvme/nvme.h
188
struct devstat stats;
sys/dev/disk/xdisk/xdisk.c
107
struct devstat stats;
sys/dev/raid/aac/aacvar.h
142
struct devstat ad_stats;
sys/dev/raid/amr/amrvar.h
294
struct devstat amrd_stats;
sys/dev/raid/ida/idavar.h
173
struct devstat stats;
sys/dev/raid/ips/ips_disk.h
61
struct devstat stats;
sys/dev/raid/mfi/mfivar.h
133
struct devstat ld_devstat;
sys/dev/raid/mfi/mfivar.h
149
struct devstat pd_devstat;
sys/dev/raid/mlx/mlxvar.h
232
struct devstat mlxd_stats;
sys/dev/raid/twe/twevar.h
77
struct devstat twed_stats; /* accounting */
sys/dev/virtual/virtio/block/virtio_blk.c
87
struct devstat stats;
sys/dev/virtual/vkernel/cdrom/vcd.c
56
struct devstat stats;
sys/dev/virtual/vkernel/disk/vdisk.c
59
struct devstat stats;
sys/kern/subr_devstat.c
140
devstat_remove_entry(struct devstat *ds)
sys/kern/subr_devstat.c
153
STAILQ_REMOVE(devstat_head, ds, devstat, dev_links);
sys/kern/subr_devstat.c
160
devstat_start_transaction(struct devstat *ds)
sys/kern/subr_devstat.c
179
devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
sys/kern/subr_devstat.c
234
devstat_end_transaction_buf(struct devstat *ds, struct buf *bp)
sys/kern/subr_devstat.c
272
struct devstat *nds;
sys/kern/subr_devstat.c
292
error = SYSCTL_OUT(req, nds, sizeof(struct devstat));
sys/kern/subr_devstat.c
301
SYSCTL_NODE(_kern, OID_AUTO, devstat, CTLFLAG_RD, 0, "Device Statistics");
sys/kern/subr_devstat.c
45
static STAILQ_HEAD(devstatlist, devstat) device_statq;
sys/kern/subr_devstat.c
52
devstat_add_entry(struct devstat *ds, const char *dev_name,
sys/kern/subr_devstat.c
59
struct devstat *ds_tmp;
sys/kern/subr_devstat.c
86
struct devstat *ds_next;
sys/kern/vfs_bio.c
4449
struct devstat *stats;
sys/kern/vfs_bio.c
4479
nestiobuf_done(struct bio *mbio, int donebytes, int error, struct devstat *stats)
sys/kern/vfs_bio.c
4567
nestiobuf_add(struct bio *mbio, struct buf *bp, int offset, size_t size, struct devstat *stats)
sys/sys/buf.h
419
struct devstat;
sys/sys/buf.h
493
void nestiobuf_done(struct bio *mbio, int donebytes, int error, struct devstat *stats);
sys/sys/buf.h
495
void nestiobuf_add(struct bio *mbio, struct buf *bp, int off, size_t size, struct devstat *stats);
sys/sys/ccdvar.h
218
struct devstat device_stats; /* device statistics */
sys/sys/devicestat.h
125
STAILQ_ENTRY(devstat) dev_links;
sys/sys/devicestat.h
211
void devstat_add_entry(struct devstat *ds, const char *dev_name,
sys/sys/devicestat.h
216
void devstat_remove_entry(struct devstat *ds);
sys/sys/devicestat.h
217
void devstat_start_transaction(struct devstat *ds);
sys/sys/devicestat.h
218
void devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
sys/sys/devicestat.h
221
void devstat_end_transaction_buf(struct devstat *ds, struct buf *);