Searched refs:cfg (Results 1 - 25 of 56) sorted by relevance

123

/osnet-11/usr/src/grub/grub2/util/grub.d/
H A D41_custom.in3 if [ -f \$prefix/custom.cfg ]; then
4 source \$prefix/custom.cfg;
/osnet-11/usr/src/lib/librstp/common/
H A Dstp_in.h79 #define CHECK_BRIDGE_CONFIG(cfg) \
80 (2 * (cfg.forward_delay - 1) >= cfg.max_age && \
81 cfg.max_age >= 2 * (cfg.hello_time + 1))
86 #define NO_MAXAGE(cfg) ((cfg.forward_delay - 1) < (cfg.hello_time + 1))
87 #define MIN_FWDELAY_NOM(cfg) \
88 (cfg
[all...]
H A Dstp_vectors.h74 INOUT UID_STP_CFG_T* cfg);
77 INOUT UID_STP_PORT_CFG_T* cfg);
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dfc-fabric34 if [ -s /etc/cfg/fp/fabric_WWN_map ]
37 -f /etc/cfg/fp/fabric_WWN_map
39 if [ -s /etc/cfg/fp/fabric_WWN_map.old ]
42 -f /etc/cfg/fp/fabric_WWN_map.old
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dconfig.t26 my $cfg = $mbi->config();
28 ok (ref($cfg),'HASH');
30 ok ($cfg->{lib},'Math::BigInt::Calc');
31 ok ($cfg->{lib_version}, $Math::BigInt::Calc::VERSION);
32 ok ($cfg->{class},$mbi);
33 ok ($cfg->{upgrade}||'','');
34 ok ($cfg->{div_scale},40);
36 ok ($cfg->{precision}||0,0); # should test for undef
37 ok ($cfg->{accuracy}||0,0);
39 ok ($cfg
[all...]
H A Dtrap.t20 my ($cfg,$x);
30 $cfg = $class->config( trap_nan => 1 ); ok ($cfg->{trap_nan},1);
38 $cfg = $class->config( trap_nan => 0 ); ok ($cfg->{trap_nan},0);
41 $cfg = $class->config( trap_inf => 1 ); ok ($cfg->{trap_inf},1);
56 $cfg = $class->config( trap_nan => 1 );
/osnet-11/usr/src/lib/libiscsit/common/
H A Dlibiscsit.h101 * cfg A C representation of the current iSCSI configuration
109 it_config_load(it_config_t **cfg);
120 * cfg A C representation of the current iSCSI configuration
130 it_config_commit(it_config_t *cfg);
142 * cfg The current iSCSI configuration obtained from
155 it_config_setprop(it_config_t *cfg, nvlist_t *proplist, nvlist_t **errlist);
163 * cfg A C representation of the current iSCSI configuration
166 it_config_free(it_config_t *cfg);
180 * cfg The current iSCSI configuration obtained from
197 it_tgt_create(it_config_t *cfg, it_tgt_
[all...]
H A Dlibiscsit.c104 * cfg A C representation of the current iSCSI configuration
112 it_config_load(it_config_t **cfg) argument
119 if (!cfg) {
123 *cfg = NULL;
139 *cfg = newcfg;
158 * cfg A C representation of the current iSCSI configuration
168 it_config_commit(it_config_t *cfg) argument
178 if (!cfg) {
182 ret = it_config_to_nv(cfg, &cfgnv);
235 tgtp = cfg
316 it_config_setprop(it_config_t *cfg, nvlist_t *proplist, nvlist_t **errlist) argument
496 it_config_free(it_config_t *cfg) argument
529 it_tgt_create(it_config_t *cfg, it_tgt_t **tgt, char *tgt_name) argument
610 it_tgt_setprop(it_config_t *cfg, it_tgt_t *tgt, nvlist_t *proplist, nvlist_t **errlist) argument
729 it_tgt_delete(it_config_t *cfg, it_tgt_t *tgt, boolean_t force) argument
839 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt, char *tpg_name, uint16_t tpgt_tag) argument
936 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt) argument
1011 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, char *portal_ip_port) argument
1082 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_t force) argument
1182 it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal, char *portal_ip_port) argument
1252 it_portal_delete(it_config_t *cfg, it_tpg_t *tpg, it_portal_t *portal) argument
1307 it_ini_create(it_config_t *cfg, it_ini_t **ini, char *ini_node_name) argument
1468 it_ini_delete(it_config_t *cfg, it_ini_t *ini) argument
[all...]
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_krb.c82 smb_krb5_cfg_init(smb_krb5_cfg_t *cfg, const char *fqdn, argument
87 if (cfg == NULL || fqdn == NULL || kdcs == NULL)
90 bzero(cfg, sizeof (smb_krb5_cfg_t));
92 if ((rc = krb5_init_context(&cfg->kc_ctx)) != 0)
95 cfg->kc_path = smb_krb5_cfg_getpath();
96 cfg->kc_exist = (access(cfg->kc_path, F_OK) == 0) ? B_TRUE : B_FALSE;
98 rc = k5_profile_init(cfg->kc_path, &cfg->kc_profile);
100 (void) smb_krb5_cfg_fini(cfg, B_FALS
129 smb_krb5_cfg_fini(smb_krb5_cfg_t *cfg, boolean_t commit) argument
268 smb_krb5_cfg_add(smb_krb5_cfg_t *cfg, char *errmsg, size_t len) argument
336 smb_krb5_cfg_update(smb_krb5_cfg_t *cfg, char *errmsg, size_t len) argument
530 smb_krb5_cfg_update_master(smb_krb5_cfg_t *cfg, char *errmsg, size_t len) argument
[all...]
H A Dlibsmbns.h112 #define SMB_KRB5_CFG_DEFAULT_REALM_EXIST(cfg) \
113 ((cfg)->kc_orig_drealm != NULL)
115 #define SMB_KRB5_CFG_IS_DEFAULT_REALM(cfg) \
116 (SMB_KRB5_CFG_DEFAULT_REALM_EXIST(cfg) && \
117 strncasecmp((cfg)->kc_orig_drealm, (cfg)->kc_realm, \
118 strlen((cfg)->kc_orig_drealm)) == 0)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dtrap.t19 my ($cfg,$x);
29 $cfg = $class->config( trap_nan => 1 ); ok ($cfg->{trap_nan},1);
32 $cfg = $class->config( { trap_nan => 1 } ); ok ($cfg->{trap_nan},1);
40 $cfg = $class->config( trap_nan => 0 ); ok ($cfg->{trap_nan},0);
43 $cfg = $class->config( trap_inf => 1 ); ok ($cfg->{trap_inf},1);
58 $cfg
[all...]
/osnet-11/usr/src/lib/librdc/common/
H A Drdcpersist.c41 #include <sys/nsctl/cfg.h>
74 load_rdc_vols(CFGFILE *cfg) argument
86 cfg_rewind(cfg, CFG_SEC_CONF);
90 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF)) {
264 do_autosv_enable(CFGFILE *cfg, rdcconfig_t *rdc) argument
269 cfg_load_svols(cfg);
270 cfg_load_dsvols(cfg);
271 cfg_load_shadows(cfg);
272 load_rdc_vols(cfg);
282 if (cfg_vol_enable(cfg, vo
307 do_autosv_disable(CFGFILE *cfg, rdcconfig_t *rdc) argument
358 sv_enable(CFGFILE *cfg, rdcconfig_t *rdcs) argument
379 sv_disable(CFGFILE *cfg, rdcconfig_t *rdcs) argument
405 sv_reconfig(CFGFILE *cfg, rdcconfig_t *rdc, char *oldbmp, char *newbmp) argument
466 CFGFILE *cfg; local
508 cfg_lookup(CFGFILE *cfg, char *shost, char *sfile) argument
542 CFGFILE *cfg; local
579 CFGFILE *cfg; local
648 CFGFILE *cfg; local
[all...]
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.h48 int cfg_get_cstring(CFGFILE *cfg, const char *key, void *value, int value_len);
49 int cfg_put_cstring(CFGFILE *cfg, const char *key, void *value, int value_len);
50 int cfg_find_cstring(CFGFILE *cfg, const char *target, const char *section,
52 int cfg_get_options(CFGFILE *cfg, int section, const char *basekey,
54 int cfg_put_options(CFGFILE *cfg, int section, const char *basekey,
59 int cfg_get_num_entries(CFGFILE *cfg, char *section);
61 int cfg_get_tags(CFGFILE *cfg, char ***taglist);
63 int cfg_cfg_isempty(CFGFILE *cfg);
64 int cfg_get_section(CFGFILE *cfg, char ***buf, const char *section);
66 void cfg_rewind(CFGFILE *cfg, in
[all...]
H A Dcfg_vols.c38 #include <sys/nsctl/cfg.h>
107 * CFGFILE *cfg: A pointer to the current config file, or NULL if this
121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user) argument
128 self_open = (cfg == NULL);
133 cfg = cfg_open(NULL);
134 if (cfg == NULL) {
138 if (!cfg_lock(cfg, CFG_WRLOCK)) {
140 cfg_close(cfg);
146 ctag = cfg_get_resource(cfg);
152 cfg_resource(cfg, cnod
281 cfg_rem_user(CFGFILE *cfg, char *path, char *cnode, char *user) argument
481 cfg_vol_enable(CFGFILE *cfg, char *path, char *ctag, char *user) argument
528 cfg_vol_disable(CFGFILE *cfg, char *path, char *ctag, char *user) argument
584 cfg_load_dsvols(CFGFILE *cfg) argument
699 cfg_load_svols(CFGFILE *cfg) argument
794 cfg_get_canonical_name(CFGFILE *cfg, const char *path, char **result) argument
843 cfg_load_shadows(CFGFILE *cfg) argument
986 CFGFILE *cfg; local
[all...]
H A Dcfg.c54 #include "cfg.h"
249 cfg_perror_str = dgettext("cfg",
296 * checks cfg->cf_node for filtering
304 cfg_filter_node(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag) argument
311 if (!cfg->cf_node) /* no filter always good */
329 cfg->cf_node, strlen(cfg->cf_node), ptr, strlen(ptr));
331 if (strcmp(ptr, cfg->cf_node) == 0)
340 cfg_insert_node(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag) argument
351 if ((fld < 0) && !(cfg
370 cfg_is_cnode(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag) argument
392 cfg_get_cstring(CFGFILE *cfg, const char *key, void *value, int value_len) argument
548 cfg_find_cstring(CFGFILE *cfg, const char *target, const char *section, int numflds, ...) argument
686 cfg_put_cstring(CFGFILE *cfg, const char *key, void *value, int val_len) argument
1149 cfg_get_options(CFGFILE *cfg, int section, const char *basekey, char *tag, int tag_len, char *val, int val_len) argument
1203 cfg_put_options(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val) argument
1311 cfg_get_single_option(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val, int val_len) argument
1393 cfg_del_option(CFGFILE *cfg, int section, const char *basekey, char *tag) argument
1679 cfg_lock(CFGFILE *cfg, CFGLOCK mode) argument
1883 cfg_unlock(CFGFILE *cfg) argument
1899 cfg_rdlock(CFGFILE *cfg) argument
1952 cfg_wrlock(CFGFILE *cfg) argument
2001 cfg_get_lock(CFGFILE *cfg, CFGLOCK *lock, pid_t *pid) argument
2075 cfg_commit(CFGFILE *cfg) argument
2241 cfg_rewind(CFGFILE *cfg, int section) argument
2367 cfg_update_parser_config(CFGFILE *cfg, const char *key, int section) argument
2797 cfg_close(CFGFILE *cfg) argument
2861 cfg_get_resource(CFGFILE *cfg) argument
2878 cfg_resource(CFGFILE *cfg, const char *node) argument
2912 CFGFILE *cfg; local
3072 cfg_cfg_isempty(CFGFILE *cfg) argument
3095 cfg_get_num_entries(CFGFILE *cfg, char *section) argument
3128 cfg_get_section(CFGFILE *cfg, char ***list, const char *section) argument
3203 cfg_get_tags(CFGFILE *cfg, char ***taglist) argument
3247 cfg_is_cfg(CFGFILE *cfg) argument
3331 cfg_get_srtdsec(CFGFILE *cfg, char ***list, const char *section, const char *field) argument
[all...]
/osnet-11/usr/src/lib/libsrpt/common/
H A Dlibsrpt.h39 * cfg Current SRPT configuration in nvlist form
49 srpt_GetConfig(nvlist_t **cfg, uint64_t *token);
55 * cfg SRPT configuration in nvlist form
67 srpt_SetConfig(nvlist_t *cfg, uint64_t token);
161 * hca:3BA000100CD18 - form from cfgadm and/or /dev/cfg
H A Dlibsrpt.c48 * cfg Current SRPT configuration in nvlist form
58 srpt_GetConfig(nvlist_t **cfg, uint64_t *token) argument
65 if (!cfg) {
69 *cfg = NULL;
101 *cfg = cfg_nv;
111 * cfg SRPT configuration in nvlist form
123 srpt_SetConfig(nvlist_t *cfg, uint64_t token) argument
127 ret = stmfSetProviderDataProt(SRPT_PROV_NAME, cfg,
441 * hca:3BA000100CD18 - form from cfgadm and/or /dev/cfg
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_cfg.c274 smb_cfg_param_t *cfg; local
275 cfg = smb_config_getent(id);
276 return (cfg->sc_name);
484 smb_cfg_param_t *cfg; local
491 cfg = smb_config_getent(id);
492 assert(cfg->sc_type == SCF_TYPE_ASTRING);
494 if (cfg->sc_flags & SMB_CF_PROTECTED) {
503 if ((rc = smb_smf_get_string_property(handle, cfg->sc_name,
517 pg = (cfg->sc_flags & SMB_CF_EXEC) ? SMBD_EXEC_PG_NAME :
521 rc = smb_smf_get_string_property(handle, cfg
543 smb_cfg_param_t *cfg; local
599 smb_cfg_param_t *cfg; local
631 smb_cfg_param_t *cfg; local
663 smb_cfg_param_t *cfg; local
692 smb_cfg_param_t *cfg; local
728 smb_cfg_param_t *cfg; local
795 smb_cfg_param_t *cfg; local
830 smb_cfg_param_t *cfg; local
865 smb_cfg_param_t *cfg; local
907 smb_cfg_param_t *cfg = NULL; local
1199 smb_cfg_param_t *cfg; local
1221 smb_config_chk_string(smb_cfg_param_t *cfg, const char *value) argument
1236 smb_config_chk_range(smb_cfg_param_t *cfg, const char *value) argument
1259 smb_config_chk_hostname(smb_cfg_param_t *cfg, const char *value) argument
1357 smb_config_chk_interface(smb_cfg_param_t *cfg, const char *value) argument
1396 smb_config_chk_boolean(smb_cfg_param_t *cfg, const char *value) argument
1410 smb_config_chk_path(smb_cfg_param_t *cfg, const char *path) argument
1437 smb_config_chk_cmd(smb_cfg_param_t *cfg, const char *value) argument
1482 smb_config_chk_disposition(smb_cfg_param_t *cfg, const char *value) argument
[all...]
H A Dsmb_kmod.c74 smb_kmod_setcfg(smb_kmod_cfg_t *cfg) argument
79 ioc.maxworkers = cfg->skc_maxworkers;
80 ioc.maxconnections = cfg->skc_maxconnections;
81 ioc.keepalive = cfg->skc_keepalive;
82 ioc.restrict_anon = cfg->skc_restrict_anon;
83 ioc.enforce_vczero = cfg->skc_enforce_vczero;
84 ioc.signing_enable = cfg->skc_signing_enable;
85 ioc.signing_required = cfg->skc_signing_required;
86 ioc.oplock_enable = cfg->skc_oplock_enable;
87 ioc.sync_enable = cfg
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Dlibnetcfg.PL54 # old config ./libnet.cfg
78 "libnet.cfg", unless otherwise specified using the -i option,
82 The default name of the new configuration file is "libnet.cfg", and by
112 my %cfg = ();
113 my @cfg = ();
125 defined($h) && (($cfg{'test_exist'} == 0) || gethostbyname($h));
334 $libnet_cfg_in = "libnet.cfg"
337 $libnet_cfg_out = "libnet.cfg"
353 map { $cfg{lc $_} = $cfg{
[all...]
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c478 * with configuration 'cfg'.
481 destroy_proto_info(basic_cfg_t *cfg, proto_info_t *pi) argument
491 if (cfg->istlx) {
499 destroy_proto_list(basic_cfg_t *cfg) argument
504 if (cfg->proto_list == NULL)
507 while ((pi = uu_list_teardown(cfg->proto_list, &cookie)) != NULL)
508 destroy_proto_info(cfg, pi);
509 uu_list_destroy(cfg->proto_list);
510 cfg->proto_list = NULL;
514 destroy_basic_cfg(basic_cfg_t *cfg) argument
581 basic_cfg_t *cfg; local
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c438 dladm_bridge_get_properties(const char *instance_name, UID_STP_CFG_T *cfg, argument
445 cfg->field_mask = 0;
446 cfg->bridge_priority = DEF_BR_PRIO;
447 cfg->max_age = DEF_BR_MAXAGE;
448 cfg->hello_time = DEF_BR_HELLOT;
449 cfg->forward_delay = DEF_BR_FWDELAY;
450 cfg->force_version = DEF_FORCE_VERS;
452 (void) strlcpy(cfg->vlan_name, instance_name, sizeof (cfg->vlan_name));
478 cfg
971 dladm_bridge_configure(dladm_handle_t handle, const char *name, const UID_STP_CFG_T *cfg, dladm_bridge_prot_t brprot, uint32_t flags) argument
1717 UID_STP_CFG_T cfg; local
1876 UID_STP_CFG_T cfg; local
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_config.c95 verify_value(ns_config_t *cfg, char *name, char *value, char *errstr);
111 timetorefresh(ns_config_t *cfg);
565 timetorefresh(ns_config_t *cfg) argument
570 if (cfg == NULL || gettimeofday(&tp, NULL) == -1)
573 if (cfg->paramList[NS_LDAP_EXP_P].ns_ptype == TIMET)
574 expire = cfg->paramList[NS_LDAP_EXP_P].ns_tm;
860 * no caller with be waiting on cfg->config_mutex while it is being
865 __s_api_destroy_config(ns_config_t *cfg) argument
867 if (cfg != NULL) {
868 (void) mutex_lock(&cfg
882 get_curr_config_unlocked(ns_config_t *cfg, boolean_t global) argument
912 ns_config_t *cfg; local
938 ns_config_t *cfg; local
968 __s_api_release_config(ns_config_t *cfg) argument
1034 ns_config_t *cfg; local
1052 ns_config_t *cfg; local
1458 ns_config_t *cfg; local
1518 verify_value(ns_config_t *cfg, char *name, char *value, char *errstr) argument
2730 ns_config_t *cfg; local
2950 ns_config_t *cfg; local
3041 __s_api_strValue(ns_config_t *cfg, ParamIndexType index, ns_strfmt_t fmt) argument
3533 ns_config_t *cfg; local
3866 ns_config_t *cfg; local
[all...]
/osnet-11/usr/src/lib/libdscfg/
H A DMakefile26 HDRS= cfg.h\
H A DMakefile.com28 cfg.o \

Completed in 123 milliseconds

123