| /onnv/onnv-gate/usr/src/cmd/luxadm/ |
| setboot.c | 157 struct openpromio *pio; local 166 pio = (struct openpromio *)malloc(sizeof (struct openpromio) + 169 if (pio == (struct openpromio *)NULL) { 174 pio->oprom_size = MAXVALSIZE; 175 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME); 177 if (ioctl(fd, OPROMGETOPT, pio) < 0) { 186 (void) strcpy(save_bootdev, pio->oprom_array); 191 "Current boot-device = %s\n"), pio->oprom_array); 211 pio->oprom_size = (int)strlen(BOOTDEV_PROP_NAME) + 1 + 214 (void) strcpy(pio->oprom_array, BOOTDEV_PROP_NAME) [all...] |
| /onnv/onnv-gate/usr/src/uts/sparc/os/ |
| polled_io.c | 195 cons_polledio_t *pio = polled_output_device.polled_io; local 199 pio->cons_polledio_putchar( 200 pio->cons_polledio_argument, text[i]);
|
| /onnv/onnv-gate/usr/src/cmd/mailx/ |
| cmd4.c | 71 FILE *pio = NULL; local 130 pio=fdopen(pivec[1],"w"); 142 if ((t = msend(mp, pio, 149 fclose(pio); 154 if (page) putc('\f', pio); 157 fflush(pio); 158 if (ferror(pio)) 160 fclose(pio); 161 pio = NULL; 178 if (pio) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| vdev_queue.c | 155 zio_t *pio; local 157 while ((pio = zio_walk_parents(aio)) != NULL) 159 bcopy((char *)aio->io_data + (pio->io_offset - 160 aio->io_offset), pio->io_data, pio->io_size);
|
| vdev_mirror.c | 186 zio_t *pio; local 189 while ((pio = zio_walk_parents(zio)) != NULL) { 190 mutex_enter(&pio->io_lock); 191 ASSERT3U(zio->io_size, >=, pio->io_size); 192 bcopy(zio->io_data, pio->io_data, pio->io_size); 193 mutex_exit(&pio->io_lock);
|
| vdev_cache.c | 211 zio_t *pio; local 231 while ((pio = zio_walk_parents(fio)) != NULL) 232 vdev_cache_hit(vc, ve, pio);
|
| vdev.c | 920 zio_t *pio; local 940 while ((pio = zio_walk_parents(zio)) != NULL) 941 if (!vdev_accessible(vd, pio)) 942 pio->io_error = ENXIO; 958 zio_t *pio; local 975 if ((pio = vd->vdev_probe_zio) == NULL) { 1004 vd->vdev_probe_zio = pio = zio_null(NULL, spa, vd, 1015 zio_add_child(zio, pio); 1025 zio_nowait(zio_read_phys(pio, vd, 1034 return (pio); [all...] |
| zio.c | 341 zio_walk_children(zio_t *pio) 343 zio_link_t *zl = pio->io_walk_link; 344 list_t *cl = &pio->io_child_list; 347 pio->io_walk_link = zl; 352 ASSERT(zl->zl_parent == pio); 359 zio_t *pio = zio_walk_parents(cio); local 362 return (pio); 366 zio_add_child(zio_t *pio, zio_t *cio) 376 ASSERT(cio->io_child_type <= pio->io_child_type); 378 zl->zl_parent = pio; 1286 zio_t *pio; local 1611 zio_t *pio = zio_unique_parent(zio); local 1724 zio_t *pio = zio_unique_parent(zio); local 1879 zio_t *pio; local 2554 zio_t *pio, *pio_next; local 2615 zio_t *pio, *pio_next; local [all...] |
| arc.c | 4001 zio_t *pio = zio_unique_parent(zio); local 4203 zio_t *pio, *wzio; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/misc/ |
| procopen.c | 375 int pio[2]; local 398 pio[0] = pio[1] = -1; 440 if (pipe(pio)) 446 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pio)) 449 if (pipe(pio) || pipe(poi)) 453 else if (pipe(pio)) 586 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[0], PROC_ARG_NULL)) 588 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[1], 1)) 602 if (modify(proc, forked, PROC_fd_dup|PROC_FD_CHILD, pio[!!procfd], !!procfd) [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/kmdb/ |
| kmdb_promif.c | 57 struct cons_polledio *pio = mdb.m_pio; local 62 if (pio == NULL || pio->cons_polledio_getchar == NULL) { 71 ischar = (uintptr_t)pio->cons_polledio_ischar; 72 getchar = (uintptr_t)pio->cons_polledio_getchar; 73 arg = (uintptr_t)pio->cons_polledio_argument;
|
| /onnv/onnv-gate/usr/src/uts/common/vm/ |
| page_lock.c | 793 kmutex_t *pio; local 795 pio = PAGE_IO_MUTEX(pp); 796 mutex_enter(pio); 798 cv_wait(&(pp->p_io_cv), pio); 801 mutex_exit(pio); 810 kmutex_t *pio; local 812 pio = PAGE_IO_MUTEX(pp); 813 mutex_enter(pio); 816 mutex_exit(pio); 826 kmutex_t *pio; local 850 kmutex_t *pio; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/xargs/ |
| xargs.c | 105 * the pio structure is used to save any pending input before the 109 typedef struct pio { struct 110 struct pio *next; /* next in stack */ 114 } pio; typedef in typeref:struct:pio 116 static pio *queued_data = NULL; 470 pio *new, *element; 472 if ((new = malloc(sizeof (pio))) == NULL) { 931 * we get the next character from pio.structure, if there's a character 966 pio *nxt = queued_data->next;
|
| /onnv/onnv-gate/usr/src/cmd/find/ |
| find.c | 1253 int pio[2]; local 1274 if (pipe(pio)) 1288 if (dup2(pio[cmdfd], cmdfd) != cmdfd) 1290 (void) close(pio[cmdfd]); 1291 (void) close(pio[usrfd]); 1315 (void) close(pio[cmdfd]); 1316 return (cmdproc[proc].fp = fdopen(pio[usrfd], mode)); [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| mdb_io.c | 398 mdb_io_t *pio = mdb_pipeio_create(rdsvc, wrsvc); local 401 iobs[0] = mdb_iob_create(pio, MDB_IOB_RDONLY); 402 iobs[1] = mdb_iob_create(pio, MDB_IOB_WRONLY); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
| pmcs.h | 92 pio : 1, /* SATA specific */ member in struct:pmcs_xscsi
|