Searched defs:enable (Results 1 - 25 of 130) sorted by relevance

123456

/illumos-gate/usr/src/cmd/ypcmd/
H A Dypstart.sh30 enable () { function
31 /usr/sbin/svcadm enable -t $1
32 [ $? = 0 ] || echo "ypstart: unable to enable $1"
35 echo "ypstart: unable to enable $1; in maintenance"
58 enable svc:/network/nis/server:default && echo " ypserv\c"
80 enable svc:/network/nis/client:default && echo " ypbind\c"
91 enable svc:/network/nis/xfr:default && echo " ypxfrd\c"
92 enable svc:/network/nis/passwd:default &&
96 enable svc:/network/nis/update:default &&
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.dofmax.ksh28 enable() function
48 echo "failed to enable $prog: `cat $err`"
61 while enable $upper ; do
74 if enable $guess ; then
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisena.c97 ** enable() - ENABLE PRINTER
101 enable (register PSTATUS *pps) function
/illumos-gate/usr/src/cmd/sdpadm/
H A Dsdpadm.c91 int c, enable, ret = E_SUCCESS; local
119 if (strcasecmp(argv[1], "enable") == 0) {
120 enable = 1;
122 enable = 0;
124 enable = -1;
133 stri.ic_dp = (char *)&enable;
137 enable ? "Enabled" : "Disabled");
141 if (enable == 0) {
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_misc.c201 ipmi_chassis_identify(ipmi_handle_t *ihp, boolean_t enable) argument
206 if (enable) {
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231_apcdma.c206 uint32_t enable; local
213 enable = APC_PDMA_GO;
216 enable = APC_CDMA_GO;
240 OR_SET_WORD(handle, &APC_DMACSR, enable);
298 /* now clear the enable and abort bits */
H A Daudio_4231_eb2dma.c256 uint32_t enable; local
260 enable = EB2_PLAY_ENABLE;
263 enable = EB2_REC_ENABLE;
286 /* put into chaining mode, enable byte counts */
297 OR_SET_WORD(handle, &regs->eb2csr, enable);
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_osdep.c65 phy_spd_state(struct e1000_hw *hw, boolean_t enable) argument
93 if (enable)
94 reg |= spd_bit; /* enable: set the spd bit */
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_smf.c34 static void enable(char *svc_names[], md_error_t *ep);
70 enable(svm_core_svcs, ep);
75 enable(svm_diskset_svcs, ep);
80 enable(svm_mn_diskset_svcs, ep);
220 enable(char *svc_names[], md_error_t *ep) function
/illumos-gate/usr/src/cmd/rcap/rcapadm/
H A Drcapadm.c54 "# enable/disable rcapd\n"
69 static int enable = -1; variable
208 enable = 1;
213 enable = 0;
271 * disable/enable before reading configuration from the repository
281 if (enable > 0) {
284 die(gettext("cannot enable service: %s\n"),
/illumos-gate/usr/src/uts/common/io/ib/clients/sdp/
H A Dsdpddi.c176 int32_t enable = 0; local
185 bcopy(mp->b_cont->b_rptr, &enable, sizeof (int));
187 send_enable = enable;
217 enable = 0;
222 FKIOCTL, CRED(), (int *)&enable);
226 FKIOCTL, CRED(), (int *)&enable);
233 enable = 0;
238 bcopy(&enable, mp->b_cont->b_rptr, sizeof (int));
/illumos-gate/usr/src/uts/common/sys/
H A Dhotkey_drv.h96 boolean_t enable; member in struct:vendor_hotkey_drv
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c66 enable(),
367 enable (printer);
382 enable (printer);
536 ** enable() - ENABLE THE PRINTER
539 static void enable (printer) function
551 case MERRDEST: /* someone may have snuck in an enable */
/illumos-gate/usr/src/lib/librstp/common/
H A Dstp_in.c198 _stp_in_enable_port_on_stpm (STPM_T* stpm, int port_index, Bool enable) argument
204 if (port->portEnabled == enable) {/* nothing to do :) */
209 if (enable) { /* clear port statistics */
218 port->port_name, enable ? "enable" : "disable",
223 port->adminEnable = enable;
481 STP_IN_enable_port (int port_index, Bool enable) argument
486 if (! enable) {
497 _stp_in_enable_port_on_stpm (stpm, port_index, enable);
789 stp_trace ("%s", "cannot enable");
[all...]
/illumos-gate/usr/src/lib/libcpc/common/
H A Dobsoleted.c146 cpc_count_usr_events(int enable) argument
148 return (syscall(SYS_cpc, CPC_USR_EVENTS, -1, enable, 0));
152 cpc_count_sys_events(int enable) argument
154 return (syscall(SYS_cpc, CPC_SYS_EVENTS, -1, enable, 0));
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DConsumer.java73 * Subsequent calls to set options, compile DTrace programs, enable
86 * @see #enable()
107 * to {@link #enable(Program program) enable()}
136 * to {@link #enable(Program program) enable()}
157 * enable()} with no argument to enable everything this consumer has
167 * @see #enable(Program program)
169 public void enable() throw method in interface:Consumer
201 public void enable(Program program) throws DTraceException; method in interface:Consumer
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclsensors.c534 sensor_event_enable_set(uint8_t sensor_no, boolean_t enable) argument
543 if (enable) {
687 /* enable sensor-event */
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c262 rctladm_modify_action(const char *rctl_name, uint_t enable, uint_t action, argument
282 if (enable) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_set.c41 opt_set_mflags(int enable, uint_t bits, const char *arg) argument
43 mdb.m_flags = (mdb.m_flags & ~bits) | (bits & -enable);
49 opt_set_tflags(int enable, uint_t bits, const char *arg) argument
51 mdb.m_tgtflags = (mdb.m_tgtflags & ~bits) | (bits & -enable);
56 opt_pager(int enable, uint_t bits, const char *arg) argument
58 if (enable)
63 return (opt_set_mflags(enable, bits, arg));
67 opt_adb(int enable, uint_t bits, const char *arg) argument
69 if (enable)
74 (void) opt_pager(1 - enable, MDB_FL_PAGE
80 opt_armemlim(int enable, uint_t bits, const char *arg) argument
95 opt_arstrlim(int enable, uint_t bits, const char *arg) argument
110 opt_exec_mode(int enable, uint_t bits, const char *arg) argument
127 opt_fork_mode(int enable, uint_t bits, const char *arg) argument
144 opt_set_term(int enable, uint_t bits, const char *arg) argument
153 mdb_set_options(const char *s, int enable) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dmap.c33 * Report change in input enable status caused by evaluating
37 Dbg_map_pass(Lm_list *lml, Boolean enable, const char *file, argument
45 fmt = enable ? MSG_INTL(MSG_MAP_PASS) : MSG_INTL(MSG_MAP_NOPASS);
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_main.c241 * check/disable or re-enable UFS logging
244 cpr_log_status(int enable, int *svstat, vnode_t *vp) argument
258 if (enable == 0) {
279 able = "enable";
284 * disable or re-enable logging when the saved status is 1
308 if (enable)
313 * enable/disable UFS logging on filesystems containing cpr_default_path
324 cpr_ufs_logging(int enable) argument
344 cpr_log_status(enable, &def_status, vp);
363 cpr_log_status(enable,
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_init.h85 u32 en_mask; /* Mask to enable parity attentions */
197 static __inline void ecore_set_mcp_parity(struct _lm_device_t *pdev, u8 enable) argument
205 if (enable)
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Despi.c129 u32 enable, pl_intr = t1_read_reg_4(espi->adapter, A_PL_ENABLE); local
132 * Cannot enable ESPI interrupts on T1B because HW asserts the
138 enable = t1_is_T1B(espi->adapter) ? 0 : ESPI_INTR_MASK;
139 t1_write_reg_4(espi->adapter, A_ESPI_INTR_ENABLE, enable);
268 /* Disable ESPI training. MACs that can handle it enable it below. */
H A Dtp.c386 static void set_csum_offload(struct petp *tp, u32 csum_bit, int enable) argument
390 if (enable)
397 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) argument
399 set_csum_offload(tp, F_IP_CSUM, enable);
402 void t1_tp_set_udp_checksum_offload(struct petp *tp, int enable) argument
404 set_csum_offload(tp, F_UDP_CSUM, enable);
407 void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) argument
409 set_csum_offload(tp, F_TCP_CSUM, enable);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dniu.c626 unm_niu_xg_set_tx_flow_ctl(struct unm_adapter_s *adapter, int enable) argument
636 reg.xg0_mask = !enable;
638 reg.xg1_mask = !enable;
646 unm_niu_gbe_set_tx_flow_ctl(struct unm_adapter_s *adapter, int enable) argument
657 reg.gb0_mask = !enable;
660 reg.gb1_mask = !enable;
663 reg.gb2_mask = !enable;
667 reg.gb3_mask = !enable;
676 unm_niu_gbe_set_rx_flow_ctl(struct unm_adapter_s *adapter, int enable) argument
686 reg.rx_flowctl = enable;
[all...]

Completed in 89 milliseconds

123456