/titanic_50/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | Makefile | 24 FILES = config001.cfg \ 25 config002.cfg \ 26 config003.cfg \ 27 config004.cfg \ 28 config005.cfg \ 29 config006.cfg \ 30 config007.cfg \ 31 config008.cfg \ 32 config009.cfg \ 33 config010.cfg \ [all …]
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hpi_vmac.c | 67 vmac_tx_cfg_t cfg; in hpi_vmac_tx_config() local 76 HXGE_REG_RD64(handle, VMAC_TX_CFG, &cfg.value); in hpi_vmac_tx_config() 81 cfg.bits.tx_en = 1; in hpi_vmac_tx_config() 83 cfg.bits.crc_insert = 1; in hpi_vmac_tx_config() 85 cfg.bits.tx_pad = 1; in hpi_vmac_tx_config() 87 cfg.bits.tx_max_frame_length = max_frame_length; in hpi_vmac_tx_config() 91 cfg.bits.tx_en = 0; in hpi_vmac_tx_config() 93 cfg.bits.crc_insert = 0; in hpi_vmac_tx_config() 95 cfg.bits.tx_pad = 0; in hpi_vmac_tx_config() 99 cfg.bits.tx_en = 1; in hpi_vmac_tx_config() [all …]
|
/titanic_50/usr/src/test/libc-tests/cfg/ |
H A D | Makefile | 20 compilation.cfg \ 22 symbols/assert_h.cfg \ 23 symbols/ctype_h.cfg \ 24 symbols/dirent_h.cfg \ 25 symbols/fcntl_h.cfg \ 26 symbols/locale_h.cfg \ 27 symbols/math_h.cfg \ 28 symbols/netdb_h.cfg \ 29 symbols/pthread_h.cfg \ 30 symbols/signal_h.cfg \ [all …]
|
/titanic_50/usr/src/lib/librstp/common/ |
H A D | stp_in.h | 79 #define CHECK_BRIDGE_CONFIG(cfg) \ argument 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)) argument 87 #define MIN_FWDELAY_NOM(cfg) \ argument 88 (cfg.hello_time < MIN_BR_FWDELAY - 2 ? MIN_BR_FWDELAY : \ 89 cfg.hello_time + 2) 90 #define MAX_HELLOTIME_NOM(cfg) \ argument 91 (cfg.forward_delay > MAX_BR_HELLOT + 2 ? MAX_BR_HELLOT : \ 92 cfg.forward_delay - 2) [all …]
|
/titanic_50/usr/src/lib/libdscfg/common/ |
H A D | cfg_vols.c | 121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user) in cfg_add_user() argument 128 self_open = (cfg == NULL); in cfg_add_user() 133 cfg = cfg_open(NULL); in cfg_add_user() 134 if (cfg == NULL) { in cfg_add_user() 138 if (!cfg_lock(cfg, CFG_WRLOCK)) { in cfg_add_user() 140 cfg_close(cfg); in cfg_add_user() 146 ctag = cfg_get_resource(cfg); in cfg_add_user() 152 cfg_resource(cfg, cnode); in cfg_add_user() 157 if (cfg_load_dsvols(cfg) < 0) { in cfg_add_user() 159 cfg_close(cfg); in cfg_add_user() [all …]
|
H A D | cfg.h | 48 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, int section); [all …]
|
H A D | cfg.c | 304 cfg_filter_node(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag) in cfg_filter_node() argument 311 if (!cfg->cf_node) /* no filter always good */ in cfg_filter_node() 329 cfg->cf_node, strlen(cfg->cf_node), ptr, strlen(ptr)); in cfg_filter_node() 331 if (strcmp(ptr, cfg->cf_node) == 0) in cfg_filter_node() 340 cfg_insert_node(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag) in cfg_insert_node() argument 351 if ((fld < 0) && !(cfg->cf_node)) /* no cnode field always good */ in cfg_insert_node() 355 if (cfg->cf_node) in cfg_insert_node() 356 strcat(tmpbuf, cfg->cf_node); in cfg_insert_node() 370 cfg_is_cnode(CFGFILE *cfg, struct parser *tbl, char *buf, char *tag) in cfg_is_cnode() argument 392 cfg_get_cstring(CFGFILE *cfg, const char *key, void *value, int value_len) in cfg_get_cstring() argument [all …]
|
/titanic_50/usr/src/lib/librdc/common/ |
H A D | rdcpersist.c | 74 load_rdc_vols(CFGFILE *cfg) in load_rdc_vols() argument 86 cfg_rewind(cfg, CFG_SEC_CONF); in load_rdc_vols() 90 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF)) { in load_rdc_vols() 264 do_autosv_enable(CFGFILE *cfg, rdcconfig_t *rdc) in do_autosv_enable() argument 269 cfg_load_svols(cfg); in do_autosv_enable() 270 cfg_load_dsvols(cfg); in do_autosv_enable() 271 cfg_load_shadows(cfg); in do_autosv_enable() 272 load_rdc_vols(cfg); in do_autosv_enable() 282 if (cfg_vol_enable(cfg, vol, rdc->ctag, "sndr") < 0) { in do_autosv_enable() 289 if (cfg_vol_enable(cfg, bmp, rdc->ctag, "sndr") < 0) { in do_autosv_enable() [all …]
|
/titanic_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_prop.c | 60 static int ndmpd_config_update(ndmpd_cfg_param_t *cfg, char *value); 105 ndmpd_cfg_param_t *cfg; in ndmpd_load_prop() local 109 cfg = &ndmpd_cfg_table[id]; in ndmpd_load_prop() 110 if ((ndmp_get_prop(cfg->sc_name, &value)) == -1) { in ndmpd_load_prop() 112 cfg->sc_name, ndmp_strerror(ndmp_errno)); in ndmpd_load_prop() 122 if ((cfg->sc_flags & NDMP_CF_DEFINED) || value) { in ndmpd_load_prop() 123 if (ndmpd_config_update(cfg, value)) { in ndmpd_load_prop() 140 ndmpd_config_update(ndmpd_cfg_param_t *cfg, char *value) in ndmpd_config_update() argument 148 if (cfg->sc_value) { in ndmpd_config_update() 149 curval = realloc(cfg->sc_value, (len + 1)); in ndmpd_config_update() [all …]
|
/titanic_50/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.h | 119 it_config_load(it_config_t **cfg); 140 it_config_commit(it_config_t *cfg); 165 it_config_setprop(it_config_t *cfg, nvlist_t *proplist, nvlist_t **errlist); 176 it_config_free(it_config_t *cfg); 207 it_tgt_create(it_config_t *cfg, it_tgt_t **tgt, char *tgt_name); 233 it_tgt_setprop(it_config_t *cfg, it_tgt_t *tgt, nvlist_t *proplist, 258 it_tgt_delete(it_config_t *cfg, it_tgt_t *tgt, boolean_t force); 290 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt, 309 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt); 339 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, [all …]
|
H A D | libiscsit.c | 119 it_config_load(it_config_t **cfg) in it_config_load() argument 126 if (!cfg) { in it_config_load() 130 *cfg = NULL; in it_config_load() 146 *cfg = newcfg; in it_config_load() 175 it_config_commit(it_config_t *cfg) in it_config_commit() argument 185 if (!cfg) { in it_config_commit() 189 ret = it_config_to_nv(cfg, &cfgnv); in it_config_commit() 242 tgtp = cfg->config_tgt_list; in it_config_commit() 259 ret = it_config_to_nv(cfg, &cfgnv); in it_config_commit() 276 STMF_PORT_PROVIDER_TYPE, &(cfg->stmf_token)); in it_config_commit() [all …]
|
/titanic_50/usr/src/cmd/avs/dscfg/ |
H A D | dscfg.c | 161 parse_parse_config(CFGFILE *cfg) in parse_parse_config() argument 181 cfg_rewind(cfg, CFG_SEC_ALL); in parse_parse_config() 188 rc = cfg_update_parser_config(cfg, buff, CFG_PARSE_CONF); in parse_parse_config() 202 parse_text_config(CFGFILE *cfg) in parse_text_config() argument 218 cfg_rewind(cfg, CFG_SEC_CONF); in parse_text_config() 235 rc = cfg_put_cstring(cfg, key, p, strlen(p)); in parse_text_config() 247 dump_status(CFGFILE *cfg) in dump_status() argument 249 cfp_t *cfp = FP_SUN_CLUSTER(cfg); in dump_status() 288 dump_lockstat(CFGFILE *cfg) in dump_lockstat() argument 294 if (cfg_get_lock(cfg, &lock, &pid) == TRUE) { in dump_lockstat() [all …]
|
/titanic_50/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 1517 fflp_enet_vlan_tbl_t cfg; in npi_fflp_cfg_enet_vlan_table_assoc() local 1550 REG_PIO_READ64(handle, offset, &cfg.value); in npi_fflp_cfg_enet_vlan_table_assoc() 1554 cfg.bits.ldw.vlanrdctbln0 = rdc_table; in npi_fflp_cfg_enet_vlan_table_assoc() 1556 cfg.bits.ldw.vpr0 = BIT_ENABLE; in npi_fflp_cfg_enet_vlan_table_assoc() 1558 cfg.bits.ldw.vpr0 = BIT_DISABLE; in npi_fflp_cfg_enet_vlan_table_assoc() 1560 parity_bit = vlan_parity[cfg.bits.ldw.vlanrdctbln0] + in npi_fflp_cfg_enet_vlan_table_assoc() 1561 vlan_parity[cfg.bits.ldw.vlanrdctbln1] + in npi_fflp_cfg_enet_vlan_table_assoc() 1562 cfg.bits.ldw.vpr0 + cfg.bits.ldw.vpr1; in npi_fflp_cfg_enet_vlan_table_assoc() 1563 cfg.bits.ldw.parity0 = parity_bit & 0x1; in npi_fflp_cfg_enet_vlan_table_assoc() 1566 cfg.bits.ldw.vlanrdctbln1 = rdc_table; in npi_fflp_cfg_enet_vlan_table_assoc() [all …]
|
/titanic_50/usr/src/cmd/avs/rdc/ |
H A D | sndrsyncd.c | 360 CFGFILE *cfg = NULL; in rdc_sync() local 405 if ((cfg = cfg_open(NULL)) == NULL) { in rdc_sync() 416 if (!cfg_lock(cfg, CFG_RDLOCK)) { in rdc_sync() 427 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) { in rdc_sync() 443 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) in rdc_sync() 450 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) in rdc_sync() 456 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) in rdc_sync() 474 cfg_close(cfg); in rdc_sync() 475 cfg = NULL; in rdc_sync() 491 if (cfg) { in rdc_sync() [all …]
|
H A D | sndrsubr.c | 273 find_setnumber_in_libcfg(CFGFILE *cfg, char *ctag, char *tohost, char *tofile) in find_setnumber_in_libcfg() argument 282 if (cfg == NULL) { in find_setnumber_in_libcfg() 289 entries = cfg_get_section(cfg, &entry, "sndr"); in find_setnumber_in_libcfg() 339 get_group_diskq(CFGFILE *cfg, char *group, char *diskq) in get_group_diskq() argument 351 if (cfg_get_cstring(cfg, key, &buf, sizeof (buf)) < 0) in get_group_diskq() 355 if (cfg_get_cstring(cfg, key, diskq, CFG_MAX_BUF) < 0) { in get_group_diskq() 364 get_cfg_setid(CFGFILE *cfg, char *ctag, char *tohost, char *tofile) in get_cfg_setid() argument 371 if (cfg == NULL) { in get_cfg_setid() 373 if ((cfg = cfg_open(NULL)) == NULL) { in get_cfg_setid() 376 if (!cfg_lock(cfg, CFG_RDLOCK)) { in get_cfg_setid() [all …]
|
H A D | sndradm.c | 230 CFGFILE *cfg; in rdc_print() local 266 cfg = cfgp; in rdc_print() 267 cfg_rewind(cfg, CFG_SEC_CONF); in rdc_print() 269 if ((cfg = cfg_open(NULL)) == NULL) in rdc_print() 273 if (!cfg_lock(cfg, CFG_RDLOCK)) in rdc_print() 297 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) { in rdc_print() 389 cfg_close(cfg); in rdc_print() 668 check_diskqueue(CFGFILE *cfg, char *newq, char *newgroup) in check_diskqueue() argument 676 int open_cfg = cfg == NULL ? 1 : 0; in check_diskqueue() 686 if ((cfg = cfg_open(NULL)) == NULL) in check_diskqueue() [all …]
|
/titanic_50/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfgcli.c | 39 CFGFILE *cfg; variable 52 if (cfg_lock(cfg, CFG_RDLOCK) < 0) in test() 57 cfg_unlock(cfg); in test() 60 if (cfg_lock(cfg, CFG_RDLOCK) < 0) in test() 65 cfg_unlock(cfg); in test() 68 if (cfg_lock(cfg, CFG_WRLOCK) < 0) in test() 73 cfg_unlock(cfg); in test() 107 if (cfg_lock(cfg, CFG_RDLOCK) < 0) in cmd_loop() 118 cfg_unlock(cfg); in cmd_loop() 121 if (cfg_lock(cfg, CFG_WRLOCK) < 0) in cmd_loop() [all …]
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | system-test-libctest.mf | 26 dir path=opt/libc-tests/cfg 27 dir path=opt/libc-tests/cfg/symbols 44 file path=opt/libc-tests/cfg/README mode=0444 45 file path=opt/libc-tests/cfg/compilation.cfg mode=0444 46 file path=opt/libc-tests/cfg/symbols/README mode=0444 47 file path=opt/libc-tests/cfg/symbols/assert_h.cfg mode=0444 48 file path=opt/libc-tests/cfg/symbols/ctype_h.cfg mode=0444 49 file path=opt/libc-tests/cfg/symbols/dirent_h.cfg mode=0444 50 file path=opt/libc-tests/cfg/symbols/fcntl_h.cfg mode=0444 51 file path=opt/libc-tests/cfg/symbols/locale_h.cfg mode=0444 [all …]
|
/titanic_50/usr/src/common/crypto/skein/ |
H A D | skein.c | 31 } cfg; /* config block */ in Skein_256_Init() local 61 cfg.w[0] = Skein_Swap64(SKEIN_SCHEMA_VER); in Skein_256_Init() 63 cfg.w[1] = Skein_Swap64(hashBitLen); in Skein_256_Init() 64 cfg.w[2] = Skein_Swap64(SKEIN_CFG_TREE_INFO_SEQUENTIAL); in Skein_256_Init() 66 bzero(&cfg.w[3], sizeof (cfg) - 3 * sizeof (cfg.w[0])); in Skein_256_Init() 71 Skein_256_Process_Block(ctx, cfg.b, 1, SKEIN_CFG_STR_LEN); in Skein_256_Init() 96 } cfg; /* config block */ in Skein_256_InitExt() local 107 Skein_assert(sizeof (cfg.b) >= sizeof (ctx->X)); in Skein_256_InitExt() 118 (void) Skein_256_Final_Pad(ctx, cfg.b); in Skein_256_InitExt() 120 bcopy(cfg.b, ctx->X, sizeof (cfg.b)); in Skein_256_InitExt() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_kmod.c | 74 smb_kmod_setcfg(smb_kmod_cfg_t *cfg) in smb_kmod_setcfg() argument 78 ioc.maxworkers = cfg->skc_maxworkers; in smb_kmod_setcfg() 79 ioc.maxconnections = cfg->skc_maxconnections; in smb_kmod_setcfg() 80 ioc.keepalive = cfg->skc_keepalive; in smb_kmod_setcfg() 81 ioc.restrict_anon = cfg->skc_restrict_anon; in smb_kmod_setcfg() 82 ioc.signing_enable = cfg->skc_signing_enable; in smb_kmod_setcfg() 83 ioc.signing_required = cfg->skc_signing_required; in smb_kmod_setcfg() 84 ioc.oplock_enable = cfg->skc_oplock_enable; in smb_kmod_setcfg() 85 ioc.sync_enable = cfg->skc_sync_enable; in smb_kmod_setcfg() 86 ioc.secmode = cfg->skc_secmode; in smb_kmod_setcfg() [all …]
|
H A D | smb_cfg.c | 163 smb_cfg_param_t *cfg; in smb_config_getname() local 164 cfg = smb_config_getent(id); in smb_config_getname() 165 return (cfg->sc_name); in smb_config_getname() 370 smb_cfg_param_t *cfg; in smb_config_getstr() local 377 cfg = smb_config_getent(id); in smb_config_getstr() 378 assert(cfg->sc_type == SCF_TYPE_ASTRING); in smb_config_getstr() 387 if (cfg->sc_flags & SMB_CF_PROTECTED) { in smb_config_getstr() 392 if ((rc = smb_smf_get_string_property(handle, cfg->sc_name, in smb_config_getstr() 402 pg = (cfg->sc_flags & SMB_CF_EXEC) ? SMBD_EXEC_PG_NAME : in smb_config_getstr() 406 rc = smb_smf_get_string_property(handle, cfg->sc_name, in smb_config_getstr() [all …]
|
/titanic_50/usr/src/test/libc-tests/tests/symbols/ |
H A D | setup.ksh | 32 cfg=symbols/${prog%.ksh}.cfg 34 if [[ ! -f ${cfg} && $cfg == symbols/setup.cfg ]] 37 cfg=-C 66 [[ -n $debug ]] && print "Executing $p $* ${cfg}" 68 $p $* ${cfg} || exit 1
|
/titanic_50/usr/src/cmd/itadm/ |
H A D | itadm.c | 645 it_config_t *cfg = NULL; in create_target() local 671 ret = it_config_load(&cfg); in create_target() 680 ret = it_tgt_create(cfg, &tgtp, tgt); in create_target() 727 tpg = cfg->config_tpg_list; in create_target() 747 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid); in create_target() 763 ret = it_tgt_setprop(cfg, tgtp, proplist, &errlist); in create_target() 792 ret = it_config_commit(cfg); in create_target() 804 it_config_free(cfg); in create_target() 813 it_config_t *cfg; in list_target() local 834 ret = it_config_load(&cfg); in list_target() [all …]
|
/titanic_50/usr/src/cmd/avs/dsw/ |
H A D | iiboot.c | 314 CFGFILE *cfg; in iiboot_lintmain() local 332 if (!(cfg = cfg_open(""))) { in iiboot_lintmain() 338 while (!cfg_lock(cfg, CFG_WRLOCK)) in iiboot_lintmain() 342 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) { in iiboot_lintmain() 343 cfg_close(cfg); in iiboot_lintmain() 360 cfg_close(cfg); in iiboot_lintmain() 374 if (cfg_vol_disable(cfg, mst, cfg_cluster_tag, in iiboot_lintmain() 382 if (cfg_put_cstring(cfg, key, NULL, 0) < 0) { in iiboot_lintmain() 391 if (cfg_vol_disable(cfg, shd, NULL, "ii") < 0) in iiboot_lintmain() 398 (void) cfg_commit(cfg); in iiboot_lintmain() [all …]
|
/titanic_50/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 189 convert_config(CFGFILE *cfg, CFGLOCK mode) in convert_config() argument 195 if (cfg_get_cstring(cfg, "scm.set1", buf, sizeof (buf)) >= 0) { in convert_config() 200 cfg_rewind(cfg, CFG_SEC_CONF); in convert_config() 207 cfg_unlock(cfg); in convert_config() 208 if (!cfg_lock(cfg, CFG_WRLOCK)) { in convert_config() 222 if (cfg_put_cstring(cfg, "scm", default_cfg, strlen(default_cfg)) < 0) { in convert_config() 229 if (!cfg_commit(cfg)) { in convert_config() 236 if (!cfg_lock(cfg, mode)) { in convert_config() 244 cfg_rewind(cfg, CFG_SEC_CONF); in convert_config() 271 CFGFILE *cfg; in restore_hints() local [all …]
|