Home
last modified time | relevance | path

Searched refs:unit (Results 26 – 50 of 266) sorted by relevance

1234567891011

/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-nvmetest.p5m31 file path=opt/nvme-tests/bin/unit mode=0555
34 file path=opt/nvme-tests/runfiles/unit.run mode=0444
74 dir path=opt/nvme-tests/tests/unit
75 file path=opt/nvme-tests/tests/unit/feature.32 mode=0555
76 file path=opt/nvme-tests/tests/unit/feature.64 mode=0555
79 file path=opt/nvme-tests/tests/unit/format.32 mode=0555
80 file path=opt/nvme-tests/tests/unit/format.64 mode=0555
83 file path=opt/nvme-tests/tests/unit/logs.32 mode=0555
84 file path=opt/nvme-tests/tests/unit/logs.64 mode=0555
87 file path=opt/nvme-tests/tests/unit/vuc.32 mode=0555
[all …]
/illumos-gate/usr/src/cmd/prctl/
H A Dutils.h118 scale_t *scale, char *unit, int flags);
152 scale_t *scale, char *unit, int flags);
201 scale_t *scale, char *unit, int flags);
210 scale_t *scale, char *unit, int flags);
224 scale_t *scale, char *unit, int flags);
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c241 rlim64_t unit; in limit_value() local
275 unit = 1024; in limit_value()
280 unit = 60; in limit_value()
282 unit = 1024 * 1024; in limit_value()
287 unit = 60 * 60; in limit_value()
294 case RLIMIT_CPU: unit = 1; break; in limit_value()
295 case RLIMIT_FSIZE: unit = 512; break; in limit_value()
296 case RLIMIT_DATA: unit = 1024; break; in limit_value()
298 case RLIMIT_CORE: unit = 512; break; in limit_value()
299 case RLIMIT_NOFILE: unit = 1; break; in limit_value()
[all …]
/illumos-gate/usr/src/cmd/units/
H A Dunits.c23 struct unit struct
83 int convr(struct unit *up);
85 void units(struct unit *up);
92 struct unit u1, u2; in main()
151 units(struct unit *up) in units()
153 struct unit *p; in units()
191 convr(struct unit *up) in convr()
193 struct unit *p; in convr()
244 struct unit *p; in lookup()
340 units((struct unit *)tp); in init()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c1385 int unit; in output()
1836 int unit; in ppp_send_muxoption()
1858 int unit; in ppp_recv_muxoption()
1886 int unit; in ppp_send_config()
1930 int unit; in ppp_set_xaccm()
1952 int unit; in ppp_recv_config()
2054 int unit; in ccp_test()
2206 int unit; in ccp_fatal_error()
2600 int unit; in sifproxyarp()
2651 int unit; in cifproxyarp()
[all …]
H A Dmultilink.c50 static int owns_unit __P((TDB_DATA pid, int unit));
89 int unit, pppd_pid; in mp_join_bundle() local
148 unit = -1; in mp_join_bundle()
158 parse_num(rec.dptr, "IFNAME=ppp", &unit); in mp_join_bundle()
162 || !owns_unit(pid, unit)) in mp_join_bundle()
163 unit = -1; in mp_join_bundle()
169 if (unit >= 0) { in mp_join_bundle()
171 if (bundle_attach(unit)) { in mp_join_bundle()
215 owns_unit(key, unit) in owns_unit() argument
217 int unit;
[all …]
H A Dpppd.h354 void (*init) __P((int unit));
358 void (*protrej) __P((int unit));
360 void (*lowerup) __P((int unit));
362 void (*lowerdown) __P((int unit));
364 void (*open) __P((int unit));
366 void (*close) __P((int unit, char *reason));
380 int (*demand_conf) __P((int unit));
384 void (*print_stat) __P((int unit, FILE *strptr));
565 extern void ppp_send_fcs __P((int unit, int fcstype));
636 extern int sif6up __P((int unit));
[all …]
/illumos-gate/usr/src/cmd/flowstat/
H A Dflowstat.c230 *unit = oarg[0]; in flowstat_unit()
246 if (unit == '\0') { in map_to_units()
254 unit = '\0'; in map_to_units()
257 unit = 'K'; in map_to_units()
260 unit = 'M'; in map_to_units()
263 unit = 'G'; in map_to_units()
266 unit = 'T'; in map_to_units()
271 unit = 'P'; in map_to_units()
275 switch (unit) { in map_to_units()
278 unit = '\0'; in map_to_units()
[all …]
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c1150 if (unit == 0) { in fd_attach_check_drive()
1484 int unit; in fd_open() local
1889 int unit, dkunit; in fd_ioctl() local
2248 fdeject(fdc, unit); in fd_ioctl()
3102 uint_t unit; in fdstart() local
3606 int to, unit; in fdexec() local
3615 unit = csb->csb_unit; in fdexec()
5110 if (unit == 0) { in fdselect()
6009 int unit; in fd_media_watch() local
6064 int unit; in fd_check_media() local
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_mem.c151 int unit; in sbd_pre_attach_mem() local
161 if (unit == -1) { in sbd_pre_attach_mem()
277 int unit; in sbd_post_attach_mem() local
285 if (unit == -1) { in sbd_post_attach_mem()
371 int unit; in sbd_pre_detach_mem() local
387 if (unit == -1) { in sbd_pre_detach_mem()
431 int unit; in sbd_post_detach_mem() local
2236 int err, unit; in sbd_attach_mem() local
2289 if (unit < 0) { in sbd_attach_mem()
2535 int unit) in sbd_detach_memory() argument
[all …]
H A Dsbd.c850 int n, unit; in sbd_dev_configure() local
927 int n, unit; in sbd_dev_release() local
1376 if ((unit > MAX_CPU_UNITS_PER_BOARD) || (unit < 0)) { in sbd_dev2devset()
1394 if ((unit > MAX_MEM_UNITS_PER_BOARD) || (unit < 0)) { in sbd_dev2devset()
1407 if ((unit > MAX_IO_UNITS_PER_BOARD) || (unit < 0)) { in sbd_dev2devset()
2184 int unit; in sbd_setup_devlists() local
3097 int unit; in sbd_post_attach_devlist() local
3454 int unit; in sbd_post_release_devlist() local
3505 int unit; in sbd_release_done() local
3737 int unit; in sbd_post_detach_devlist() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c52 int unit; member
67 int unit, int hdrlen, int mru, int debug));
175 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug) in z_decomp_init() argument
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: ""));
H A Dbsd-comp.c88 u_char unit; member
132 int unit, int hdrlen, int mru, int debug));
380 int opt_len, unit, hdrlen, mru, debug, decomp;
402 db->unit = unit;
417 int opt_len, unit, hdrlen, mru, debug;
420 unit, hdrlen, mru, debug, 1);
581 db->unit, seq, db->seqno - 1);
624 db->unit, incode, oldcode);
664 db->unit, incode, finchar);
678 db->unit, codelen, incode, max_ent);
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c107 int err, i, unit; local
121 unit = op->iplo_unit;
122 if (iph->iph_unit != unit) {
160 ifs->ifs_ipht_nomem[unit]++;
174 if (ifs->ifs_ipf_htables[unit] != NULL)
176 ifs->ifs_ipf_htables[unit] = iph;
178 ifs->ifs_ipf_nhtables[unit]++;
256 iphtable_t *fr_findhtable(unit, name, ifs) in fr_findhtable() argument
257 int unit; in fr_findhtable()
767 int unit;
[all …]
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c191 int unit = ddi_get_instance(devi); in vgatext_attach() local
207 softc = getsoftc(unit); in vgatext_attach()
216 if (ddi_soft_state_zalloc(vgatext_softc_head, unit) != DDI_SUCCESS) { in vgatext_attach()
219 softc = getsoftc(unit); in vgatext_attach()
222 (void) ddi_soft_state_free(vgatext_softc_head, unit); in vgatext_attach()
228 (void) ddi_soft_state_free(vgatext_softc_head, unit); in vgatext_attach()
236 (void) snprintf(name, sizeof (name), "text-%d", unit); in vgatext_attach()
238 INST2NODE1(unit), DDI_NT_DISPLAY, 0); in vgatext_attach()
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c1257 for (unit = 0; unit < uacp->usb_ac_max_unit; unit++) { in usb_ac_setup_connections()
1261 unit, units[unit].acu_type); in usb_ac_setup_connections()
1264 uacp->usb_ac_unit_type[unit] = units[unit].acu_type; in usb_ac_setup_connections()
1719 unit += 2; in usb_ac_alloc_unit()
1740 uint_t unit; in usb_ac_free_all_units() local
1749 for (unit = 0; unit < uacp->usb_ac_max_unit; unit++) { in usb_ac_free_all_units()
1978 unit = usb_ac_traverse_connections(uacp, unit, in usb_ac_set_selector()
2110 for (unit = 1; unit < uacp->usb_ac_max_unit; unit++) { in usb_ac_traverse_all_units()
2143 unit = id; in usb_ac_traverse_all_units()
2173 for (unit = 1; unit < uacp->usb_ac_max_unit; unit++) { in usb_ac_set_monitor_gain_control()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Divrs_drv.c432 int unit; in ivhd_probe() local
437 unit = device_get_unit(dev); in ivhd_probe()
438 KASSERT((unit < ivhd_count), in ivhd_probe()
439 ("ivhd unit %d > count %d", unit, ivhd_count)); in ivhd_probe()
440 ivhd = ivhd_hdrs[unit]; in ivhd_probe()
635 int status, unit; in ivhd_attach() local
637 unit = device_get_unit(dev); in ivhd_attach()
638 KASSERT((unit < ivhd_count), in ivhd_attach()
639 ("ivhd unit %d > count %d", unit, ivhd_count)); in ivhd_attach()
641 KASSERT((ivhd_devs[unit] == dev), in ivhd_attach()
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm704 my $unit;
747 ($num, $modifier, $unit) =
752 if (defined($unit)) {
755 'unit "%s"'), $unit]);
803 ($num, $modifier, $unit) =
809 if (defined($unit)) {
814 $unit]);
1579 my ($num, $modifier, $unit);
1609 if (defined($unit)) {
1610 $unit = lc($unit);
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c71 dst->unit = SCALE_CM; in a2roffsu()
74 dst->unit = SCALE_IN; in a2roffsu()
77 dst->unit = SCALE_FS; in a2roffsu()
80 dst->unit = SCALE_MM; in a2roffsu()
83 dst->unit = SCALE_EM; in a2roffsu()
86 dst->unit = SCALE_EN; in a2roffsu()
89 dst->unit = SCALE_PC; in a2roffsu()
92 dst->unit = SCALE_PT; in a2roffsu()
95 dst->unit = SCALE_BU; in a2roffsu()
98 dst->unit = SCALE_VS; in a2roffsu()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dulimit.c79 int label, unit, nosupport; in b_ulimit() local
132 unit = shtab_units[tp->type]; in b_ulimit()
144 i *= unit; in b_ulimit()
149 i *= unit; in b_ulimit()
207 i += (unit-1); in b_ulimit()
208 sfprintf(sfstdout,"%I*d\n",sizeof(i),i/unit); in b_ulimit()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c98 uint32_t unit; member
505 db->unit = unit; in bsd_init()
528 unit, hdrlen, 0, debug, 0)); in bsd_comp_init()
766 db->unit); in bsd_compress()
996 db->unit); in bsd_incomp()
1163 db->unit); in bsd_decompress()
1199 db->unit); in bsd_decompress()
1267 db->unit); in bsd_decompress()
1337 db->unit, in bsd_decompress()
1417 db->unit); in bsd_decompress()
[all …]
H A Ddeflate.c62 int unit; member
83 int unit, int hdrlen, int debug);
85 int unit, int hdrlen, int mru, int debug);
271 state->unit = unit; in z_comp_init()
445 state->unit, r, in z_compress()
589 "%d (%s)\n", state->unit, r, in z_incomp()
722 state->unit = unit; in z_decomp_init()
795 state->unit); in z_decompress()
832 state->unit); in z_decompress()
852 state->unit, seq, state->seqno - 1); in z_decompress()
[all …]
/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()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfds.c168 int unit; in b_fds() local
190 unit = 1; in b_fds()
199 unit = opt_info.num; in b_fds()
215 if (unit == 1) in b_fds()
217 else if (fstat(unit, &st) || !(sp = sfnew(NiL, NiL, SF_UNBOUND, unit, SF_WRITE))) in b_fds()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dremove_hashnode.c18 int remove_hashnode(unit, name, node, iocfunc) in remove_hashnode() argument
19 int unit; in remove_hashnode()
33 op.iplo_unit = unit;

1234567891011