Home
last modified time | relevance | path

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

1234567891011

/illumos-gate/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.c307 static int enabled = 0; variable
314 if (!enabled) { in loginit()
315 enabled = 1; in loginit()
318 logit(LOG_DEBUG, "Logging enabled %d enabled", enabled); in loginit()
328 enabled = 0; in logterm()
340 if (enabled) { in logit()
/illumos-gate/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
/illumos-gate/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 …]
/illumos-gate/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
/illumos-gate/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);
/illumos-gate/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 …]
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Ddefault_capabs.c40 bool enabled; in check_caps() member
42 { .cap = VM_CAP_HALT_EXIT, .enabled = true, }, in check_caps()
43 { .cap = VM_CAP_PAUSE_EXIT, .enabled = false, } in check_caps()
54 if (actual != checks[i].enabled) { in check_caps()
56 capname, actual, checks[i].enabled); in check_caps()
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dpm3393.c88 u8 enabled; member
371 cmac->instance->enabled |= which; in pm3393_enable()
411 cmac->instance->enabled &= ~which; in pm3393_disable()
429 int enabled = cmac->instance->enabled; in pm3393_set_mtu() local
437 if (enabled) in pm3393_set_mtu()
443 if (enabled) in pm3393_set_mtu()
444 (void) pm3393_enable(cmac, enabled); in pm3393_set_mtu()
477 int enabled = cmac->instance->enabled & MAC_DIRECTION_RX; in pm3393_set_rx_mode() local
481 if (enabled) in pm3393_set_rx_mode()
518 if (enabled) in pm3393_set_rx_mode()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dcbx_api.h101 bool enabled; member
116 bool enabled; member
153 bool enabled; member
161 bool enabled; member
187 bool enabled; member
/illumos-gate/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()
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_dts.sh43 gcc -m32 -o tester-aslr.32 tester.c -Wl,-z,aslr=enabled
45 gcc -m64 -o tester-aslr.64 tester.c -Wl,-z,aslr=enabled
49 gcc -m32 -o many-dts-aslr.32 tester.c -Wl,-z,aslr=enabled \
53 gcc -m64 -o many-dts-aslr.64 tester.c -Wl,-z,aslr=enabled \
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsynch.c244 inst_has_potential(scf_instance_t *inst, int enabled, int optional, int exclude) in inst_has_potential() argument
248 if (!enabled) in inst_has_potential()
302 int enabled; in fmri_has_potential() local
318 enabled = is_enabled(inst); in fmri_has_potential()
320 (inst_has_potential(inst, enabled, optional, exclude) != 0); in fmri_has_potential()
355 enabled = is_enabled(inst); in fmri_has_potential()
356 r = inst_has_potential(inst, enabled, optional, exclude); in fmri_has_potential()
/illumos-gate/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()
/illumos-gate/usr/src/test/util-tests/tests/pcieadm/
H A Dbridge-ht.out3 |--> Enable: enabled (0x1)
4 |--> Fixed: enabled (0x2)
/illumos-gate/usr/src/cmd/svc/profile/
H A DMakefile83 @$(ECHO) Check for enabled $(PROFILES_CHECKED) services \
85 @$(PERL) -w $(LISTSVCS) -e $(PROFILES_$(PROFILES_CHECKED)) > $@.enabled
87 @$(COMM) -23 $@.enabled $@.all | $(TEE) $@.notcovered
/illumos-gate/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()
/illumos-gate/usr/src/cmd/cmd-crypto/etc/
H A Dpkcs11.conf39 metaslot:metaslot_status=enabled;metaslot_auto_key_migrate=enabled;metaslot_token=Sun Software PKCS…
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch.c61 #define CK(_x) {.name = #_x, .func = &_x, .enabled = 0},
65 int enabled; member
125 reg_funcs[i].enabled = (enable == true) ? 1 : -1; in enable_disable_checks()
353 if (!option_enable || reg_funcs[i].enabled == 1 || in main()
354 (option_disable && reg_funcs[i].enabled != -1) || in main()
/illumos-gate/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()
/illumos-gate/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()

1234567891011