Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 265) sorted by relevance

1234567891011

/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Drt.sh128 then unit="$unit $x"
129 else unit="$x $unit"
133 unit="$unit ${dots:1:${#dots}-${#unit}}"
135 then unit="$unit..........."
195 [a-zA-Z]*) unit="$unit $4" ;;
197 unit
231 unit=${unit%.sh}
290 then unit=${unit/' tests'/}
321 then unit="$unit "
323 unit=$unit${1##*/}
[all …]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c37 int unit; member
49 int idx, unit; in efi_register_handles() local
55 for (unit = 0; idx < nentries; idx++, unit++) { in efi_register_handles()
56 entry[idx].handle = handles[unit]; in efi_register_handles()
58 entry[idx].alias = aliases[unit]; in efi_register_handles()
62 entry[idx].unit = unit; in efi_register_handles()
68 efi_find_handle(struct devsw *dev, int unit) in efi_find_handle() argument
75 if (entry[idx].unit != unit) in efi_find_handle()
92 if (unit != NULL) in efi_handle_lookup()
93 *unit = entry[idx].unit; in efi_handle_lookup()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dccp.c302 ccp_init(unit) in ccp_init() argument
303 int unit; in ccp_init()
307 f->unit = unit;
339 ccp_open(unit) in ccp_open() argument
340 int unit; in ccp_open()
368 int unit; in ccp_close()
380 int unit; in ccp_lowerup()
390 int unit; in ccp_lowerdown()
400 int unit; in ccp_input()
512 int unit; in ccp_protrej()
[all …]
H A Dipv6cp.c351 ipv6cp_init(unit) in ipv6cp_init() argument
352 int unit; in ipv6cp_init()
358 f->unit = unit;
382 ipv6cp_open(unit) in ipv6cp_open() argument
383 int unit; in ipv6cp_open()
394 int unit; in ipv6cp_close()
406 int unit; in ipv6cp_lowerup()
417 int unit; in ipv6cp_lowerdown()
428 int unit; in ipv6cp_input()
441 int unit; in ipv6cp_protrej()
[all …]
H A Dipcp.c362 ipcp_init(unit) in ipcp_init() argument
363 int unit; in ipcp_init()
369 f->unit = unit;
403 int unit; in ipcp_open()
414 int unit; in ipcp_close()
426 int unit; in ipcp_lowerup()
437 int unit; in ipcp_lowerdown()
448 int unit; in ipcp_input()
461 int unit; in ipcp_protrej()
1662 int unit; in ipcp_clear_addrs()
[all …]
H A Dauth.c401 int unit; in link_required()
412 int unit; in link_terminated()
472 int unit; in link_down()
503 int unit; in link_established()
606 int unit; in network_phase()
1012 int unit; in auth_reset()
1061 int unit; in check_passwd()
1429 int unit; in null_login()
1599 int unit; in get_secret()
1670 int unit; in set_allowed_addrs()
[all …]
H A Dchap.c145 ChapInit(unit) in ChapInit() argument
146 int unit; in ChapInit()
151 cstate->unit = unit;
168 int unit; in ChapAuthWithPeer()
198 int unit; in ChapAuthPeer()
289 ChapLowerUp(unit) in ChapLowerUp() argument
290 int unit; in ChapLowerUp()
315 ChapLowerDown(unit) in ChapLowerDown() argument
316 int unit; in ChapLowerDown()
340 int unit; in ChapProtocolReject()
[all …]
H A Dlcp.c493 int unit; in lcp_init()
499 f->unit = unit;
563 int unit; in lcp_open()
582 int unit; in lcp_close()
609 int unit; in lcp_lowerup()
622 ppp_set_xaccm(unit, xmit_accm[unit]);
643 int unit; in lcp_lowerdown()
654 int unit; in lcp_input()
771 int unit; in lcp_protrej()
3151 unit = lt->unit;
[all …]
H A Dupap.c134 upap_init(unit) in upap_init() argument
135 int unit; in upap_init()
162 int unit; in upap_authwithpeer()
190 upap_authpeer(unit) in upap_authpeer() argument
191 int unit; in upap_authpeer()
256 upap_lowerup(unit) in upap_lowerup() argument
257 int unit; in upap_lowerup()
284 int unit; in upap_lowerdown()
305 upap_protrej(unit) in upap_protrej() argument
306 int unit; in upap_protrej()
[all …]
H A Dcbcp.c104 cbcp_init(unit) in cbcp_init() argument
105 int unit; in cbcp_init()
109 us = &cbcp[unit];
111 us->us_unit = unit;
117 cbcp_lowerup(unit) in cbcp_lowerup() argument
118 int unit; in cbcp_lowerup()
120 cbcp_state *us = &cbcp[unit];
132 cbcp_input(unit, inpacket, pktlen) in cbcp_input() argument
133 int unit; in cbcp_input()
141 cbcp_state *us = &cbcp[unit];
[all …]
/illumos-gate/usr/src/cmd/prctl/
H A Dutils.c133 if ((unit && *unit != '\0') && in scaledtouint64()
223 if ((unit == NULL || *unit == '\0') && (*endptr != '\0')) in scaledtouint64()
227 if ((unit && *unit != '\0') && in scaledtouint64()
233 if (unit && *unit != '\0') { in scaledtouint64()
241 cmp = strncasecmp(unit, endptr, strlen(unit)); in scaledtouint64()
243 cmp = strncmp(unit, endptr, strlen(unit)); in scaledtouint64()
252 *unitout = unit; in scaledtouint64()
282 if (unit && *unit != '\0') in uint64toscaled()
336 if (unit && *unit != '\0') in uint64toscaled()
354 scale, unit, flags); in scaledtoscaled()
[all …]
/illumos-gate/usr/src/lib/libwrap/
H A Dtli.c89 if (request->client->unit != 0) {
96 if (request->server->unit != 0) {
119 if (request->client->unit != 0)
121 if (request->server->unit != 0)
160 request->client->unit = client;
176 request->server->unit = server;
235 struct t_unitdata *unit = host->unit; local
238 if (config != 0 && unit != 0
252 struct t_unitdata *unit = host->unit; local
255 if (config != 0 && unit != 0
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c287 int unit; in sbd_cpu_flags() local
376 if (unit < 0) { in sbd_pre_release_cpu()
397 cpuid, unit); in sbd_pre_release_cpu()
438 if (unit < 0) { in sbd_pre_release_cpu()
462 int unit; in sbd_pre_attach_cpu() local
493 if (unit < 0) { in sbd_pre_attach_cpu()
543 int unit; in sbd_post_attach_cpu() local
615 if (unit < 0) { in sbd_post_attach_cpu()
647 int unit; in sbd_pre_detach_cpu() local
694 if (unit < 0) { in sbd_pre_detach_cpu()
[all …]
H A Dsbd_io.c61 ASSERT(sbp->sb_iopath[unit] != NULL); in sbd_attach_io()
63 (void) ddi_pathname(dip, sbp->sb_iopath[unit]); in sbd_attach_io()
97 sbd_init_io_unit(sbd_board_t *sbp, int unit) in sbd_init_io_unit() argument
103 ip = SBD_GET_BOARD_IOUNIT(sbp, unit); in sbd_init_io_unit()
105 if (SBD_DEV_IS_ATTACHED(sbp, SBD_COMP_IO, unit)) { in sbd_init_io_unit()
112 dip = sbp->sb_devlist[NIX(SBD_COMP_IO)][unit]; in sbd_init_io_unit()
125 sbd_disconnect_io(sbd_handle_t *hp, int unit) in sbd_disconnect_io() argument
213 int unit; in sbd_io_status() local
247 unit = isp->is_unit; in sbd_io_status()
249 dstate = SBD_DEVICE_STATE(sbp, SBD_COMP_IO, unit); in sbd_io_status()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_log.c552 minor_t unit; in ipflog_read()
565 if (IPL_LOGMAX < unit)
641 ifs->ifs_iplh[unit] = &ifs->ifs_iplt[unit];
652 ifs->ifs_iplt[unit] = ipl;
653 ifs->ifs_ipll[unit] = ipl;
654 if (ifs->ifs_iplh[unit] == &ifs->ifs_iplt[unit]) {
678 int ipflog_clear(unit, ifs) in ipflog_clear() argument
679 minor_t unit; in ipflog_clear()
692 ifs->ifs_iplh[unit] = &ifs->ifs_iplt[unit];
693 ifs->ifs_ipll[unit] = NULL;
[all …]
H A Dip_pool.c294 int unit, i, err = 0; local
300 unit = op->iplo_unit;
304 } else if (unit >= 0 && unit < IPL_LOGSIZE) {
306 stats.ipls_list[unit] = ip_pool_find(unit,
309 stats.ipls_list[unit] = ifs->ifs_ip_pool_list[unit];
328 int unit; in ip_pool_find()
505 int poolnum, unit; local
555 h->ipo_unit = unit;
664 if (unit != IPLT_ALL && i != unit)
887 int unit;
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dfdc.c385 int unit; in fdc_bus_ctl() local
525 unit < NFDUN; unit++) { in fdc_attach()
847 int unit; in fdc_detach() local
857 for (unit = 0; unit < NFDUN; unit++) in fdc_detach()
1615 int unit; in fdc_quiesce() local
1625 for (unit = 0; unit < NFDUN; unit++) { in fdc_quiesce()
1669 int unit; in fdcquiesce() local
1693 for (unit = 0; unit < NFDUN; unit++) in fdcquiesce()
2162 int unit; in fdc_exec() local
2447 int unit; in fdrecover() local
[all …]
H A Dfd.c660 int part, unit; in fd_open() local
966 int unit; in fd_close() local
1135 int sctrshft, unit; in fdstart() local
1157 unit = fjp->fj_unit; in fdstart()
1293 int nblks, part, unit; in fd_ioctl() local
1303 unit, cmd, arg)); in fd_ioctl()
1817 unit)); in fd_ioctl()
1829 unit, cmd)); in fd_ioctl()
2066 unit &= 3; in fd_rawioctl()
2204 int unit; in fd_media_watch() local
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.print.c189 int unit; in flush() local
196 unit = didfds ? 2 : SHDIAG; in flush()
198 unit = didfds ? 1 : SHOUT; in flush()
201 if (didfds == 0 && ioctl(unit, TIOCLGET, (char *)&lmode) == 0 && in flush()
204 (void) ioctl(unit, TIOCLBIC, (char *)&lmode); in flush()
205 (void) write(unit, "\n", 1); in flush()
208 (void) write(unit, linbuf, linp - linbuf); in flush()
218 int unit; in write_string() local
225 unit = didfds ? 2 : SHDIAG; in write_string()
227 unit = didfds ? 1 : SHOUT; in write_string()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_lpc.c99 int unit, error; in lpc_device_parse() local
111 for (unit = 0; unit < LPC_UART_NUM; unit++) { in lpc_device_parse()
114 lpc_uart_names[unit]); in lpc_device_parse()
227 int unit, error; in lpc_init() local
237 for (unit = 0; unit < LPC_UART_NUM; unit++) { in lpc_init()
238 sc = &lpc_uart_softc[unit]; in lpc_init()
239 name = lpc_uart_names[unit]; in lpc_init()
382 int unit; in pci_lpc_uart_dsdt() local
384 for (unit = 0; unit < LPC_UART_NUM; unit++) { in pci_lpc_uart_dsdt()
385 sc = &lpc_uart_softc[unit]; in pci_lpc_uart_dsdt()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.c310 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
313 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
317 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
323 sprintf (name, "/dev/rfd%da", unit); in get_floppy_disk_name()
326 sprintf (name, "/dev/rfd%dc", unit); in get_floppy_disk_name()
329 sprintf (name, "/dev/fd%d", unit); in get_floppy_disk_name()
348 sprintf (name, "/dev/hd%d", unit); in get_ide_disk_name()
360 sprintf (shortname, "wd%d", unit); in get_ide_disk_name()
373 sprintf (name, "/dev/hd%d", unit); in get_ide_disk_name()
391 sprintf (name, "/dev/sd%d", unit); in get_scsi_disk_name()
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_priv.h90 #define SBDP_SET_CPU_PRESENT(bdp, unit)\ argument
91 ((bdp)->cpus_present |= (1 << (unit)))
93 #define SBDP_IS_CPU_PRESENT(bdp, unit)\ argument
94 (((bdp)->cpus_present & (1 << (unit))) != 0)
99 #define SBDP_SET_CPU_IN_RESET(bdp, unit)\ argument
100 ((bdp)->cpus_in_reset |= (1 << (unit)))
101 #define SBDP_UNSET_CPU_IN_RESET(bdp, unit)\ argument
102 ((bdp)->cpus_in_reset &= ~(1 << (unit)))
103 #define SBDP_IS_CPU_IN_RESET(bdp, unit)\ argument
104 (((bdp)->cpus_in_reset & (1 << (unit))) != 0)
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiosdisk.c212 int unit; in bd_get_bdinfo() local
218 unit = 0; in bd_get_bdinfo()
222 unit++; in bd_get_bdinfo()
235 int i, unit; in bd_bios2unit() local
239 unit = 0; in bd_bios2unit()
246 unit++; in bd_bios2unit()
257 int unit; in bd_unit2bios() local
263 unit = 0; in bd_unit2bios()
267 unit++; in bd_unit2bios()
309 for (unit = 0; unit < numfd; unit++) { in fd_init()
[all …]
/illumos-gate/usr/src/cmd/dlstat/
H A Ddlstat.c821 *unit = oarg[0]; in dlstat_unit()
837 if (unit == '\0') { in map_to_units()
845 unit = '\0'; in map_to_units()
848 unit = 'K'; in map_to_units()
851 unit = 'M'; in map_to_units()
854 unit = 'G'; in map_to_units()
857 unit = 'T'; in map_to_units()
862 unit = 'P'; in map_to_units()
866 switch (unit) { in map_to_units()
869 unit = '\0'; in map_to_units()
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c250 int unit = -1; in sbdp_get_unit_num() local
283 unit = SG_CPUID_TO_CPU_UNIT(cpuid); in sbdp_get_unit_num()
287 unit = 0; in sbdp_get_unit_num()
323 unit = 0; in sbdp_get_unit_num()
325 unit = 1; in sbdp_get_unit_num()
329 unit = 2; in sbdp_get_unit_num()
331 unit = 3; in sbdp_get_unit_num()
341 return (unit); in sbdp_get_unit_num()
986 if (unit == SBDP_ALL_CPUS) in sbdp_cpu_in_reset()
993 SBDP_SET_CPU_IN_RESET(bdp, unit); in sbdp_cpu_in_reset()
[all …]

1234567891011