HomeSort by relevance Sort by last modified time
    Searched defs:io (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/
optvalue.c 14 struct ipopt_names *io; local
16 for (io = ionames; io->on_name; io++)
17 if (!strcasecmp(optname, io->on_name))
18 return io->on_bit;
26 struct ipopt_names *io; local
28 for (io = ionames; io->on_name; io++
    [all...]
v6optvalue.c 16 struct ipopt_names *io; local
18 for (io = v6ionames; io->on_name; io++)
19 if (!strcasecmp(optname, io->on_name))
20 return io->on_bit;
30 struct ipopt_names *io; local
32 for (io = v6ionames; io->on_name; io++
    [all...]
optprintv6.c 20 struct ipopt_names *io; local
24 for (io = v6ionames; io->on_name; io++)
25 if ((io->on_bit & optmsk) &&
26 ((io->on_bit & optmsk) == (io->on_bit & optbits))) {
27 printf("%s%s", s, io->on_name);
36 for (io = v6ionames; io->on_name; io++
    [all...]
buildopts.c 16 struct ipopt_names *io; local
24 for (io = ionames; io->on_name; io++) {
25 if (strcasecmp(s, io->on_name) || (msk & io->on_bit))
27 if ((inc = addipopt(op, io, len, t))) {
31 msk |= io->on_bit;
34 if (!io->on_name) {
optname.c 17 struct ipopt_names *io, *so; local
24 for (io = ionames; io->on_name; io++)
25 if (!strcasecmp(s, io->on_name)) {
26 msk |= io->on_bit;
29 if (!io->on_name) {
optprint.c 16 struct ipopt_names *io, *so; local
20 for (io = ionames; io->on_name; io++)
21 if ((io->on_bit & optmsk) &&
22 ((io->on_bit & optmsk) == (io->on_bit & optbits))) {
23 if ((io->on_value != IPOPT_SECURITY) ||
25 printf("%s%s", s, io->on_name);
26 if (io->on_value == IPOPT_SECURITY
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/
mdb_kb_kvm.c 44 mdb_io_t *io; local
46 if ((io = mdb_fdio_create_path(NULL, symfile, O_RDONLY, 0)) == NULL)
49 return (io);
mdb_logio.c 37 * the write request along to io->io_next.
46 logio_read(mdb_io_t *io, void *buf, size_t nbytes)
48 mdb_io_t *logio = io->io_data;
51 if (io->io_next != NULL) {
52 rbytes = IOP_READ(io->io_next, buf, nbytes);
66 logio_write(mdb_io_t *io, const void *buf, size_t nbytes)
68 mdb_io_t *logio = io->io_data;
71 if (io->io_next != NULL) {
72 wbytes = IOP_WRITE(io->io_next, buf, nbytes);
84 logio_close(mdb_io_t *io)
115 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); local
    [all...]
mdb_memio.c 44 memio_read(mdb_io_t *io, void *buf, size_t nbytes)
46 mem_data_t *mdp = io->io_data;
48 if (io->io_next == NULL) {
56 return (IOP_READ(io->io_next, buf, nbytes));
60 memio_seek(mdb_io_t *io, off64_t offset, int whence)
62 mem_data_t *mdp = io->io_data;
64 if (io->io_next == NULL) {
84 return (IOP_SEEK(io->io_next, offset, whence));
104 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); local
111 io->io_ops = &memio_ops
    [all...]
mdb_shell.c 115 * in order to generate an EOF to terminate the child. Since each io is
123 shellio_unlink(mdb_io_t *io, mdb_iob_t *iob)
125 mdb_io_t *fdio = io->io_next;
127 ASSERT(iob->iob_iop == io);
130 io->io_next = fdio->io_next;
136 shellio_close(mdb_io_t *io)
138 pid_t pid = (pid_t)(intptr_t)io->io_data;
167 mdb_io_t *io; local
204 io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP);
206 io->io_ops = &shellio_ops
    [all...]
mdb_strio.c 49 strio_read(mdb_io_t *io, void *buf, size_t nbytes)
51 str_data_t *sd = io->io_data;
65 strio_seek(mdb_io_t *io, off64_t offset, int whence)
67 str_data_t *sd = io->io_data;
70 if (io->io_next != NULL)
71 return (IOP_SEEK(io->io_next, offset, whence));
95 strio_close(mdb_io_t *io)
97 str_data_t *sd = io->io_data;
104 strio_name(mdb_io_t *io)
106 if (io->io_next != NULL
129 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); local
153 mdb_io_t *io; local
    [all...]
mdb_pipeio.c 77 pio_read(mdb_io_t *io, void *buf, size_t nbytes)
79 pipe_data_t *pd = io->io_data;
143 pio_write(mdb_io_t *io, const void *buf, size_t nbytes)
145 pipe_data_t *pd = io->io_data;
204 pio_ctl(mdb_io_t *io, int req, void *arg)
206 pipe_data_t *pd = io->io_data;
208 if (io->io_next != NULL)
209 return (IOP_CTL(io->io_next, req, arg));
221 pio_close(mdb_io_t *io)
223 mdb_free(io->io_data, sizeof (pipe_data_t))
330 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); local
349 mdb_io_t *io; local
    [all...]
mdb_fdio.c 57 fdio_read(mdb_io_t *io, void *buf, size_t nbytes)
59 fd_data_t *fdp = io->io_data;
61 if (io->io_next == NULL)
64 return (IOP_READ(io->io_next, buf, nbytes));
68 fdio_write(mdb_io_t *io, const void *buf, size_t nbytes)
70 fd_data_t *fdp = io->io_data;
72 if (io->io_next == NULL)
75 return (IOP_WRITE(io->io_next, buf, nbytes));
79 fdio_seek(mdb_io_t *io, off64_t offset, int whence)
81 fd_data_t *fdp = io->io_data
274 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); local
318 mdb_io_t *io = mdb_fdio_create(fd); local
    [all...]
mdb_rawfile.c 112 rf_read(mdb_io_t *io, void *buf, size_t nbytes, uint64_t addr)
116 if (io == NULL)
119 if (IOP_SEEK(io, addr, SEEK_SET) == -1)
122 if ((rbytes = IOP_READ(io, buf, nbytes)) == 0)
129 rf_write(mdb_io_t *io, const void *buf, size_t nbytes, uint64_t addr)
131 if (io == NULL)
134 if (IOP_SEEK(io, addr, SEEK_SET) == -1)
137 return (IOP_WRITE(io, buf, nbytes));
224 rf_print_map(mdb_io_t *io, const char *type, int tflags,
230 "%s (%s)", IOP_NAME(io), type)
416 mdb_io_t *io[2] = { NULL, NULL }; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/hal/hald-runner/
utils.c 62 GIOChannel *io; local
67 io = g_io_channel_unix_new(fd);
68 while (g_io_channel_read_line_string(io, str, &pos, NULL) == G_IO_STATUS_NORMAL && (i++ < 128)) {
77 g_io_channel_unref(io);
  /onnv/onnv-gate/usr/src/lib/libast/common/disc/
sfdcsubstr.c 54 reg ssize_t io; local
59 if(su->extent >= 0 && (ssize_t)n > (io = (ssize_t)(su->extent - su->here)) )
60 n = io;
70 io = 0;
73 io = sfwr(f,buf,n,disc);
74 else io = sfrd(f,buf,n,disc);
75 if(io > 0)
76 su->here += io;
82 return io;
sfdcdio.c 24 /* Discipline to turn on direct IO capability.
38 struct dioattr dio; /* direct IO params */
59 done = 0; /* amount processed by direct IO */
65 { /* direct IO ok, make sure we're in the right mode */
72 { size_t io; local
74 if((io = rw) > di->dio.d_maxiosz )
75 io = di->dio.d_maxiosz;
77 rv = read(f->file,buf,io);
78 else rv = write(f->file,buf,io);
85 if(rv < io || rw < di->dio.d_miniosz
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/kmdb/
kmdb_promio.c 57 pio_read(mdb_io_t *io, void *buf, size_t nbytes)
59 pio_data_t *pdp = io->io_data;
61 if (io->io_next == NULL)
64 return (IOP_READ(io->io_next, buf, nbytes));
68 pio_write(mdb_io_t *io, const void *buf, size_t nbytes)
70 pio_data_t *pdp = io->io_data;
72 if (io->io_next == NULL)
75 return (IOP_WRITE(io->io_next, buf, nbytes));
79 pio_seek(mdb_io_t *io, off64_t offset, int whence)
81 if (io->io_next == NULL
188 mdb_io_t *io; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/avs/ns/nsctl/
nsc_resv.c 678 nsc_io_t *io = iodev->si_io; local
690 if ((io->flag & NSC_FILTER) == 0) {
708 return (_nsc_call_dev(dev, io->attach, iodev->si_open->sf_cd,
742 nsc_io_t *io = iodev->si_io; local
752 if (!keep && io->flush == nsc_null)
781 fn = (flag & NSC_WRITE) ? io->detach : io->flush;
nsc_cache.c 81 _nsc_add_cache(nsc_io_t *io)
112 nsc_io_t *io; local
121 io = _nsc_reserve_io(NULL, NSC_ANON);
122 if (io == NULL)
125 if ((h = (*io->alloc_h)(NULL, NULL, NULL, NSC_ANON_CD)) == NULL) {
126 _nsc_release_io(io);
130 rc = (*io->alloc_buf)(NSC_ANON_CD, pos, len,
135 h->sb_fd = (nsc_fd_t *)io; /* note overloaded field */
140 io->abufcnt++;
144 _nsc_release_io(io);
389 nsc_io_t *io; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sh/
cmd.c 262 struct ionod *io; local
265 io = inout((struct ionod *)0);
267 io = 0;
369 if (io == 0)
428 t->comio = io; /*initial io chain*/
455 if (io)
457 while(io->ionxt)
458 io = io->ionxt
    [all...]
xec.c 130 struct ionod *io = t->treio; local
201 index = initio(io, 1);
352 * io redirection
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/mdb_ds/
mdb_ds.c 174 mdb_io_t io; local
185 mdb_vread(&io, sizeof (io), (uintptr_t)iob.iob_iop) == -1) {
191 iob.iob_flags, iob.iob_iop, io.io_ops);
  /onnv/onnv-gate/usr/src/uts/common/io/pcmcia/
pcata.c 198 * Allocate IO resources.
216 /* found a good IO range */
339 * Allocate io address space
632 * Release allocated IO resources.
747 struct cistpl_cftable_entry_io_t *io = &cistpl_cftable_entry.io; local
995 cft->p.addr_lines = io->addr_lines;
997 dcft->p.addr_lines = io->addr_lines;
999 if (io->ranges) {
1001 cft->p.ranges = io->ranges
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/avs/ns/sdbc/
sd_conf.c 195 nsc_io_t *io; local
465 io = nsc_register_io("sdbc", NSC_SDBC_ID|NSC_FILTER,
468 if (io) sdbc_io = io;

Completed in 300 milliseconds

1 2 3 4