Home
last modified time | relevance | path

Searched refs:cmd (Results 101 – 125 of 3599) sorted by relevance

12345678910>>...144

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ioctl.c146 switch (cmd) { in wifi_cfg_essid()
177 switch (cmd) { in wifi_cfg_bssid()
216 switch (cmd) { in wifi_cfg_nodename()
271 switch (cmd) { in wifi_cfg_phy()
305 switch (cmd) { in wifi_cfg_wepkey()
349 switch (cmd) { in wifi_cfg_keyid()
394 switch (cmd) { in wifi_cfg_authmode()
428 switch (cmd) { in wifi_cfg_encrypt()
462 switch (cmd) { in wifi_cfg_bsstype()
499 switch (cmd) { in wifi_cfg_createibss()
[all …]
/illumos-gate/usr/src/cmd/idmap/nltest/
H A Dnltest.c65 struct commands *cmd; in lookupcmd() local
67 for (cmd = commands; cmd->name; cmd++) { in lookupcmd()
68 if (strcasecmp(cmd->name, name) == 0) in lookupcmd()
69 return (cmd); in lookupcmd()
249 struct commands *cmd; in main() local
301 for (cmd = commands; cmd->name; cmd++) { in main()
302 if (!strcasecmp(optname, cmd->name)) { in main()
307 if (optval == NULL && cmd->optreq > 0) { in main()
328 cmd = lookupcmd(option_cmd); in main()
329 if (cmd == NULL) in main()
[all …]
/illumos-gate/usr/src/test/smbclient-tests/tests/sharectl/
H A Dtp_sharectl_006.ksh62 cmd="sharectl set -p section=$SERVER -p password=\$pass smbfs"
63 cti_execute_cmd $cmd
72 cmd="sharectl set -p section=$SERVER -p user=$TUSER smbfs"
73 cti_execute_cmd $cmd
82 cmd="sharectl set -p section=$SERVER -p domain=mydomain smbfs"
83 cti_execute_cmd $cmd
92 cmd="smbutil view //$server"
93 cti_execute -i '' FAIL $cmd
102 cmd="mount -F smbfs //$server/public $TMNT"
103 cti_execute -i '' FAIL $cmd
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/mmap/
H A Dtp_mmap_001.ksh72 cmd="mount -F smbfs //$TUSER:$TPASS@$server/public $mnt_point"
73 cti_execute -i '' FAIL $cmd
83 cmd="mkfile_mmap -n $size -f ${testdir}/${test_file}"
84 cti_execute FAIL $cmd
86 cti_fail "FAIL: $cmd"
89 cti_report "PASS: $cmd"
94 cmd="cp_mmap -t c -f ${testdir}/${test_file} ${mnt_point}/${test_file}"
95 cti_execute FAIL $cmd
97 cti_fail "FAIL: $cmd"
100 cti_report "PASS: $cmd"
H A Dtp_mmap_002.ksh72 cmd="mount -F smbfs //$TUSER:$TPASS@$server/public $mnt_point"
73 cti_execute -i '' FAIL $cmd
83 cmd="mkfile_mmap -n $size -f ${testdir}/${test_file}"
84 cti_execute FAIL $cmd
86 cti_fail "FAIL: $cmd"
89 cti_report "PASS: $cmd"
94 cmd="cp_mmap -t d -f ${testdir}/${test_file} ${mnt_point}/${test_file}"
95 cti_execute FAIL $cmd
97 cti_fail "FAIL: $cmd"
100 cti_report "PASS: $cmd"
H A Dtp_mmap_003.ksh72 cmd="mount -F smbfs //$TUSER:$TPASS@$server/public $mnt_point"
73 cti_execute -i '' FAIL $cmd
83 cmd="mkfile_mmap -n $size -f ${mnt_point}/${test_file}"
84 cti_execute FAIL $cmd
86 cti_fail "FAIL: $cmd"
89 cti_report "PASS: $cmd"
94 cmd="cp_mmap -t c -f ${mnt_point}/${test_file} ${testdir}/${test_file}"
95 cti_execute FAIL $cmd
97 cti_fail "FAIL: $cmd"
100 cti_report "PASS: $cmd"
H A Dtp_mmap_004.ksh72 cmd="mount -F smbfs //$TUSER:$TPASS@$server/public $mnt_point"
73 cti_execute -i '' FAIL $cmd
83 cmd="mkfile_mmap -n $size -f ${mnt_point}/${test_file}"
84 cti_execute FAIL $cmd
86 cti_fail "FAIL: $cmd"
89 cti_report "PASS: $cmd"
94 cmd="cp_mmap -t d -f ${mnt_point}/${test_file} ${testdir}/${test_file}"
95 cti_execute FAIL $cmd
97 cti_fail "FAIL: $cmd"
100 cti_report "PASS: $cmd"
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c147 pm_pre_attach(devi, &pc, cmd); in devi_attach()
149 if ((cmd == DDI_RESUME || cmd == DDI_PM_RESUME) && in devi_attach()
165 error = (*fn)(devi, cmd); in devi_attach()
188 ASSERT(cmd == DDI_SUSPEND || cmd == DDI_PM_SUSPEND || in devi_detach()
189 cmd == DDI_DETACH); in devi_detach()
191 if ((cmd == DDI_SUSPEND || cmd == DDI_PM_SUSPEND) && in devi_detach()
204 pm_pre_detach(devi, cmd, &pc); in devi_detach()
209 error = (*fn)(devi, cmd); in devi_detach()
226 as.cmd = cmd; in i_attach_ctlop()
241 ds.cmd = cmd; in i_detach_ctlop()
[all …]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot.sh151 if [ "$cmd" = "update" ]; then
206 if [ "$cmd" = "enable" -o "$cmd" = "disable" ]; then
321 if [ "$cmd" = "enable" ]; then
378 if [ "$cmd" = "none" ]; then
379 cmd=$1
474 cmd=none
492 if [ "$cmd" = "none" ]; then
552 if [ "$cmd" = "enable" -o "$cmd" = "disable" -o "$cmd" = "update" ]; then
601 if [ "$cmd" = "enable" -o "$cmd" = "disable" ]; then
608 configure_mpxio $cmd $d
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Duadmin.c145 switch (cmd) { in kadmin()
172 if (cmd == A_SHUTDOWN || cmd == A_REBOOT || cmd == A_REMOUNT || in kadmin()
173 cmd == A_CONFIG) { in kadmin()
190 switch (cmd) { in kadmin()
273 mdpreboot(cmd, fcn, buf); in kadmin()
275 mdpreboot(cmd, fcn, mdep); in kadmin()
305 mdboot(cmd, fcn, buf, invoke_cb); in kadmin()
307 mdboot(cmd, fcn, mdep, invoke_cb); in kadmin()
431 if (cmd == A_SWAPCTL) { in uadmin()
446 (cmd == A_SHUTDOWN || cmd == A_REBOOT || cmd == A_DUMP || in uadmin()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpopen.c71 strcpy(cmd,argcmd);
74 for(n = 0, s = cmd;; )
96 cmd = argv[0];
97 for(s = cmd+strlen(cmd)-1; s >= cmd; --s)
103 for(s = cmd+strlen(cmd)-1; s >= cmd+2; --s)
107 if(cmd[0] == '/' ||
108 (cmd[0] == '.' && cmd[1] == '/') ||
109 (cmd[0] == '.' && cmd[1] == '.' && cmd[2] == '/') )
110 { if(access(cmd,X_OK) != 0)
112 else execv(cmd,argv);
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_cmdnam.c50 m_cmdname(cmd) in m_cmdname() argument
51 char *cmd; in m_cmdname()
58 for (ap = cmd; *ap; ap++)
62 cmd = basename(cmd);
65 if ((ap = strrchr(cmd, '.')) != NULL)
68 return (cmd);
70 return (basename(cmd));
/illumos-gate/usr/src/uts/common/sys/sata/impl/
H A Dsata.h560 (((cmd) == SCMD_READ) || ((cmd) == SCMD_WRITE) || \
561 ((cmd) == SCMD_READ_G1) || ((cmd) == SCMD_WRITE_G1) || \
562 ((cmd) == SCMD_READ_G4) || ((cmd) == SCMD_WRITE_G4) || \
563 ((cmd) == SCMD_READ_G5) || ((cmd) == SCMD_WRITE_G5) || \
564 ((cmd) == SCMD_VERIFY) || ((cmd) == SCMD_VERIFY_G4) || \
565 ((cmd) == SCMD_VERIFY_G5) || ((cmd) == 0x7f) /* VERIFY(32) */|| \
566 ((cmd) == SCMD_SYNCHRONIZE_CACHE) || ((cmd) == SCMD_SPACE_G4) || \
571 ((cmd) == SCMD_READ_LONG) || ((cmd) == SCMD_SVC_ACTION_IN_G4) || \
573 ((cmd) == 0x41) || ((cmd) == 0x93) || /* WRITE SAME */ \
574 ((cmd) == 0x52) || ((cmd) == 0x50) || /* XDREAD & XDWRITE */ \
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c259 char *cmd[16]; in pkgopenserver_i() local
303 n.cmd = PKG_NOP; in pkgopenserver_i()
361 cmd[args++] = NULL; in pkgopenserver_i()
475 pkgcmd_t cmd; in pkgcloseserver() local
476 cmd.cmd = PKG_EXIT; in pkgcloseserver()
477 (void) pkgcmd(server, &cmd, sizeof (cmd), NULL, NULL, NULL); in pkgcloseserver()
491 da.data_ptr = cmd; in pkgcmd()
499 if (((pkgcmd_t *)cmd)->cmd == PKG_EXIT && errno == EINTR) in pkgcmd()
583 pkgcmd_t cmd; in pkgsync() local
597 cmd.cmd = force_quit ? PKG_EXIT : PKG_DUMP; in pkgsync()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Damdvi_hw.c243 ctrl->cmd.base = vtophys(softc->cmd) / PAGE_SIZE; in amdvi_init_cmd()
322 cmd->addr = data; in amdvi_cmd_cmp()
336 cmd->word0 = devid; in amdvi_cmd_inv_dte()
359 cmd->addr = addr; in amdvi_cmd_inv_iommu_pages()
390 cmd->word0 = devid; in amdvi_cmd_inv_iotlb()
391 cmd->word1 = qlen; in amdvi_cmd_inv_iotlb()
408 cmd->word0 = devid; in amdvi_cmd_inv_intr_map()
509 cmd = (struct amdvi_cmd *)((uint8_t *)softc->cmd + off); in amdvi_dump_cmds()
512 cmd->word0, cmd->word1, cmd->addr); in amdvi_dump_cmds()
659 cmd->opcode, cmd->word0, cmd->word1, cmd->addr); in amdvi_decode_evt()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c543 ASSERT(cmd != NULL); in hci1394_q_at()
562 cmd->qc_node.tln_addr = cmd; in hci1394_q_at()
628 ASSERT(cmd != NULL); in hci1394_q_at_with_data()
648 cmd->qc_node.tln_addr = cmd; in hci1394_q_at_with_data()
711 ASSERT(cmd != NULL); in hci1394_q_at_with_mblk()
731 cmd->qc_node.tln_addr = cmd; in hci1394_q_at_with_mblk()
792 ASSERT(cmd != NULL); in hci1394_q_at_next()
807 *cmd = NULL; in hci1394_q_at_next()
829 *cmd = NULL; in hci1394_q_at_next()
876 ASSERT(cmd != NULL); in hci1394_q_at_write_OMI()
[all …]
/illumos-gate/usr/src/cmd/volcheck/
H A DMakefile32 RMVOLGMR_SRCS = $(RMVOLMGR_OBJS:%.o=$(SRC)/cmd/rmvolmgr/%.c)
35 include $(SRC)/cmd/Makefile.cmd
36 include $(SRC)/cmd/hal/Makefile.hal
43 CPPFLAGS += -I$(SRC)/cmd/rmvolmgr
65 rmm_common.o: $(SRC)/cmd/rmvolmgr/rmm_common.c $(SRC)/cmd/rmvolmgr/rmm_common.h
66 $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/rmm_common.c
69 vold.o: $(SRC)/cmd/rmvolmgr/vold.c $(SRC)/cmd/rmvolmgr/vold.h
70 $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/vold.c
/illumos-gate/usr/src/cmd/volrmmount/
H A DMakefile32 RMVOLGMR_SRCS = $(RMVOLMGR_OBJS:%.o=$(SRC)/cmd/rmvolmgr/%.c)
35 include $(SRC)/cmd/Makefile.cmd
36 include $(SRC)/cmd/hal/Makefile.hal
43 CPPFLAGS += -I$(SRC)/cmd/rmvolmgr
65 rmm_common.o: $(SRC)/cmd/rmvolmgr/rmm_common.c $(SRC)/cmd/rmvolmgr/rmm_common.h
66 $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/rmm_common.c
69 vold.o: $(SRC)/cmd/rmvolmgr/vold.c $(SRC)/cmd/rmvolmgr/vold.h
70 $(COMPILE.c) -o $@ $(SRC)/cmd/rmvolmgr/vold.c
/illumos-gate/usr/src/test/smbclient-tests/tests/smbutil/
H A Dtp_smbutil_002.ksh53 cmd="smbutil status $server"
54 cti_execute_cmd $cmd
56 cti_unsupported "SKIP: $cmd"
59 cti_report "PASS: $cmd"
72 cmd="smbutil lookup $nbname"
73 cti_execute_cmd $cmd
75 cti_fail "FAIL: $cmd"
78 cti_report "PASS: $cmd"
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_attr.c244 switch (cmd) { in rfs4_fattr4_supported_attrs()
286 switch (cmd) { in rfs4_fattr4_type()
393 switch (cmd) { in rfs4_fattr4_fh_expire_type()
462 switch (cmd) { in rfs4_fattr4_change()
497 switch (cmd) { in rfs4_fattr4_size()
534 switch (cmd) { in rfs4_fattr4_link_support()
569 switch (cmd) { in rfs4_fattr4_symlink_support()
601 switch (cmd) { in rfs4_fattr4_named_attr()
675 switch (cmd) { in rfs4_fattr4_fsid()
731 switch (cmd) { in rfs4_fattr4_unique_handles()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c373 switch (cmd) { in fp_attach()
417 switch (cmd) { in fp_detach()
3128 rval = cmd->cmd_transport(fca_handle, &cmd->cmd_pkt); in fp_sendcmd()
3249 fp_enque_cmd(cmd->cmd_port, cmd); in fp_retry_cmd()
3318 rval = fp_sendcmd(cmd->cmd_port, cmd, in fp_handle_reject()
6031 ASSERT(cmd->cmd_job && cmd->cmd_job->job_counter); in fp_plogi_intr()
6469 fp_adisc_init(cmd, cmd->cmd_job); in fp_plogi_intr()
6492 fp_logo_init(pd, cmd, cmd->cmd_job); in fp_plogi_intr()
6531 ASSERT(cmd->cmd_job && cmd->cmd_job->job_counter); in fp_adisc_intr()
6715 fp_logo_init(pd, cmd, cmd->cmd_job); in fp_adisc_intr()
[all …]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsemsys.c67 semctl(int semid, int semnum, int cmd, ...) in semctl() argument
72 switch (cmd) { in semctl()
74 va_start(ap, cmd); in semctl()
80 va_start(ap, cmd); in semctl()
86 va_start(ap, cmd); in semctl()
99 return (syscall(SYS_semsys, SEMCTL, semid, semnum, cmd, arg)); in semctl()
103 semctl64(int semid, int semnum, int cmd, ...) in semctl64() argument
108 if (cmd != IPC_SET64 && cmd != IPC_STAT64) { in semctl64()
113 va_start(ap, cmd); in semctl64()
117 return (syscall(SYS_semsys, SEMCTL, semid, semnum, cmd, buf)); in semctl64()
/illumos-gate/usr/src/cmd/sed/
H A Dcompile.c180 cmd->startline = cmd->nonsel = 0; in compile_stream()
202 cmd->a2 = 0; in compile_stream()
204 cmd->a1 = cmd->a2 = 0; in compile_stream()
209 cmd->code = *p; in compile_stream()
222 cmd->nonsel = 1; in compile_stream()
228 stack = cmd; in compile_stream()
238 cmd->nonsel = 1; in compile_stream()
268 cmd->code); in compile_stream()
280 cmd->u.fd = -1; in compile_stream()
297 cmd->t = NULL; in compile_stream()
[all …]
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c62 int cmd, fcn; in main() local
78 cmd = atoi(argv[1]); in main()
81 if (cmd != A_REBOOT && cmd != A_SHUTDOWN && cmd != A_DUMP && in main()
82 cmd != A_FREEZE) { in main()
97 switch (cmd) { in main()
168 if (cmd == A_FREEZE) { in main()
195 } else if (cmd == A_FTRACE) { in main()
224 switch (cmd) { in main()
272 if (cmd == A_SHUTDOWN || cmd == A_REBOOT) in main()
286 if ((cmd == A_FREEZE) && in main()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_command_substitution.sh66 ( name="test1a" cmd="builtin cat ; print -- \"\$(cat \"${tmpfile}\" | cat)\" ; true" )
68 ( name="test1b" cmd="builtin cat ; print -- \"\${ cat \"${tmpfile}\" | cat ; }\" ; true" )
70 ( name="test1c" cmd="builtin cat ; print -- \"\$(cat \"${tmpfile}\" ; true)\" ; true" )
72 ( name="test1d" cmd="builtin cat ; print -- \"\${ cat \"${tmpfile}\" ; true ; }\" ; true" )
75 ( name="test1e" cmd="builtin -d cat /bin/cat ; print -- \"\$(cat \"${tmpfile}\" | cat)\" ; true" )
79 …( name="test1g" cmd="builtin -d cat /bin/cat ; print -- \"\$(cat \"${tmpfile}\" ; true)\" ; true" )
248 ( name="test5_a" cmd='exec 5>/dev/null; print $(eval ls -d . 2>&1 1>&5)done' )
250 ( name="test5_b" cmd='exec 5>/dev/null; print $(eval "/bin/printf hello\n" 2>&1 1>&5)done' )
256 ( name="test5_c" cmd='exec 5>/dev/null; print "${ eval ls -d . 2>&1 1>&5 ;}done"' )
258 ( name="test5_d" cmd='exec 5>/dev/null; print "${ eval "/bin/printf hello\n" 2>&1 1>&5 ;}done"' )
[all …]

12345678910>>...144