Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_curve.c72 bcopy(params->text, ret->text, strlen(params->text) + 1); in ECCurveParams_dup()
82 bcopy(params->irr, ret->irr, strlen(params->irr) + 1); in ECCurveParams_dup()
106 bcopy(params->genx, ret->genx, strlen(params->genx) + 1); in ECCurveParams_dup()
114 bcopy(params->geny, ret->geny, strlen(params->geny) + 1); in ECCurveParams_dup()
159 kmem_free(params->text, strlen(params->text) + 1); in EC_FreeCurveParams()
165 kmem_free(params->irr, strlen(params->irr) + 1); in EC_FreeCurveParams()
171 kmem_free(params->curvea, strlen(params->curvea) + 1); in EC_FreeCurveParams()
177 kmem_free(params->curveb, strlen(params->curveb) + 1); in EC_FreeCurveParams()
183 kmem_free(params->genx, strlen(params->genx) + 1); in EC_FreeCurveParams()
189 kmem_free(params->geny, strlen(params->geny) + 1); in EC_FreeCurveParams()
[all …]
H A Decdecode.c120 params->name = name; in gf_populate_params()
209 params, kmflag) ); in EC_FillParams()
215 params, kmflag) ); in EC_FillParams()
221 params, kmflag) ); in EC_FillParams()
227 params, kmflag) ); in EC_FillParams()
233 params, kmflag) ); in EC_FillParams()
239 params, kmflag) ); in EC_FillParams()
245 params, kmflag) ); in EC_FillParams()
581 ECParams *params; in EC_DecodeParams() local
589 if (!params) { in EC_DecodeParams()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c434 memset((char *) &params, 0, sizeof(params));
441 if (params.realm)
530 if (params.dbname)
546 params.admin_dbname = (char *) malloc(strlen(params.dbname) + 7);
548 sprintf(params.admin_dbname, "%s.kadm5", params.dbname);
554 params.admin_lockfile = (char *) malloc(strlen(params.admin_dbname)
557 sprintf(params.admin_lockfile, "%s.lock", params.admin_dbname);
573 params.admin_keytab = strdup(params.admin_keytab);
745 params.flags = 0;
848 params.mask |=
[all …]
/illumos-gate/usr/src/common/util/
H A Dgetoptstr.c57 params->gos_pos = 1; in getoptstr_init()
113 params->gos_last_opt = c = strp[params->gos_pos]; in getoptstr()
116 params->gos_errp = &strp[params->gos_pos]; in getoptstr()
117 ++params->gos_pos; in getoptstr()
119 params->gos_strp = &strp[params->gos_pos]; in getoptstr()
129 params->gos_strp = &strp[params->gos_pos + 1]; in getoptstr()
143 params->gos_optargp = params->gos_strp; in getoptstr()
147 params->gos_optarglen = params->gos_strp - params->gos_optargp; in getoptstr()
150 params->gos_pos = 1; in getoptstr()
152 ++params->gos_pos; in getoptstr()
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdliptun.c173 (void) memset(params, 0, sizeof (*params)); in i_iptun_params()
259 params->iptun_param_flags = 0; in i_iptun_get_dbparams()
268 params->iptun_param_laddr, sizeof (params->iptun_param_laddr)) == in i_iptun_get_dbparams()
273 params->iptun_param_raddr, sizeof (params->iptun_param_raddr)) == in i_iptun_get_dbparams()
311 storage = params->iptun_param_type; in i_iptun_create_db()
367 assert(params->iptun_param_flags & in i_iptun_modify_db()
413 switch (params->iptun_param_type) { in dladm_iptun_create()
442 params->iptun_param_linkid); in dladm_iptun_create()
501 if (!(params->iptun_param_flags & in dladm_iptun_modify()
549 iptun_params_t params; in i_iptun_up() local
[all …]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c1907 if (pack_ap_ids(params->num_ap_ids, params->ap_ids, &var_msg_info)) { in pack_change_state_request()
2150 if ((params->errstring != NULL) && (*(params->errstring) != NULL)) { in pack_change_state_reply()
2226 if (pack_ap_ids(params->num_ap_ids, params->ap_ids, &var_msg_info)) { in pack_private_func_request()
2487 if ((params->errstring != NULL) && (*(params->errstring) != NULL)) { in pack_private_func_reply()
2562 if (pack_ap_ids(params->num_ap_ids, params->ap_ids, &var_msg_info)) { in pack_test_request()
2776 if ((params->errstring != NULL) && (*(params->errstring) != NULL)) { in pack_test_reply()
2851 if (pack_ap_ids(params->num_ap_ids, params->ap_ids, &var_msg_info)) { in pack_list_ext_request()
2897 if ((params->num_ap_ids != 0) || (params->ap_ids != NULL)) { in pack_list_ext_request()
3085 list_ext_data.num_ap_ids = (params->nlist) ? *(params->nlist) : 0; in pack_list_ext_reply()
3111 if ((params->errstring != NULL) && (*(params->errstring) != NULL)) { in pack_list_ext_reply()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c1326 params, in elink_ets_e3b0_config()
3381 if (params) in elink_bsc_read()
4662 params->shmem_base, params->port, in elink_is_sfp_module_plugged()
6996 &params->phy[phy_idx], params, mode); in elink_set_led()
7745 &params->phy[ELINK_INT_PHY], params, in elink_link_update()
13423 params->shmem2_base, params->port, in elink_phy_probe()
13735 elink_set_aer_mmd(params, &params->phy[0]); in elink_init_xmac_loopback()
13739 params); in elink_init_xmac_loopback()
14182 &params->phy[ELINK_INT_PHY], params); in elink_link_reset()
15211 elink_set_aer_mmd(params, &params->phy[phy_idx]); in elink_period_func()
[all …]
/illumos-gate/usr/src/lib/sasl_plugins/plain/
H A Dplain.c124 params->utils->log(params->utils->conn, SASL_LOG_ERR, in plain_server_mech_step()
139 params->utils->log(params->utils->conn, SASL_LOG_ERR, in plain_server_mech_step()
142 params->utils->seterror(params->utils->conn, 0, in plain_server_mech_step()
157 params->utils->log(params->utils->conn, SASL_LOG_ERR, in plain_server_mech_step()
183 result = params->canon_user(params->utils->conn, in plain_server_mech_step()
191 result = params->utils->checkpass(params->utils->conn, in plain_server_mech_step()
199 params->utils->seterror(params->utils->conn, 0, in plain_server_mech_step()
202 params->utils->seterror(params->utils->conn, 0, in plain_server_mech_step()
211 result = params->canon_user(params->utils->conn, in plain_server_mech_step()
326 if (params->props.min_ssf > params->external_ssf) { in plain_client_mech_step()
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_bootflags.c47 struct gos_params params; in bootflags() local
83 params.gos_strp = cp; in bootflags()
84 getoptstr_init(&params); in bootflags()
106 (char *)params.gos_optargp, in bootflags()
107 params.gos_optarglen + 1); in bootflags()
129 params.gos_optarglen); in bootflags()
146 params.gos_optarglen); in bootflags()
171 params.gos_optarglen); in bootflags()
223 params.gos_last_opt); in bootflags()
237 if (*params.gos_strp) { in bootflags()
[all …]
/illumos-gate/usr/src/lib/sasl_plugins/login/
H A Dlogin.c144 params->utils->log(params->utils->conn, SASL_LOG_ERR, in login_server_mech_step()
180 params->utils->log(params->utils->conn, SASL_LOG_ERR, in login_server_mech_step()
203 result = params->canon_user(params->utils->conn, text->username, in login_server_mech_step()
212 result = params->utils->checkpass(params->utils->conn, in login_server_mech_step()
222 params->transition(params->utils->conn, in login_server_mech_step()
324 MEMERROR(params->utils); in login_client_mech_new()
360 if (params->props.min_ssf > params->external_ssf) { in login_client_mech_step()
362 params->utils->log(params->utils->conn, SASL_LOG_ERR, in login_client_mech_step()
432 result = params->canon_user(params->utils->conn, user, 0, in login_client_mech_step()
439 params->utils->log(params->utils->conn, SASL_LOG_ERR, in login_client_mech_step()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_cfg.c107 pLM->params.dcbx_port_params.dcbx_enabled = FALSE; in BnxeCfg_LLDP_DCBX()
110 pLM->params.dcbx_port_params.pfc.enabled = FALSE; in BnxeCfg_LLDP_DCBX()
120 memset(&pLM->params.lldp_config_params, 0xFF, in BnxeCfg_LLDP_DCBX()
121 sizeof(pLM->params.lldp_config_params)); in BnxeCfg_LLDP_DCBX()
122 memset(&pLM->params.dcbx_config_params, 0xFF, in BnxeCfg_LLDP_DCBX()
123 sizeof(pLM->params.dcbx_config_params)); in BnxeCfg_LLDP_DCBX()
125 pLM->params.dcbx_config_params.dcb_enable = 1; in BnxeCfg_LLDP_DCBX()
126 pLM->params.dcbx_config_params.admin_dcbx_enable = 1; in BnxeCfg_LLDP_DCBX()
155 pLM->params.lldp_config_params.tx_fast, in BnxeCfg_LLDP_DCBX()
444 pUM->lm_dev.params.mtu_max = (pUM->lm_dev.params.mtu[LM_CLI_IDX_NDIS] > in BnxeCfgInit()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_phy.c954 if( pdev->params.i2c_interval_sec ) in lm_link_update()
1287 … pdev->params.link.phy[ELINK_EXT_PHY1].rx_preemphasis[0] = (u16_t)pdev->params.preemphasis_rx_0; in lm_init_phy()
1288 … pdev->params.link.phy[ELINK_EXT_PHY1].rx_preemphasis[1] = (u16_t)pdev->params.preemphasis_rx_1; in lm_init_phy()
1289 … pdev->params.link.phy[ELINK_EXT_PHY1].rx_preemphasis[2] = (u16_t)pdev->params.preemphasis_rx_2; in lm_init_phy()
1290 … pdev->params.link.phy[ELINK_EXT_PHY1].rx_preemphasis[3] = (u16_t)pdev->params.preemphasis_rx_3; in lm_init_phy()
1291 … pdev->params.link.phy[ELINK_EXT_PHY1].tx_preemphasis[0] = (u16_t)pdev->params.preemphasis_tx_0; in lm_init_phy()
1292 … pdev->params.link.phy[ELINK_EXT_PHY1].tx_preemphasis[1] = (u16_t)pdev->params.preemphasis_tx_1; in lm_init_phy()
1293 … pdev->params.link.phy[ELINK_EXT_PHY1].tx_preemphasis[2] = (u16_t)pdev->params.preemphasis_tx_2; in lm_init_phy()
1294 … pdev->params.link.phy[ELINK_EXT_PHY1].tx_preemphasis[3] = (u16_t)pdev->params.preemphasis_tx_3; in lm_init_phy()
1309 pdev->params.link.mac_addr[i] = pdev->params.mac_addr[i]; in lm_init_phy()
[all …]
H A Dlm_devinfo.c225 pdev->params.pfunc_abs = (pdev->params.pfunc_rel << 1) | pdev->params.path_id; in lm_get_function_num()
229 pdev->params.pfunc_abs = pdev->params.pfunc_rel | pdev->params.path_id; in lm_get_function_num()
2809 pdev->params.cam_size = pdev->params.cam_size / pdev->params.vnics_per_port; in lm_init_cam_params()
3167 …pdev->params.max_pf_sb_cnt = pdev->params.fw_sb_cnt = HC_SB_MAX_SB_E1X / 2 / pdev->params.vnics_pe… in lm_init_params()
3218 pdev->params.fw_base_qzone_cnt = pdev->params.fw_sb_cnt; in lm_init_params()
3224 …pdev->params.base_fw_ndsb, pdev->params.sb_cnt, pdev->params.max_pf_sb_cnt, pdev->params.fw_sb_cnt… in lm_init_params()
3225 DbgBreakIf(pdev->params.sb_cnt > pdev->params.max_pf_sb_cnt); in lm_init_params()
3226 DbgBreakIf(pdev->params.max_pf_sb_cnt > pdev->params.fw_sb_cnt); in lm_init_params()
3230 … pdev->params.base_fw_client_id, pdev->params.max_pf_fw_client_cnt, pdev->params.fw_client_cnt); in lm_init_params()
3442 pdev->params.mac_addr[5] == 0) || (pdev->params.mac_addr[0] & 1)) in lm_init_params()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_phy.c979 pdev->params.phy_addr, in init_5708_serdes()
984 pdev->params.phy_addr, in init_5708_serdes()
991 pdev->params.phy_addr, in init_5708_serdes()
998 pdev->params.phy_addr, in init_5708_serdes()
1017 pdev->params.phy_addr, in init_5708_serdes()
1024 pdev->params.phy_addr, in init_5708_serdes()
1032 pdev->params.phy_addr, in init_5708_serdes()
1039 pdev->params.phy_addr, in init_5708_serdes()
1066 pdev->params.phy_addr, in init_5708_serdes()
1217 pdev->params.phy_addr, in init_5708_serdes()
[all …]
H A Dbnx_hw_reset.c742 val = pdev->params.mac_addr[0] + in lm_chip_reset()
745 pdev->params.mac_addr[3] + in lm_chip_reset()
910 if(pdev->params.hcopy_desc_cnt) in l4_reset_setup()
2017 if(pdev->params.ping_pong_dma) in lm_reset_setup()
2043 if(pdev->params.one_tdma) in lm_reset_setup()
2162 if(pdev->params.bin_mq_mode) in lm_reset_setup()
2184 val = pdev->params.mtu+4; in lm_reset_setup()
2213 pdev->params.mtu, in lm_reset_setup()
2225 pdev->params.mtu, in lm_reset_setup()
2392 if(pdev->params.kcq_page_cnt) in lm_reset_setup()
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dbootflags.c55 struct gos_params params; in bootflags() local
64 params.gos_opts = "HXF:VnI:D:advhko:"; in bootflags()
65 params.gos_strp = args; in bootflags()
66 getoptstr_init(&params); in bootflags()
79 if (params.gos_optarglen >= in bootflags()
86 params.gos_optargp, params.gos_optarglen); in bootflags()
108 params.gos_optarglen); in bootflags()
140 switch (params.gos_last_opt) { in bootflags()
146 params.gos_last_opt); in bootflags()
212 cp = params.gos_errp; in bootflags()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar3.c808 log_level_v3(params, nlp); in log_bk_params_v3()
1306 if (!params || !nlp) in save_date_token_v3()
1345 if (!params || !nlp) in save_lbr_bk_v3()
1375 if (!params || !nlp) in save_level_v3()
1403 if (!params || !nlp) in save_backup_date_v3()
2425 nctx.nc_params = params; in tar_backup_v3()
2870 if (!params) { in send_unrecovered_list_v3()
3206 nctx.nc_params = params; in ndmpd_dar_tar_v3()
3683 if (!session || !params) in ndmp_backup_get_params_v3()
3803 MOD_DONE(params, err); in ndmpd_tar_backup_starter_v3()
[all …]
H A Dndmpd_data.c1386 if (!params) in ndmpd_tar_start_backup_v3()
1407 params->mp_read_func = 0; in ndmpd_tar_start_backup_v3()
1470 params); in ndmpd_tar_start_backup_v3()
1511 if (!params) { in ndmpd_tar_start_recover_v3()
1550 params->mp_write_func = 0; in ndmpd_tar_start_recover_v3()
1599 params); in ndmpd_tar_start_recover_v3()
2089 if (params == NULL) in ndmpd_tar_start_backup_v2()
2105 params->mp_read_func = 0; in ndmpd_tar_start_backup_v2()
2190 params); in ndmpd_tar_start_backup_v2()
2245 if (params == NULL) in ndmpd_tar_start_recover_v2()
[all …]
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_error.c81 char **params; member
126 free(de->params[i]); in directory_error_free()
127 de->params[i] = NULL; in directory_error_free()
129 free(de->params); in directory_error_free()
130 de->params = NULL; in directory_error_free()
182 if (de->params == NULL) in directory_error()
233 de->params[i] = strdup(de_rpc->params.params_val[i]); in directory_error_from_rpc()
261 idmap_utf8str *params; in directory_error_to_rpc() local
272 if (params == NULL) in directory_error_to_rpc()
274 de_rpc->params.params_val = params; in directory_error_to_rpc()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_init.c113 kadm5_config_params *params, in kadm5_init_with_password() argument
127 kadm5_config_params *params, in kadm5_init_with_creds() argument
140 (params->mask & KADM5_CONFIG_MKEY_FROM_KBD) && in kadm5_init_with_creds()
141 params->mkey_from_kbd) in kadm5_init_with_creds()
151 kadm5_config_params *params, in kadm5_init_with_skey() argument
165 params->mkey_from_kbd) in kadm5_init_with_skey()
256 &handle->params); in kadm5_init2()
361 handle->params.enctype = ENCTYPE_UNKNOWN; in kadm5_init2()
366 && handle->params.mkey_from_kbd) in kadm5_init2()
392 ret = init_dict(&handle->params); in kadm5_init2()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dclc.h190 #define ELINK_SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1) argument
192 #define ELINK_SINGLE_MEDIA(params) (params->num_phys == 2) argument
194 #define ELINK_DUAL_MEDIA(params) (params->num_phys == 3) argument
242 struct elink_params *params);
244 struct elink_params *params);
248 struct elink_params *params, u8 mode);
250 struct elink_params *params, u32 action);
577 struct elink_params *params, u8 dev_addr,
648 } params; member
691 struct elink_params *params);
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dexternal.c245 if (!params in external_client_mech_new()
246 || !params->utils in external_client_mech_new()
247 || !params->utils->conn in external_client_mech_new()
270 sasl_client_params_t *params, in external_client_mech_step() argument
283 if (!params in external_client_mech_step()
284 || !params->utils in external_client_mech_step()
285 || !params->utils->conn in external_client_mech_step()
286 || !params->utils->getcallback in external_client_mech_step()
352 result = params->canon_user(params->utils->conn, in external_client_mech_step()
356 result = params->canon_user(params->utils->conn, in external_client_mech_step()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxcfg.c256 lmdevice->params.stats_ticks = option; in bnx_cfg_init()
267 lmdevice->params.tx_ticks = option; in bnx_cfg_init()
278 lmdevice->params.tx_ticks_int = option; in bnx_cfg_init()
289 lmdevice->params.rx_ticks = option; in bnx_cfg_init()
300 lmdevice->params.rx_ticks_int = option; in bnx_cfg_init()
314 lmdevice->params.tx_quick_cons_trip = in bnx_cfg_init()
338 lmdevice->params.rx_quick_cons_trip = in bnx_cfg_init()
470 lmdevice->params.selective_autoneg = in bnx_cfg_map_serdes()
484 lmdevice->params.selective_autoneg = in bnx_cfg_map_serdes()
551 lmdevice->params.selective_autoneg = in bnx_cfg_map_copper()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c22 u8_t max_num = pf_dev->params.base_fw_ndsb + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_sbs()
35 … u8_t max_num = pf_dev->params.base_fw_client_id + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_clients()
48 …_t min_num = pf_dev->params.vnics_per_port + VNIC_ID(pf_dev) * ((MAX_NUM_OF_STATS - pf_dev->params in lm_vf_get_free_stats()
49 …u8_t max_num = min_num + (MAX_NUM_OF_STATS - pf_dev->params.vnics_per_port) / pf_dev->params.vnics… in lm_vf_get_free_stats()
112 …pdev->params.vf_num_in_pf = pdev->params.vf_num_in_path - PFDEV(pdev)->hw_info.sriov_info.first_vf… in lm_vf_get_vf_id()
306 pdev->params.base_fw_client_id = lm_vf_get_free_clients(PFDEV(pdev),pdev->params.sb_cnt); in lm_vf_allocate_resc_in_pf()
307 pdev->params.base_fw_ndsb = lm_vf_get_free_sbs(PFDEV(pdev),pdev->params.sb_cnt); in lm_vf_allocate_resc_in_pf()
316 …_acquire_resource(PFDEV(pdev)->pf_resources.free_sbs, pdev->params.base_fw_ndsb, pdev->params.sb_c… in lm_vf_allocate_resc_in_pf()
323 pdev->params.base_fw_qzone_id = pdev->params.base_fw_ndsb; in lm_vf_allocate_resc_in_pf()
329 …pdev->params.base_fw_client_id, pdev->params.base_fw_ndsb, pdev->params.base_cam_offset, pdev->par… in lm_vf_allocate_resc_in_pf()
[all …]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_object.c45 kcf_req_params_t params; in crypto_object_create() local
70 &params, B_FALSE); in crypto_object_create()
82 kcf_req_params_t params; in crypto_object_destroy() local
107 &params, B_FALSE); in crypto_object_destroy()
120 kcf_req_params_t params; in crypto_object_copy() local
146 &params, B_FALSE); in crypto_object_copy()
159 kcf_req_params_t params; in crypto_object_get_attribute_value() local
185 &params, B_FALSE); in crypto_object_get_attribute_value()
224 &params, B_FALSE); in crypto_object_set_attribute_value()
261 &params, B_FALSE); in crypto_object_get_size()
[all …]

12345678910>>...14