Searched defs:cfg (Results 1 - 25 of 29) sorted by relevance

12

/osnet-11/usr/src/lib/libsrpt/common/
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/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...]
H A Drdcrules.c55 #include <sys/nsctl/cfg.h>
81 CFGFILE *cfg; local
98 if ((cfg = cfg_open(NULL)) == NULL) {
102 if (!cfg_lock(cfg, CFG_RDLOCK)) {
104 cfg_close(cfg);
115 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0)
146 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0)
242 cfg_close(cfg);
/osnet-11/usr/src/lib/libsmb/common/
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...]
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_nic.c277 smb_nic_t *cfg; local
283 cfg = &smb_niclist.nl_nics[i];
284 if (smb_inet_equal(ipaddr, &cfg->nic_ip)) {
296 smb_nic_t *cfg; local
302 cfg = &smb_niclist.nl_nics[i];
303 if (smb_inet_same_subnet(ipaddr, &cfg->nic_ip, cfg->nic_mask)) {
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dget_req.c440 fc_cell_t cfg = 0; local
443 error = fc_run_priv(env->private, FC_PROBE_SPACE, 0, 1, &cfg);
446 PUSH(DS, fc_cell2uint32_t(cfg));
/osnet-11/usr/src/lib/passwdutil/
H A Dswitch_utils.c63 struct __nsw_switchconfig *cfg; local
66 cfg = __nsw_getconfig("passwd_compat", &pserr);
67 if (cfg == NULL) {
70 if (strcmp(cfg->lookups->service_name, "ldap") == 0)
74 (void) __nsw_freeconfig(cfg);
87 struct __nsw_switchconfig *cfg; local
91 if ((cfg = __nsw_getconfig("passwd_compat", &pserr)) != NULL) {
92 if (strcmp(cfg->lookups->service_name, "ldap") == 0)
95 (void) __nsw_freeconfig(cfg);
/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...]
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsvcctl_svc.c829 svc_config_t *cfg; local
853 cfg = &param->service_cfg;
854 cfg->service_type = SERVICE_WIN32_SHARE_PROCESS;
855 cfg->start_type = SERVICE_AUTO_START;
856 cfg->error_control = SERVICE_ERROR_IGNORE;
857 cfg->binary_pathname = NDR_STRDUP(mxa, "");
858 cfg->loadorder_group = NDR_STRDUP(mxa, "");
859 cfg->tag_id = 0;
860 cfg->dependencies = NDR_STRDUP(mxa, "");
861 cfg
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_mapping.c666 ns_config_t *cfg; local
685 cfg = __s_api_get_default_config();
687 if (cfg == NULL) {
695 vers = cfg->version;
696 __s_api_release_config(cfg);
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...]
H A Dns_standalone.c2046 ns_config_t *cfg; local
2095 cfg = __s_api_create_config_door_str(dua_profile, errorp);
2096 if (cfg == NULL) {
2105 switch (cfg->version) {
2114 if (__s_api_get_versiontype(cfg,
2117 (ret_code = __ns_ldap_setParamValue(cfg,
2121 __s_api_destroy_config(cfg);
2130 authMethods = __s_api_strValue(cfg, NS_LDAP_AUTH_P,
2151 if (__ns_ldap_setParamValue(cfg,
2155 __s_api_destroy_config(cfg);
[all...]
/osnet-11/usr/src/lib/libdscfg/common/
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/fm/libfmd_zfs/common/
H A Dfmd_zfs.c273 nvlist_t *cfg = zpool_get_config(zhp, NULL); local
274 (void) nvlist_lookup_nvlist(cfg, ZPOOL_CONFIG_VDEV_TREE, &vdev);
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcrypto.c1190 static void ntfs_crypto_parse_config(struct config_t *cfg) argument
1201 cfg_keys = config_lookup(cfg, "crypto.keys");
1256 struct config_t cfg; local
1260 config_init(&cfg);
1262 if (config_read_file(&cfg, NTFS_CONFIG_PATH_SYSTEM))
1263 ntfs_crypto_parse_config(&cfg);
1265 if (config_error_line(&cfg)) /* Do not cry if file absent. */
1268 config_error_text(&cfg),
1269 config_error_line(&cfg));
1285 if (config_read_file(&cfg, NTFS_CONFIG_PATH_USE
[all...]
/osnet-11/usr/src/lib/libiscsit/common/
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/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/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/fm/libasr/common/
H A Dasr.c594 nvlist_t *cfg = asr_get_config(ah); local
597 asr_scf_set_props(config, "reg", cfg, old) != 0)
610 asr_hdl_initnv(nvlist_t *cfg, char *cfg_name) argument
615 if (cfg == NULL) {
616 cfg = asr_nvl_alloc();
617 if (cfg == NULL)
621 asr_nvl_free(cfg);
624 ah->asr_cfg = cfg;
748 nvlist_t *cfg; local
753 cfg
807 nvlist_t *cfg; local
948 nvlist_t *cfg = ah->asr_cfg; local
1032 nvlist_t *cfg = ah->asr_cfg; local
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A D3c90x.c399 int cfg; local
402 cfg = inl(INF_3C90X.IOAddr + regInternalConfig_3_l);
423 outl(cfg, INF_3C90X.IOAddr + regInternalConfig_3_l);
426 if ((cfg&0x0300) == 0x0300)
696 unsigned int cfg; local
912 cfg = inl(INF_3C90X.IOAddr + regInternalConfig_3_l);
913 cfg &= ~(0xF<<20);
914 cfg |= (linktype<<20);
915 outl(cfg, INF_3C90X.IOAddr + regInternalConfig_3_l);
H A Dns83820.c419 u32 cfg, new_cfg; local
423 cfg = readl(ns->base + CFG) ^ SPDSTS_POLARITY;
470 if (cfg & CFG_SPDSTS1)
475 speed = ((cfg / CFG_SPDSTS0) & 3);
476 fullduplex = (cfg & CFG_DUPSTS);
481 if ((cfg & CFG_LNKSTS) &&
488 ns->CFG_cache |= cfg & CFG_SPDSTS;
491 newlinkstate = (cfg & CFG_LNKSTS) ? LINK_UP : LINK_DOWN;
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c1454 ns_standalone_conf_t cfg = standaloneDefaults; local
1521 if (separatePort(peer, &cfg.SA_SERVER, &cfg.SA_PORT) > 0) {
1526 cfg.SA_CRED = "proxy";
1551 cfg.SA_BIND_DN = arglist->bindDN;
1552 cfg.SA_BIND_PWD = arglist->bindPasswd;
1569 cfg.SA_AUTH = &auth;
1571 cfg.SA_CRED = arglist->credentialLevel;
1573 cfg.SA_DOMAIN = arglist->domainName;
1574 cfg
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnss_common.c495 nss_cfglist_t *cfg; local
511 cfg = libc_malloc(NSS_CFG_INCR * sizeof (nss_cfglist_t));
512 if (cfg == NULL) {
518 cfg[i].list = libc_malloc(
520 if (cfg[i].list == NULL) {
522 libc_free(cfg[i].list);
523 libc_free(cfg);
528 cfg[i].max = NSS_CFG_INCR;
532 nss_cfg = cfg;

Completed in 119 milliseconds

12