Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 266) sorted by path

1234567891011

/illumos-gate/usr/src/boot/
H A DREADME.loader178 mount to root partition because it has a wrong unit
/illumos-gate/usr/src/boot/common/
H A Ddisk.c63 char unit; in display_size() local
66 unit = 'K'; in display_size()
69 unit = 'T'; in display_size()
72 unit = 'G'; in display_size()
75 unit = 'M'; in display_size()
77 snprintf(buf, sizeof (buf), "%4" PRIu64 "%cB", size, unit); in display_size()
421 int unit, slice, partition; in disk_parsedev() local
426 unit = -1; in disk_parsedev()
442 unit = strtol(np, &cp, 10); in disk_parsedev()
476 dev->dd.d_unit = unit; in disk_parsedev()
H A Dvdisk.c194 long unit; in command_unmapvd() local
208 unit = strtol(argv[1] + len, &end, 10); in command_unmapvd()
215 if (vd->vdisk_unit == unit) in command_unmapvd()
/illumos-gate/usr/src/boot/efi/libefi/
H A Ddevicename.c87 int i, unit, err; in efi_parsedev() local
137 unit = 0; in efi_parsedev()
143 unit = strtol(np, &cp, 0); in efi_parsedev()
154 idev->d_unit = unit; in efi_parsedev()
H A Definet.c372 int unit, ret = 0; in efinet_dev_print() local
378 for (unit = 0, h = efi_find_handle(&efinet_dev, 0); in efinet_dev_print()
379 h != NULL; h = efi_find_handle(&efinet_dev, ++unit)) { in efinet_dev_print()
380 printf(" %s%d:", efinet_dev.dv_name, unit); in efinet_dev_print()
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/boot/efi/loader/
H A Dmain.c260 set_currdev_devsw(struct devsw *dev, int unit) in set_currdev_devsw() argument
265 currdev.d_unit = unit; in set_currdev_devsw()
370 int unit; in find_currdev() local
429 if (efi_handle_lookup(img->DeviceHandle, &dev, &unit, &extra) == 0) { in find_currdev()
430 set_currdev_devsw(dev, unit); in find_currdev()
445 if (efi_handle_lookup(h, &dev, &unit, &extra) == 0) { in find_currdev()
446 set_currdev_devsw(dev, unit); in find_currdev()
/illumos-gate/usr/src/boot/i386/common/
H A Ddrv.h35 unsigned int unit; member
/illumos-gate/usr/src/boot/i386/isoboot/
H A Disoboot.c250 dsk.unit = dsk.drive & DRV_MASK; in main()
308 dsk.unit, kname); in main()
312 dsk.unit, dsk.part, kname); in main()
358 dsk.unit); in load()
438 MAKEBOOTDEV(dev_maj[dsk.type], 0, dsk.unit, 0), in load()
517 dsk.unit = *arg - '0'; in parse_cmds()
518 if (arg[1] != 'p' || dsk.unit > 9) in parse_cmds()
529 drv = dsk.unit; in parse_cmds()
/illumos-gate/usr/src/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 …]
H A Ddevicename.c88 int i, unit, err; in i386_parsedev() local
138 unit = 0; in i386_parsedev()
143 unit = strtol(np, &cp, 0); in i386_parsedev()
154 idev->dd.d_unit = unit; in i386_parsedev()
/illumos-gate/usr/src/boot/i386/loader/
H A Dhelp.i38629 # Tset Sroot_disk_unit DForce the root disk unit number.
33 If the code which detects the disk unit number for the root disk is
35 gaps in the sequence (eg. no primary slave), the unit number can be
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dbootinfo.h109 #define MAKEBOOTDEV(type, slice, unit, partition) \ argument
111 ((unit) << B_UNITSHIFT) | ((partition) << B_PARTITIONSHIFT) | \
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c1032 int unit; in isrewind() local
1048 sscanf(tape, "%*[a-zA-Z/]%d", &unit) == 1 && in isrewind()
1049 (unit & MT_NOREWIND)) in isrewind()
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_lpc.c99 int unit, error; in lpc_device_parse() local
153 for (unit = 0; unit < LPC_UART_NUM; unit++) { in lpc_device_parse()
156 lpc_uart_names[unit]); in lpc_device_parse()
276 int unit, error; in lpc_init() local
295 for (unit = 0; unit < LPC_UART_NUM; unit++) { in lpc_init()
296 sc = &lpc_uart_softc[unit]; in lpc_init()
297 name = lpc_uart_names[unit]; in lpc_init()
440 int unit; in pci_lpc_uart_dsdt() local
442 for (unit = 0; unit < LPC_UART_NUM; unit++) { in pci_lpc_uart_dsdt()
443 sc = &lpc_uart_softc[unit]; in pci_lpc_uart_dsdt()
[all …]
H A Duart_emul.h41 int uart_legacy_alloc(int unit, int *ioaddr, int *irq);
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c934 char *unit = NULL; in get_subname() local
950 unit = get_input_string(UNIT_PROMPT, NULL, RDN_MIN, RDN_MAX); in get_subname()
976 if (unit != NULL) { in get_subname()
978 (void) strlcat(subname, unit, SUBNAMESIZ); in get_subname()
1000 if (unit) in get_subname()
1001 free(unit); in get_subname()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME348 The `lease_t' type is the simplest to understand; it is the unit of
388 that this unit is typically used where time_t's would've traditionally
H A DREADME.v6616 discussing the renew/rebind T1/T2 timers, but treats them as a unit
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A DTHIRDPARTYLICENSE148 est une f\351d\351ration d'unit\351s mixtes de recherche du CNRS, de l'Institut
172 The research unit in Software, Systems, Networks (LSR) is member of IMAG.
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 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 …]
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 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 Dchap.h75 int unit; /* Interface unit number */ member

1234567891011