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

1 2 3 4 5

  /onnv/onnv-gate/usr/src/cmd/csh/
sh.print.c 189 int unit; local
196 unit = didfds ? 2 : SHDIAG;
198 unit = didfds ? 1 : SHOUT;
201 if (didfds == 0 && ioctl(unit, TIOCLGET, (char *)&lmode) == 0 &&
204 (void) ioctl(unit, TIOCLBIC, (char *)&lmode);
205 (void) write(unit, "\n", 1);
208 (void) write(unit, linbuf, linp - linbuf);
218 int unit; local
225 unit = didfds ? 2 : SHDIAG;
227 unit = didfds ? 1 : SHOUT
    [all...]
  /onnv/onnv-gate/usr/src/cmd/tcpd/
tli-sequent.c 174 struct t_unitdata *unit; local
184 if ((unit = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ALL)) == 0) {
188 (void) t_rcvudata(fd, unit, &flags);
189 t_free((void *) unit, T_UNITDATA);
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/crypto/
spi.c 192 const char *unit = "bits"; local
207 unit = "bytes";
209 unit);
211 unit);
  /onnv/onnv-gate/usr/src/uts/intel/io/drm/
radeon_drv.c 154 int unit; local
161 unit = ddi_get_instance(dip);
162 if (ddi_soft_state_zalloc(radeon_statep, unit) != DDI_SUCCESS) {
164 "radeon_attach: alloc softstate failed unit=%d", unit);
167 statep = ddi_get_soft_state(radeon_statep, unit);
202 (void) ddi_soft_state_free(radeon_statep, unit);
211 int unit; local
216 unit = ddi_get_instance(dip);
217 statep = ddi_get_soft_state(radeon_statep, unit);
235 int unit; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libshell/common/bltins/
ulimit.c 79 int label, unit, nosupport; local
132 unit = shtab_units[tp->type];
144 i *= unit;
201 i += (unit-1);
202 sfprintf(sfstdout,"%I*d\n",sizeof(i),i/unit);
  /onnv/onnv-gate/usr/src/lib/libwrap/
tli.c 93 if (request->client->unit != 0) {
94 memcpy(&client, request->client->unit->addr.buf,
96 request->client->unit->addr.buf));
100 if (request->server->unit != 0) {
101 memcpy(&server, request->server->unit->addr.buf,
103 request->server->unit->addr.buf));
123 if (request->client->unit != 0)
124 t_free((char *) request->client->unit, T_UNITDATA);
125 if (request->server->unit != 0)
126 t_free((char *) request->server->unit, T_UNITDATA)
239 struct t_unitdata *unit = host->unit; local
256 struct t_unitdata *unit = host->unit; local
343 struct t_unitdata *unit; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/syscall/
systeminfo.c 334 int unit; local
357 unit = i_ddi_devi_get_ppa(dip);
358 if (unit < 0) {
360 "illegal unit number %d\n", unit);
364 (void) snprintf(ifname, IFNAMSIZ, "%s%d", name, unit);
  /onnv/onnv-gate/usr/src/cmd/krb5/kadmin/gui/dchanger/
DurationHelper.java 45 private Choice unit; field in class:DurationHelper
100 add(new Label(getString("Unit")), gbc);
112 unit = new Choice();
114 unit.add(units[i]);
115 unit.select(getString("Hours"));
116 unit.addItemListener(new ItemListener() {
140 add(unit, gbc);
210 unitMultipliers[unit.getSelectedIndex()]));
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
multilink.c 56 static int owns_unit __P((TDB_DATA pid, int unit));
95 int unit, pppd_pid; local
154 unit = -1;
164 parse_num(rec.dptr, "IFNAME=ppp", &unit);
168 || !owns_unit(pid, unit))
169 unit = -1;
175 if (unit >= 0) {
176 /* attach to existing unit */
177 if (bundle_attach(unit)) {
218 * Check whether the pppd identified by `key' still owns ppp unit `unit'
    [all...]
fsm.h 67 int unit; /* Interface unit number */ member in struct:fsm
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
deflate.c 52 int unit; member in struct:deflate_state
67 int unit, int hdrlen, int mru, int debug));
175 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug)
178 int opt_len, unit, hdrlen, mru, debug;
190 state->unit = unit;
250 state->unit, seq, state->seqno);
271 state->unit, r, (state->strm.msg? state->strm.msg: ""));
284 state->unit, olen, state->mru + PPP_HDRLEN);
332 state->unit, r, (state->strm.msg? state->strm.msg: ""))
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/ipf/
ip_lookup.c 487 int err, unit, num, type; local
496 unit = flush.iplf_unit;
497 if ((unit < 0 || unit > IPL_LOGMAX) && (unit != IPLT_ALL))
566 (void) printf("unit=%d\n", iter.ili_unit);
ip_htable.c 110 int err, i, unit; local
124 unit = op->iplo_unit;
125 if (iph->iph_unit != unit) {
144 for (oiph = ifs->ifs_ipf_htables[unit]; oiph != NULL;
163 ifs->ifs_ipht_nomem[unit]++;
175 iph->iph_next = ifs->ifs_ipf_htables[unit];
176 iph->iph_pnext = &ifs->ifs_ipf_htables[unit];
177 if (ifs->ifs_ipf_htables[unit] != NULL)
178 ifs->ifs_ipf_htables[unit]->iph_pnext = &iph->iph_next;
179 ifs->ifs_ipf_htables[unit] = iph
    [all...]
ip_pool.c 295 int unit, i, err = 0; local
301 unit = op->iplo_unit;
302 if (unit == IPL_LOGALL) {
305 } else if (unit >= 0 && unit < IPL_LOGSIZE) {
307 stats.ipls_list[unit] = ip_pool_find(unit,
310 stats.ipls_list[unit] = ifs->ifs_ip_pool_list[unit];
326 /* device, indicated by the unit number. *
502 int poolnum, unit; local
654 int i, num = 0, unit, err; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/sun4u/io/
sbd_cpu.c 285 int unit; local
287 unit = sbdp_portid_to_cpu_unit(cmp, core);
293 if (SBD_DEVICE_STATE(sbp, SBD_COMP_CPU, unit) ==
297 dip = sbp->sb_devlist[NIX(SBD_COMP_CMP)][unit];
301 cp = SBD_GET_BOARD_CPUUNIT(sbp, unit);
340 int i, rv = 0, unit; local
373 unit = sbdp_get_unit_num(hdp, dip);
374 if (unit < 0) {
377 "sbd:%s: failed to get unit (cpu %d)",
386 cp = SBD_GET_BOARD_CPUUNIT(sbp, unit);
460 int unit; local
544 int unit; local
648 int unit; local
761 int unit; local
    [all...]
sbd_io.c 55 sbd_attach_io(sbd_handle_t *hp, sbderror_t *ep, dev_info_t *dip, int unit)
63 ASSERT(sbp->sb_iopath[unit] != NULL);
65 (void) ddi_pathname(dip, sbp->sb_iopath[unit]);
74 sbd_detach_io(sbd_handle_t *hp, sbderror_t *ep, dev_info_t *dip, int unit)
99 sbd_init_io_unit(sbd_board_t *sbp, int unit)
105 ip = SBD_GET_BOARD_IOUNIT(sbp, unit);
107 if (SBD_DEV_IS_ATTACHED(sbp, SBD_COMP_IO, unit)) {
109 } else if (SBD_DEV_IS_PRESENT(sbp, SBD_COMP_IO, unit)) {
114 dip = sbp->sb_devlist[NIX(SBD_COMP_IO)][unit];
122 SBD_DEVICE_TRANSITION(sbp, SBD_COMP_IO, unit, new_state)
215 int unit; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libcmd/common/
fds.c 32 "[u:unit?Write output to \afd\a.]#[fd]"
168 int unit; local
190 unit = 1;
199 unit = opt_info.num;
215 if (unit == 1)
217 else if (fstat(unit, &st) || !(sp = sfnew(NiL, NiL, SF_UNBOUND, unit, SF_WRITE)))
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
pppstats.c 103 static int unit; variable
543 if (sscanf(interface, PPP_DRV_NAME "%d", &unit) != 1) {
582 if (strioctl(s, PPPIO_ATTACH, (char *)&unit, sizeof(int), 0) < 0) {
584 progname, unit);
  /onnv/onnv-gate/usr/src/cmd/plimit/
plimit.c 240 rlim64_t unit; local
274 unit = 1024;
279 unit = 60;
281 unit = 1024 * 1024;
286 unit = 60 * 60;
293 case RLIMIT_CPU: unit = 1; break;
294 case RLIMIT_FSIZE: unit = 512; break;
295 case RLIMIT_DATA: unit = 1024; break;
296 case RLIMIT_STACK: unit = 1024; break;
297 case RLIMIT_CORE: unit = 512; break
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
progressmeter.c 81 static const char unit[] = " KMGT"; variable
95 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
104 unit[i],
113 for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++)
117 unit[i],
  /onnv/onnv-gate/usr/src/cmd/units/
units.c 25 struct unit struct
84 int lookup(char *name, struct unit *up, int den, int c);
85 int convr(struct unit *up);
87 void units(struct unit *up);
94 struct unit u1, u2;
153 units(struct unit *up)
155 struct unit *p;
192 convr(struct unit *up)
194 struct unit *p;
243 lookup(char *name, struct unit *up, int den, int c
    [all...]
  /onnv/onnv-gate/usr/src/lib/efcode/pci/
pci.c 237 CHECK_DEPTH(env, 3, "pci:encode-unit");
250 debug_msg(DEBUG_REG_ACCESS, "pci:encode-unit ( %x ) -> %s\n",
258 int lo, hi, unit; local
261 CHECK_DEPTH(env, 2, "pci:decode-unit");
264 throw_from_fclib(env, 1, "pci:decode-unit: '%s'", buf);
266 unit = ((hi & 0x1f) << 11);
267 unit |= ((lo & 0x7) << 8);
268 debug_msg(DEBUG_REG_ACCESS, "pci:decode-unit ( '%s' ) -> 0 0 %x\n",
269 buf, unit);
272 PUSH(DS, unit);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/ppp/spppcomp/
deflate.c 62 int unit; member in struct:deflate_state
83 int unit, int hdrlen, int debug);
85 int unit, int hdrlen, int mru, int debug);
255 z_comp_init(void *arg, uchar_t *options, int opt_len, int unit, int hdrlen,
271 state->unit = unit;
445 state->unit, r,
589 "%d (%s)\n", state->unit, r,
706 z_decomp_init(void *arg, uchar_t *options, int opt_len, int unit, int hdrlen,
722 state->unit = unit
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/
tty_pts.c 236 minor_t unit; local
240 unit = getminor(dev);
241 if (unit >= npty)
244 pty = &pty_softc[unit];
  /onnv/onnv-gate/usr/src/uts/common/xen/io/
xenbus_dev.c 264 int unit = ddi_get_instance(dip); local
288 error = ddi_create_minor_node(dip, "xenbus", S_IFCHR, unit,

Completed in 4080 milliseconds

1 2 3 4 5