/titanic_50/usr/src/cmd/luxadm/ |
H A D | setboot.c | 157 struct openpromio *pio; in setprom() local 166 pio = (struct openpromio *)malloc(sizeof (struct openpromio) + in setprom() 169 if (pio == (struct openpromio *)NULL) { in setprom() 174 pio->oprom_size = MAXVALSIZE; in setprom() 175 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom() 177 if (ioctl(fd, OPROMGETOPT, pio) < 0) { in setprom() 186 (void) strcpy(save_bootdev, pio->oprom_array); in setprom() 191 "Current boot-device = %s\n"), pio->oprom_array); in setprom() 211 pio->oprom_size = (int)strlen(BOOTDEV_PROP_NAME) + 1 + in setprom() 214 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); in setprom() [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zio.c | 361 zio_walk_children(zio_t *pio) in zio_walk_children() argument 363 zio_link_t *zl = pio->io_walk_link; in zio_walk_children() 364 list_t *cl = &pio->io_child_list; in zio_walk_children() 367 pio->io_walk_link = zl; in zio_walk_children() 372 ASSERT(zl->zl_parent == pio); in zio_walk_children() 379 zio_t *pio = zio_walk_parents(cio); in zio_unique_parent() local 382 return (pio); in zio_unique_parent() 386 zio_add_child(zio_t *pio, zio_t *cio) in zio_add_child() argument 396 ASSERT(cio->io_child_type <= pio->io_child_type); in zio_add_child() 398 zl->zl_parent = pio; in zio_add_child() [all …]
|
H A D | vdev_mirror.c | 192 zio_t *pio; in vdev_mirror_scrub_done() local 195 while ((pio = zio_walk_parents(zio)) != NULL) { in vdev_mirror_scrub_done() 196 mutex_enter(&pio->io_lock); in vdev_mirror_scrub_done() 197 ASSERT3U(zio->io_size, >=, pio->io_size); in vdev_mirror_scrub_done() 198 bcopy(zio->io_data, pio->io_data, pio->io_size); in vdev_mirror_scrub_done() 199 mutex_exit(&pio->io_lock); in vdev_mirror_scrub_done()
|
H A D | vdev_queue.c | 351 zio_t *pio; in vdev_queue_agg_io_done() local 352 while ((pio = zio_walk_parents(aio)) != NULL) { in vdev_queue_agg_io_done() 353 bcopy((char *)aio->io_data + (pio->io_offset - in vdev_queue_agg_io_done() 354 aio->io_offset), pio->io_data, pio->io_size); in vdev_queue_agg_io_done()
|
H A D | vdev_cache.c | 221 zio_t *pio; in vdev_cache_fill() local 241 while ((pio = zio_walk_parents(fio)) != NULL) in vdev_cache_fill() 242 vdev_cache_hit(vc, ve, pio); in vdev_cache_fill()
|
H A D | arc.c | 1229 static void l2arc_dev_hdr_update(l2arc_dev_t *dev, zio_t *pio); 1230 static void l2arc_log_blk_commit(l2arc_dev_t *dev, zio_t *pio, 4338 arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, arc_done_func_t *done, in arc_read() argument 4410 if (pio != NULL) in arc_read() 4411 acb->acb_zio_dummy = zio_null(pio, in arc_read() 4640 rzio = zio_null(pio, spa, vd, in arc_read() 4647 rzio = zio_read_phys(pio, vd, addr, in arc_read() 4688 rzio = zio_read(pio, spa, bp, buf->b_data, size, in arc_read() 5123 arc_write(zio_t *pio, spa_t *spa, uint64_t txg, in arc_write() argument 5150 zio = zio_write(pio, spa, txg, bp, buf->b_data, hdr->b_size, zp, in arc_write() [all …]
|
H A D | dmu.c | 1489 dmu_sync_late_arrival(zio_t *pio, objset_t *os, dmu_sync_cb_t *done, zgd_t *zgd, in dmu_sync_late_arrival() argument 1509 zio_nowait(zio_write(pio, os->os_spa, dmu_tx_get_txg(tx), zgd->zgd_bp, in dmu_sync_late_arrival() 1543 dmu_sync(zio_t *pio, uint64_t txg, dmu_sync_cb_t *done, zgd_t *zgd) in dmu_sync() argument 1555 ASSERT(pio != NULL); in dmu_sync() 1570 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb)); in dmu_sync() 1594 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb)); in dmu_sync() 1662 zio_nowait(arc_write(pio, os->os_spa, txg, in dmu_sync()
|
H A D | dsl_destroy.c | 139 zio_t *pio; member 163 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); in process_old_cb() 183 poa.pio = zio_root(dp->dp_spa, NULL, NULL, ZIO_FLAG_MUSTSUCCEED); in process_old_deadlist() 186 VERIFY0(zio_wait(poa.pio)); in process_old_deadlist()
|
H A D | vdev.c | 956 zio_t *pio; in vdev_probe_done() local 976 while ((pio = zio_walk_parents(zio)) != NULL) in vdev_probe_done() 977 if (!vdev_accessible(vd, pio)) in vdev_probe_done() 978 pio->io_error = SET_ERROR(ENXIO); in vdev_probe_done() 996 zio_t *pio; in vdev_probe() local 1013 if ((pio = vd->vdev_probe_zio) == NULL) { in vdev_probe() 1042 vd->vdev_probe_zio = pio = zio_null(NULL, spa, vd, in vdev_probe() 1057 zio_add_child(zio, pio); in vdev_probe() 1067 zio_nowait(zio_read_phys(pio, vd, in vdev_probe() 1076 return (pio); in vdev_probe() [all …]
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | cmd4.c | 71 FILE *pio = NULL; in dopipe() local 130 pio=fdopen(pivec[1],"w"); in dopipe() 142 if ((t = msend(mp, pio, in dopipe() 149 fclose(pio); in dopipe() 154 if (page) putc('\f', pio); in dopipe() 157 fflush(pio); in dopipe() 158 if (ferror(pio)) in dopipe() 160 fclose(pio); in dopipe() 161 pio = NULL; in dopipe() 178 if (pio) in dopipe() [all …]
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | page_lock.c | 780 kmutex_t *pio; in page_io_lock() local 782 pio = PAGE_IO_MUTEX(pp); in page_io_lock() 783 mutex_enter(pio); in page_io_lock() 785 cv_wait(&(pp->p_io_cv), pio); in page_io_lock() 788 mutex_exit(pio); in page_io_lock() 797 kmutex_t *pio; in page_io_unlock() local 799 pio = PAGE_IO_MUTEX(pp); in page_io_unlock() 800 mutex_enter(pio); in page_io_unlock() 803 mutex_exit(pio); in page_io_unlock() 813 kmutex_t *pio; in page_io_trylock() local [all …]
|
/titanic_50/usr/src/uts/sun4v/promif/ |
H A D | promif_io.c | 69 #define PROMIF_PIO_ENTER(pio) argument 70 #define PROMIF_PIO_EXIT(pio) argument 78 #define PROMIF_PIO_ENTER(pio) \ argument 79 if (pio->cons_polledio_enter != NULL) { \ 80 pio->cons_polledio_enter(pio->cons_polledio_argument); \ 83 #define PROMIF_PIO_EXIT(pio) \ argument 84 if (pio->cons_polledio_exit != NULL) { \ 85 pio->cons_polledio_exit(pio->cons_polledio_argument); \
|
/titanic_50/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 375 int pio[2]; in procopen() local 398 pio[0] = pio[1] = -1; in procopen() 440 if (pipe(pio)) in procopen() 446 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pio)) in procopen() 449 if (pipe(pio) || pipe(poi)) in procopen() 453 else if (pipe(pio)) in procopen() 586 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[0], PROC_ARG_NULL)) in procopen() 588 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[1], 1)) in procopen() 602 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[!!procfd], !!procfd)) in procopen() 604 …if (pio[!procfd] != !!procfd && modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[!procfd], PROC… in procopen() [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | zio.h | 466 extern zio_t *zio_null(zio_t *pio, spa_t *spa, vdev_t *vd, 472 extern zio_t *zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, void *data, 476 extern zio_t *zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, 482 extern zio_t *zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, 491 extern zio_t *zio_claim(zio_t *pio, spa_t *spa, uint64_t txg, 495 extern zio_t *zio_ioctl(zio_t *pio, spa_t *spa, vdev_t *vd, int cmd, 498 extern zio_t *zio_read_phys(zio_t *pio, vdev_t *vd, uint64_t offset, 503 extern zio_t *zio_write_phys(zio_t *pio, vdev_t *vd, uint64_t offset, 508 extern zio_t *zio_free_sync(zio_t *pio, spa_t *spa, uint64_t txg, 525 extern zio_t *zio_walk_children(zio_t *pio); [all …]
|
H A D | arc.h | 139 int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, 142 zio_t *arc_write(zio_t *pio, spa_t *spa, uint64_t txg,
|
H A D | dsl_pool.h | 147 void dsl_free_sync(zio_t *pio, dsl_pool_t *dp, uint64_t txg,
|
H A D | vdev.h | 58 extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio);
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promif.c | 57 struct cons_polledio *pio = mdb.m_pio; in kmdb_prom_getchar() local 62 if (pio == NULL || pio->cons_polledio_getchar == NULL) { in kmdb_prom_getchar() 71 ischar = (uintptr_t)pio->cons_polledio_ischar; in kmdb_prom_getchar() 72 getchar = (uintptr_t)pio->cons_polledio_getchar; in kmdb_prom_getchar() 73 arg = (uintptr_t)pio->cons_polledio_argument; in kmdb_prom_getchar()
|
/titanic_50/usr/src/uts/sparc/os/ |
H A D | polled_io.c | 195 cons_polledio_t *pio = polled_output_device.polled_io; in polled_io_cons_write() local 199 pio->cons_polledio_putchar( in polled_io_cons_write() 200 pio->cons_polledio_argument, text[i]); in polled_io_cons_write()
|
/titanic_50/usr/src/cmd/find/ |
H A D | find.c | 1452 int pio[2]; local 1473 if (pipe(pio)) 1487 if (dup2(pio[cmdfd], cmdfd) != cmdfd) 1489 (void) close(pio[cmdfd]); 1490 (void) close(pio[usrfd]); 1514 (void) close(pio[cmdfd]); 1515 return (cmdproc[proc].fp = fdopen(pio[usrfd], mode));
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_sata.c | 163 xp->pio = 0; in pmcs_sata_special_work() 182 xp->pio = 1; in pmcs_sata_special_work()
|
/titanic_50/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 93 pio : 1, /* SATA specific */ member
|
/titanic_50/usr/src/cmd/fm/eversholt/files/sparc/sun4v/ |
H A D | gcpu.esc | 509 * ignore the pio-read error. 511 event ereport.cpu.generic-sparc.pio-read@chip; 515 ereport.cpu.generic-sparc.pio-read@chip;
|
/titanic_50/usr/src/cmd/fm/eversholt/files/sparc/sun4u/ |
H A D | oberon.esc | 110 * - invalid pio r/w
|
/titanic_50/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 2124 pr_rdwr(proc_t *p, enum uio_rw rw, priovec_t *pio) in pr_rdwr() argument 2126 caddr_t base = (caddr_t)pio->pio_base; in pr_rdwr() 2127 size_t cnt = pio->pio_len; in pr_rdwr() 2128 uintptr_t offset = (uintptr_t)pio->pio_offset; in pr_rdwr()
|