Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 245) sorted by relevance

12345678910

/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dlog.c308 static int enabled = 0; variable
323 if (! enabled && logging) { in stloginit()
324 enabled = 1; in stloginit()
341 enabled = 0; in stlogterm()
351 if (! enabled) stloginit(); in stlogit2()
353 if (enabled && type) { in stlogit2()
370 if (! enabled) stloginit(); in stlogit()
372 if (enabled && debugfile) { in stlogit()
H A Dapiutil.c304 static int enabled = 0; variable
308 if (!enabled) { in loginit()
309 enabled = 1; in loginit()
312 logit(LOG_DEBUG, "Logging enabled %d enabled", enabled); in loginit()
320 enabled = 0; in logterm()
331 if (enabled) { in logit()
/titanic_41/usr/src/cmd/dtrace/test/tst/common/java_api/
H A Dtst.Enable.ksh.out1 …legalStateException: Not all compiled probes are enabled. Compiled description dtrace:::END not en…
2 java.lang.IllegalStateException: program already enabled
3 java.lang.IllegalStateException: program already enabled
4 …galStateException: Not all compiled probes are enabled. Compiled description syscall:::return not
5 java.lang.IllegalStateException: program already enabled
H A Dtst.StateMachine.ksh.out3 enabled: false
16 enabled: false
22 enabled: false
24 … compiled probes are enabled. Compiled description syscall:::entry { @[execname] = count(); } tick…
27 enabled: true
37 enabled: false
49 enabled: false
54 enabled: false
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_map.c115 dtrace_eprobedesc_t *enabled, *nenabled; in dt_epid_add() local
151 if ((enabled = malloc(sizeof (dtrace_eprobedesc_t))) == NULL) in dt_epid_add()
154 bzero(enabled, sizeof (dtrace_eprobedesc_t)); in dt_epid_add()
155 enabled->dtepd_epid = id; in dt_epid_add()
156 enabled->dtepd_nrecs = 1; in dt_epid_add()
158 if (dt_ioctl(dtp, DTRACEIOC_EPROBE, enabled) == -1) { in dt_epid_add()
160 free(enabled); in dt_epid_add()
164 if (DTRACE_SIZEOF_EPROBEDESC(enabled) != sizeof (*enabled)) { in dt_epid_add()
170 malloc(DTRACE_SIZEOF_EPROBEDESC(enabled))) != NULL) in dt_epid_add()
171 bcopy(enabled, nenabled, sizeof (*enabled)); in dt_epid_add()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd-upgrade.sh69 enable=`svcprop -p general/enabled $i`
136 enabled=`svcprop -p general/enabled $instance`
140 default_enabled=$enabled
145 if [ "$enabled" != "true" ]; then
152 if [ "$enabled" = "" ]; then
/titanic_41/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c158 srpt_GetDefaultState(boolean_t *enabled) in srpt_GetDefaultState() argument
165 if (enabled == NULL) { in srpt_GetDefaultState()
183 *enabled = val; in srpt_GetDefaultState()
202 srpt_SetDefaultState(boolean_t enabled) in srpt_SetDefaultState() argument
221 enabled); in srpt_SetDefaultState()
247 srpt_SetTargetState(char *hca_guid, boolean_t enabled) in srpt_SetTargetState() argument
289 enabled); in srpt_SetTargetState()
320 srpt_GetTargetState(char *hca_guid, boolean_t *enabled) in srpt_GetTargetState() argument
361 enabled); in srpt_GetTargetState()
366 *enabled = defaultState; in srpt_GetTargetState()
H A Dlibsrpt.h84 srpt_GetDefaultState(boolean_t *enabled);
101 srpt_SetDefaultState(boolean_t enabled);
118 srpt_SetTargetState(char *hca_guid, boolean_t enabled);
135 srpt_GetTargetState(char *hca_guid, boolean_t *enabled);
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dloc.c107 boolean_t enabled = B_FALSE; in loc_is_enabled() local
115 if (nwam_value_get_boolean(enabledval, &enabled) in loc_is_enabled()
123 return (enabled); in loc_is_enabled()
154 char *enabled; in nwamd_loc_activate() local
166 if ((enabled = malloc(NWAM_MAX_NAME_LEN)) != NULL && in nwamd_loc_activate()
168 NET_LOC_SELECTED_PROP, enabled, NWAM_MAX_NAME_LEN) == 0) { in nwamd_loc_activate()
170 if (strcmp(enabled, object_name) != 0) { in nwamd_loc_activate()
173 (NWAM_OBJECT_TYPE_LOC, enabled); in nwamd_loc_activate()
176 "find old location %s", enabled); in nwamd_loc_activate()
192 enabled); in nwamd_loc_activate()
[all …]
/titanic_41/usr/src/cmd/acctadm/
H A Dmain.c120 char *enabled = NULL; /* enabled resources string */ in main() local
146 enabled = optarg; in main()
189 if (!(disabled || enabled || Dflg || Eflg || file || sflg || in main()
240 if ((enabled || disabled) && (rflg || Dflg || sflg || xflg || Eflg)) in main()
243 if ((file || xflg || Dflg || Eflg || enabled || disabled) && in main()
258 if (!enabled && !disabled && !file && in main()
344 if (enabled || disabled) { in main()
378 } else if (enabled) { in main()
379 str2buf(buf, enabled, AC_ON, type); in main()
432 if (enabled && (type & AC_NET)) { in main()
[all …]
/titanic_41/usr/src/cmd/srptadm/
H A Dsrptadm.c121 static int set_default_state(boolean_t enabled);
346 set_default_state(boolean_t enabled) in set_default_state() argument
353 ret = srpt_SetDefaultState(enabled); in set_default_state()
402 boolean_t enabled; in list_defaults() local
407 ret = srpt_GetDefaultState(&enabled); in list_defaults()
416 if (enabled) { in list_defaults()
475 boolean_t enabled; in print_target_props() local
491 ret = srpt_GetTargetState(buf, &enabled); in print_target_props()
503 if (enabled) { in print_target_props()
/titanic_41/usr/src/uts/common/io/chxge/com/
H A Dpm3393.c90 u8 enabled; member
373 cmac->instance->enabled |= which; in pm3393_enable()
413 cmac->instance->enabled &= ~which; in pm3393_disable()
431 int enabled = cmac->instance->enabled; in pm3393_set_mtu() local
439 if (enabled) in pm3393_set_mtu()
445 if (enabled) in pm3393_set_mtu()
446 (void) pm3393_enable(cmac, enabled); in pm3393_set_mtu()
479 int enabled = cmac->instance->enabled & MAC_DIRECTION_RX; in pm3393_set_rx_mode() local
483 if (enabled) in pm3393_set_rx_mode()
520 if (enabled) in pm3393_set_rx_mode()
[all …]
/titanic_41/usr/src/uts/common/inet/ilb/
H A Dilb_alg_hash.c69 boolean_t enabled; member
125 if (hash_alg->hash_tbl[i].enabled) { in hash_lb()
175 tbl[hash_size - 1].enabled = B_FALSE; in del_server()
242 hash_alg->hash_tbl[hash_alg->hash_servers].enabled = host->iser_enabled; in hash_server_add()
262 hash_alg->hash_enabled_tbl[hash_alg->hash_enabled_servers].enabled = in hash_server_add()
281 if (alg->hash_tbl[i].enabled) { in hash_server_enable()
316 alg->hash_tbl[i].enabled = B_TRUE; in hash_server_enable()
318 alg->hash_enabled_tbl[alg->hash_enabled_servers].enabled = B_TRUE; in hash_server_enable()
335 if (!alg->hash_tbl[i].enabled) { in hash_server_disable()
348 alg->hash_tbl[i].enabled = B_FALSE; in hash_server_disable()
H A Dilb_alg_rr.c38 boolean_t enabled; member
71 while (!rr_alg->rr_next->enabled) { in rr_lb()
125 new_server->enabled = host->iser_enabled; in rr_server_add()
146 tmp_server->enabled = value; in rr_server_toggle()
/titanic_41/usr/src/cmd/initpkg/init.d/
H A Dcachefs.daemon43 enabled=`/usr/bin/svcprop -p general/enabled $cachefsd_fmri 2>/dev/null`
48 if [ "$enabled" != "true" ]; then
/titanic_41/usr/src/cmd/cmd-crypto/etc/
H A Dpkcs11.conf39 metaslot:metaslot_status=enabled;metaslot_auto_key_migrate=enabled;metaslot_token=Sun Software PKCS…
/titanic_41/usr/src/cmd/hal/addons/network-devices/
H A Daddon-network-discovery.c37 gboolean enabled; member
81 if (args->enabled == FALSE) { in nds_snmp_scan_cb()
103 snmp_cb_data->enabled = FALSE; /* cancel it */ in nds_EnablePrinterScanningViaSNMP()
109 snmp_cb_data->enabled = TRUE; in nds_EnablePrinterScanningViaSNMP()
130 snmp_cb_data->enabled = FALSE; in nds_DisablePrinterScanningViaSNMP()
/titanic_41/usr/src/cmd/svc/svcadm/
H A Dsynch.c246 inst_has_potential(scf_instance_t *inst, int enabled, int optional, int exclude) in inst_has_potential() argument
250 if (!enabled) in inst_has_potential()
304 int enabled; in fmri_has_potential() local
320 enabled = is_enabled(inst); in fmri_has_potential()
322 (inst_has_potential(inst, enabled, optional, exclude) != 0); in fmri_has_potential()
357 enabled = is_enabled(inst); in fmri_has_potential()
358 r = inst_has_potential(inst, enabled, optional, exclude); in fmri_has_potential()
/titanic_41/usr/src/cmd/ssh/include/
H A Dkex.h103 int enabled; member
111 int enabled; member
121 int enabled; member
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_smf.c36 static int enabled(char *svc_name);
225 if (!enabled(svc_names[i])) in enable()
241 if (enabled(svc_names[i])) in disable()
252 enabled(char *svc_name) in enabled() function
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_enm.c566 nwam_enm_update_enabled(nwam_enm_handle_t enmh, boolean_t enabled) in nwam_enm_update_enabled() argument
571 if ((err = nwam_value_create_boolean(enabled, &enabledval)) in nwam_enm_update_enabled()
586 boolean_t manual, enabled; in nwam_enm_enable() local
597 if ((err = nwam_enm_is_enabled(enmh, &enabled)) != NWAM_SUCCESS) in nwam_enm_enable()
599 if (enabled) in nwam_enm_enable()
618 boolean_t manual, enabled; in nwam_enm_disable() local
629 if ((err = nwam_enm_is_enabled(enmh, &enabled)) != NWAM_SUCCESS) in nwam_enm_disable()
631 if (!enabled) in nwam_enm_disable()
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dquoting2.sh188 …[[ '$('print -r -- \'$i\'\$x')' != "'$i'" ]] && err_exit "quoting of $i\$x with $j enabled failed"
189 …rint -r -- \'$i\'\${x%*}')' != "'$i'" ]] && err_exit "quoting of $i\${x%*} with $j enabled failed"
191 …-r -- \'$i\'\${x:-*}')' != "'$i''*'" ]] && err_exit "quoting of $i\${x:-*} with $j enabled failed"
/titanic_41/usr/src/cmd/svc/profile/
H A DMakefile92 @$(ECHO) Check for enabled $(PROFILES_CHECKED) services \
94 @$(PERL) -w $(LISTSVCS) -e $(PROFILES_$(PROFILES_CHECKED)) > $@.enabled
96 @$(COMM) -23 $@.enabled $@.all | $(TEE) $@.notcovered
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dpnic.c194 uint8_t enabled; in pnic_irq() local
199 enabled = ( action == ENABLE ? 1 : 0 ); in pnic_irq()
201 &enabled, sizeof(enabled), NULL, 0, NULL ); in pnic_irq()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Ddriver_wifi.c127 boolean_t enabled) in wpa_driver_wifi_set_wpa() argument
131 wpa_printf(MSG_DEBUG, "wpa_driver_wifi_set_wpa: enable=%d", enabled); in wpa_driver_wifi_set_wpa()
133 if (!enabled && wpa_driver_wifi_set_wpa_ie(handle, linkid, NULL, 0) < 0) in wpa_driver_wifi_set_wpa()
136 status = dladm_wlan_wpa_set_wpa(handle, linkid, enabled); in wpa_driver_wifi_set_wpa()

12345678910