Home
last modified time | relevance | path

Searched refs:unit (Results 51 – 75 of 266) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dremove_poolnode.c18 int remove_poolnode(unit, name, node, iocfunc) in remove_poolnode() argument
19 int unit; in remove_poolnode()
32 op.iplo_unit = unit;
H A Dload_hashnode.c24 int load_hashnode(unit, name, node, iocfunc) in load_hashnode() argument
25 int unit; in load_hashnode()
44 op.iplo_unit = unit;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/
H A Dpiclfrutree.info70 PROP SlotType string r 0 "fan-unit"
72 NODE fan-unit fru
76 PROP SlotType string r 0 "fan-unit"
78 NODE fan-unit fru
82 PROP SlotType string r 0 "fan-unit"
84 NODE fan-unit fru
/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()
/illumos-gate/usr/src/uts/common/syscall/
H A Dsysteminfo.c342 int unit; in get_netif_name() local
365 unit = i_ddi_devi_get_ppa(dip); in get_netif_name()
366 if (unit < 0) { in get_netif_name()
368 "illegal unit number %d\n", unit); in get_netif_name()
372 (void) snprintf(ifname, IFNAMSIZ, "%s%d", name, unit); in get_netif_name()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c94 uint_t unit; member
254 rarpdev_head->unit = ifsp.ifsp_ppa; in main()
362 rdev->unit = ifsp.ifsp_ppa; in getintf()
391 if (specp->ifsp_ppa == rdev->unit && in find_device()
402 int unit; in init_rarpdev() local
411 rdev->unit); in init_rarpdev()
462 unit = rdev->unit; in init_rarpdev()
465 unit = ifdev->lunit; in init_rarpdev()
498 " address %s", rdev->device, rdev->unit, str); in do_rarp()
881 debug("device %s%d address %s", dev, unit, in get_ifdata()
[all …]
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_hdlc.c389 int unit; in zsh_attach() local
404 if (unit > 1) in zsh_attach()
414 for (; unit < maxzsh / 2; unit++) { in zsh_attach()
423 unit++; in zsh_attach()
441 int unit, error; in zsh_info() local
452 zs = &zscom[unit]; in zsh_info()
525 int unit; in zsh_open() local
532 unit = UNIT(*dev); in zsh_open()
538 zs = &zscom[unit]; in zsh_open()
601 for (unit = maxzsh; unit < MAXZSHCLONES; unit++) in zsh_open()
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
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/uts/sun4u/sys/
H A Dsbdpriv.h554 #define SBDGETSLOT(unit) ((unit) & SBD_DEV_SLOTMASK) argument
681 extern int sbd_disconnect_cpu(sbd_handle_t *hp, int unit);
682 extern int sbd_connect_cpu(sbd_board_t *sbp, int unit);
683 extern int sbd_disconnect_mem(sbd_handle_t *hp, int unit);
703 extern int sbd_disconnect_io(sbd_handle_t *hp, int unit);
707 extern void sbd_init_mem_unit(sbd_board_t *sbp, int unit,
709 extern void sbd_release_mem_done(sbd_handle_t *hp, int unit);
711 extern int sbd_cancel_cpu(sbd_handle_t *hp, int unit);
713 extern int sbd_cancel_mem(sbd_handle_t *hp, int unit);
733 int unit);
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c219 int error = 0, unit = 0, tmp, uid; local
224 unit = dev;
231 if (unit == IPL_LOGNAT) {
239 if (unit == IPL_LOGSTATE) {
247 if (unit == IPL_LOGAUTH) {
266 if (unit == IPL_LOGSYNC) {
276 if (unit == IPL_LOGSCAN) {
286 if (unit == IPL_LOGLOOKUP) {
348 error = frrequest(unit, cmd, data,
357 error = frrequest(unit, cmd, data,
[all …]
/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/uts/intel/io/
H A Dfd.conf30 name="fd" parent="fdc" unit=0 mode_3D=0;
31 name="fd" parent="fdc" unit=1 mode_3D=0;
/illumos-gate/usr/src/cmd/csh/
H A Dsh.c622 int unit = dmove(open_(ep, 0), -1); in srccat() local
624 (void) fcntl(unit, F_SETFD, 1); in srccat()
627 srcunit(unit, 0, 0); in srccat()
629 srcunit(unit, 1, 0); in srccat()
641 int unit = dmove(open_(ep, 0), -1); in srccat_inlogin() local
643 (void) fcntl(unit, F_SETFD, 1); in srccat_inlogin()
645 srcunit(unit, 0, 0); in srccat_inlogin()
673 if (unit < 0) in srcunit()
680 if (fstat(unit, &stb) < 0 || in srcunit()
682 (void) close(unit); in srcunit()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dfru_SC_data.info197 name:/frutree/chassis/F0/fan-unit
204 name:/frutree/chassis/F1/fan-unit
211 name:/frutree/chassis/F2/fan-unit
218 name:/frutree/chassis/F3/fan-unit
227 REFPROP _fru_parent name:/frutree/chassis/F0/fan-unit
229 REFPROP _fru_parent name:/frutree/chassis/F1/fan-unit
231 REFPROP _fru_parent name:/frutree/chassis/F2/fan-unit
233 REFPROP _fru_parent name:/frutree/chassis/F3/fan-unit
/illumos-gate/usr/src/cmd/fs.d/
H A Dpreenlib.c269 uint_t unit) /* unit number */ in preen_addunit() argument
318 addunit(devp, unit); in preen_addunit()
374 addunit(struct onedev *devp, uint_t unit) in addunit() argument
378 newsize = howmany(unit+1, WORDSIZE); in addunit()
392 devp->unitmap[unit / WORDSIZE] |= (1 << (unit % WORDSIZE)); in addunit()
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/
H A Dspi.c196 const char *unit = "bits"; in crypto_mech_info() local
211 unit = "bytes"; in crypto_mech_info()
213 unit); in crypto_mech_info()
215 unit); in crypto_mech_info()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c368 int unit; in ch_attach() local
414 gchp[unit] = chp; in ch_attach()
421 chp->ch_unit = unit; in ch_attach()
422 ch_set_name(chp, unit); in ch_attach()
440 gchp[unit] = NULL; in ch_attach()
514 gchp[unit] = NULL; in ch_attach()
551 gchp[unit] = NULL; in ch_attach()
581 gchp[unit] = NULL; in ch_attach()
610 gchp[unit] = NULL; in ch_attach()
1806 if (unit > 9) { in ch_set_name()
[all …]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxencons.c329 xcp->unit = instance; in xenconsattach()
419 int unit; in xenconsopen() local
421 unit = getminor(*dev); in xenconsopen()
484 instance = xcp->unit; in xenconsclose()
550 instance = xcp->unit; in xencons_rxint()
775 int instance = xcp->unit; in xcasync_start()
904 int instance = xcp->unit; in xcasync_ioctl()
1242 xcasync_reioctl(void *unit) in xcasync_reioctl() argument
1244 int instance = (uintptr_t)unit; in xcasync_reioctl()
1437 int instance = xcp->unit; in xcasync_flowcontrol_sw_output()
[all …]
/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/grub/grub-0.97/stage2/
H A Dfreebsd.h62 #define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \ argument
64 ((controller) << B_CONTROLLERSHIFT) | ((unit) << B_UNITSHIFT) | \
/illumos-gate/usr/src/cmd/mandoc/
H A Dout.h44 enum roffscale unit; member
61 do { (p)->unit = SCALE_EN; \
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dfsm.c837 if (cilen > peer_mru[f->unit] - HEADERLEN)
838 cilen = peer_mru[f->unit] - HEADERLEN;
840 cilen = peer_mru[f->unit] - HEADERLEN;
880 if (datalen > peer_mru[f->unit] - HEADERLEN)
881 datalen = peer_mru[f->unit] - HEADERLEN;
889 output(f->unit, outpacket_buf, outlen + PPP_HDRLEN);
898 fsm_setpeermru(unit, mru) in fsm_setpeermru() argument
899 int unit; in fsm_setpeermru()
902 if (unit >= NUM_PPP) {
905 peer_mru[unit] = mru;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/ents/frudr/
H A Dfru_SC_data.info287 name:/frutree/chassis/FT0/fan-tray/F0/fan-unit
294 name:/frutree/chassis/FT0/fan-tray/F1/fan-unit
301 name:/frutree/chassis/FT1/fan-tray/F0/fan-unit
308 name:/frutree/chassis/FT2/fan-tray/F0/fan-unit
317 REFPROP _fru_parent name:/frutree/chassis/FT0/fan-tray/F0/fan-unit
319 REFPROP _fru_parent name:/frutree/chassis/FT0/fan-tray/F1/fan-unit
321 REFPROP _fru_parent name:/frutree/chassis/FT1/fan-tray/F0/fan-unit
323 REFPROP _fru_parent name:/frutree/chassis/FT2/fan-tray/F0/fan-unit
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dmktest.sh271 typeset i n p op unit sep output=1 error=1 exitcode=1
285 then unit=$1
294 then print -u$stdout -r -f $'\t'"$op"$'\t'"$unit"
316 then "$unit" "$@"
430 then print -u$stdout -r -f $'"'"$unit"$'"'
582 Usage: \\\$SHELL $PREFIX${UNIT[0]}.sh [ --accept ] [ unit ... ]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frudr/
H A Dfru_FT6.info89 PROP SlotType string r 0 "fan-unit"
93 PROP SlotType string r 0 "fan-unit"
103 PROP SlotType string r 0 "fan-unit"
107 PROP SlotType string r 0 "fan-unit"

1234567891011