/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_resv.c | 438 nsc_iodev_t *iodev; local 452 iodev = fd->sf_iodev; 455 if ((fd->sf_avail & rw) == rw && !iodev->si_rpend) 470 if (iodev->si_rpend && !fd->sf_avail) 473 if ((rc = _nsc_detach_iodev(iodev, fd, flag)) != 0 || 474 (rc = _nsc_attach_iodev(iodev, flag)) != 0) 485 return _nsc_call_dev(dev, iodev->si_io->getpin, 654 * _nsc_attach_iodev (nsc_iodev_t *iodev, int flag) 673 _nsc_attach_iodev(iodev, flag) 674 nsc_iodev_t *iodev; 739 _nsc_detach_iodev(nsc_iodev_t *iodev, nsc_fd_t *keep, int flag) argument 843 nsc_iodev_t *iodev; local 907 _nsc_call_dev(nsc_dev_t *dev, blindfn_t fn, blind_t arg, int *ap, int *pp, int a, int flag, nsc_iodev_t *iodev) argument [all...] |
H A D | nsc_dev.c | 542 nsc_iodev_t *iodev; local 549 for (iodev = dev->nsc_list; iodev; iodev = iodev->si_next) { 550 for (fd = iodev->si_open; fd; fd = fd->sf_next) { 557 if (!_nsc_relock_dev(dev, fd, iodev)) 591 * _nsc_relock_dev (nsc_dev_t *dev, nsc_fd_t *fd, nsc_iodev_t *iodev) 603 _nsc_relock_dev(nsc_dev_t *dev, nsc_fd_t *fd, nsc_iodev_t *iodev) argument 618 if (iodev) 664 nsc_iodev_t *iodev = fd->sf_iodev; local 840 nsc_iodev_t *iodev; local 961 nsc_iodev_t *iodev; local 1039 nsc_iodev_t *iodev = fd->sf_iodev; local 1068 nsc_set_owner(nsc_fd_t *fd, nsc_iodev_t *iodev) argument 1468 nsc_iodev_t *iodev; local 1808 _nsc_relink_fd(nsc_fd_t *fd, nsc_fd_t **from, nsc_fd_t **to, nsc_iodev_t *iodev) argument 1857 nsc_iodev_t *iodev, *ip; local 1919 _nsc_free_iodev(nsc_iodev_t *iodev) argument [all...] |
H A D | nsc_cache.c | 463 nsc_pinned_data(nsc_iodev_t *iodev, nsc_off_t pos, nsc_size_t len) argument 467 if (!iodev) 470 mutex_enter(&iodev->si_dev->nsc_lock); 471 iodev->si_busy++; 472 mutex_exit(&iodev->si_dev->nsc_lock); 474 for (fd = iodev->si_open; fd; fd = fd->sf_next) 478 _nsc_wake_dev(iodev->si_dev, &iodev->si_busy); 483 nsc_unpinned_data(nsc_iodev_t *iodev, nsc_off_t pos, nsc_size_t len) argument 487 if (!iodev) [all...] |
H A D | nsc_ncallio.c | 96 nsc_ncio_open(char *node_and_path, int flag, blind_t *cdp, void *iodev) argument 321 nsc_iodev_t *iodev = h->bufh.sb_fd->sf_iodev; local 325 mutex_enter(&iodev->si_lock); 327 h->next = iodev->si_active; 328 iodev->si_active = h; 351 cv_wait(&iodev->si_cv, &iodev->si_lock); 354 mutex_exit(&iodev->si_lock); 362 nsc_iodev_t *iodev; local 367 iodev [all...] |
H A D | nsc_disk.c | 358 nsc_iodev_t *iodev = h->db_fd->sf_iodev; local 362 mutex_enter(&iodev->si_lock); 364 h->db_next = iodev->si_active; 365 iodev->si_active = h; 380 cv_wait(&iodev->si_cv, &iodev->si_lock); 383 mutex_exit(&iodev->si_lock); 391 nsc_iodev_t *iodev; local 395 iodev = h->db_fd->sf_iodev; 397 mutex_enter(&iodev [all...] |
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadc.c | 198 struct iodevinfo *iodev; local 277 for (iodev = firstiodev; iodev; iodev = iodev->next) { 278 if (write(fp, iodev, sizeof (struct iodevinfo)) != 300 for (iodev = firstiodev; iodev; iodev = iodev 598 struct iodevinfo *iodev, *previodev, *comp; local 660 struct iodevinfo *iodev; local [all...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 38 static void insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev); 98 find_parent(struct snapshot *ss, struct iodev_snapshot *iodev) argument 100 enum iodev_type parent_type = parent_iodev_type(iodev->is_type); 107 if (iodev->is_parent_id.id == IODEV_NO_ID && 108 iodev->is_parent_id.tid[0] == '\0') 115 if (pos->is_id.id != iodev->is_parent_id.id) 123 pos = make_controller(iodev->is_parent_id.id); 130 if (id_match(&iodev->is_parent_id, &pos->is_id) && 138 if (id_match(&iodev->is_parent_id, &pos2->is_id)) 267 insert_into(struct iodev_snapshot **list, struct iodev_snapshot *iodev) argument 327 insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev) argument 541 struct iodev_snapshot *iodev; local 576 get_ids(struct iodev_snapshot *iodev, const char *pretty) argument 629 get_pretty_name(enum snapshot_types types, struct iodev_snapshot *iodev, kstat_ctl_t *kc) argument 1103 free_iodev(struct iodev_snapshot *iodev) argument [all...] |
H A D | walkers.c | 236 get_child_list(struct iodev_snapshot *iodev, char *buf) argument 239 struct iodev_snapshot *pos = iodev->is_children; 259 iodev_changed(struct iodev_snapshot *iodev, int added) argument 262 int is_disk = iodev->is_type == IODEV_DISK; 263 char *name = iodev->is_name; 265 if (iodev->is_pretty) 266 name = iodev->is_pretty; 268 switch (iodev->is_type) { 290 get_child_list(iodev, tmp);
|
H A D | statcommon.h | 180 /* iodev error stats */ 184 /* time at which iodev snapshot was taken */ 308 /* free the given iodev */ 309 void free_iodev(struct iodev_snapshot *iodev);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nsctl/ |
H A D | nsctl.c | 373 uintptr_t iodev = wsp->walk_addr; local 376 if (!iodev) 383 iodev + OFFSETOF(nsc_iodev_t, si_next)) == -1) { 597 /* move on to next iodev */ 1009 * Part 2 callback for the all devices and fds walk. Called per iodev. 1042 nsc_iodev_t *iodev; local 1045 if (mdb_vread(&iodev, sizeof (iodev), 1051 /* walk iodev chains */ 1053 if (iodev ! 1225 uintptr_t iodev; local 1276 nsc_iodev_t *iodev; local [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_dev.c | 652 nsc_set_owner(cip->bi_fd, krdc->iodev); 686 nsc_set_owner(rip->bi_fd, krdc->iodev); 707 * back link on the nsc_fd to the correct parent iodev. 741 * iodev pointer. 814 nsc_set_owner(p->bi_fd, krdc->iodev); 848 nsc_set_owner(p->bi_fd, krdc->iodev); 1359 _rdc_open(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 1434 _rdc_openc(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 1436 return (_rdc_open(path, NSC_CACHE|flag, cdp, iodev)); 1440 _rdc_openr(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 1567 _rdc_attach(rdc_fd_t *rfd, nsc_iodev_t *iodev) argument 1600 _rdc_detach(rdc_fd_t *rfd, nsc_iodev_t *iodev) argument [all...] |
H A D | rdc_io.h | 498 nsc_iodev_t *iodev; /* I/O device structure */ member in struct:rdc_k_info
|
/illumos-gate/usr/src/cmd/stat/vmstat/ |
H A D | vmstat.c | 363 struct iodev_snapshot *iodev = (struct iodev_snapshot *)v2; local 365 if (iodev == NULL) 368 (void) printf("%c%c ", iodev->is_name[0], iodev->is_name[2]);
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 285 _raw_open(char *path, int flag, blind_t *cdp, void *iodev) argument
|
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw_dev.c | 3949 nsc_iodev_t *iodev; local 3976 NSC_IIR_ID|NSC_FILE|NSC_RDWR, NULL, (blind_t)&(iodev), &rc); 3980 (blind_t)&(iodev), &rc); 9536 _ii_open(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 9637 _ii_openc(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 9639 return (_ii_open(path, NSC_CACHE|flag, cdp, iodev)); 9643 _ii_openr(char *path, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 9645 return (_ii_open(path, NSC_DEVICE|flag, cdp, iodev)); 9781 _ii_attach(ii_fd_t *bfd, nsc_iodev_t *iodev) argument 9819 if (iodev) { [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 628 krdc->devices, krdc->iodev, krdc->rpc_version);
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bcache.c | 1334 _sd_open_io(char *filename, int flag, blind_t *cdp, nsc_iodev_t *iodev) argument 1343 cdi->cd_iodev = iodev;
|