Home
last modified time | relevance | path

Searched refs:p_len (Results 1 – 11 of 11) sorted by relevance

/drivers/net/fddi/skfp/
Dess.c499 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
504 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response()
509 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response()
516 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; in ess_send_response()
522 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; in ess_send_response()
529 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_response()
590 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
595 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_alc_req()
605 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req()
612 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; in ess_send_alc_req()
[all …]
Dpmf.c374 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { in smt_build_pmf_response()
386 if (!set && (pa->p_len != 4)) { in smt_build_pmf_response()
415 if (!set && (pa->p_len != 0)) { in smt_build_pmf_response()
471 len -= pa->p_len + PARA_LEN ; in smt_build_pmf_response()
472 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ; in smt_build_pmf_response()
522 if (pa->p_len != 8) in smt_authorize()
1048 pa->p_len = plen - len - PARA_LEN ; in smt_add_para()
1097 len = pa->p_len ; in smt_set_para()
1593 printf("TYPE %x LEN %x VALUE\t",pa->p_type,pa->p_len) ; in dump_smt()
1595 printf("TYPE %04x LEN %2x VALUE\t",pa->p_type,pa->p_len) ; in dump_smt()
[all …]
Dsmt.c885 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; in smt_send_rdf()
890 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; in smt_send_rdf()
908 rdf->refused.para.p_len = len + 4 ; in smt_send_rdf()
1347 path->para.p_len = len - PARA_LEN ; in smt_fill_path()
1533 echo->para.p_len = len ; in smt_fill_echo()
1673 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; in sm_to_para()
1842 plen = pa->p_len ; in smt_swap_para()
1845 pa->p_len = smt_swap_short(pa->p_len) ; in smt_swap_para()
1847 plen = pa->p_len ; in smt_swap_para()
/drivers/s390/crypto/
Dzcrypt_cca_key.h76 unsigned short p_len; member
218 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key()
/drivers/net/fddi/skfp/h/
Dsmt.h105 u_short p_len ; /* length of parameter */ member
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1619 u32 *p_len, u16 statistics_bin) in __qed_get_vport_pstats_addrlen() argument
1624 *p_len = sizeof(struct eth_pstorm_per_queue_stat); in __qed_get_vport_pstats_addrlen()
1630 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1695 u32 *p_len, u16 statistics_bin) in __qed_get_vport_ustats_addrlen() argument
1700 *p_len = sizeof(struct eth_ustorm_per_queue_stat); in __qed_get_vport_ustats_addrlen()
1706 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen()
1736 u32 *p_len, u16 statistics_bin) in __qed_get_vport_mstats_addrlen() argument
1741 *p_len = sizeof(struct eth_mstorm_per_queue_stat); in __qed_get_vport_mstats_addrlen()
1747 *p_len = p_resp->pfdev_info.stats_info.mstats.len; in __qed_get_vport_mstats_addrlen()
Dqed_mcp.h1224 u32 *p_len);
Dqed_mcp.c3756 u32 *p_len) in qed_mcp_nvm_get_cfg() argument
3778 mb_param, &resp, &param, p_len, (u32 *)p_buf); in qed_mcp_nvm_get_cfg()
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c1266 unsigned int p_len = sh->gso_size; in nicvf_tso_count_subdescs() local
1278 for (num_edescs++; p_used < p_len; num_edescs++) { in nicvf_tso_count_subdescs()
1287 n = p_len - p_used; in nicvf_tso_count_subdescs()
1295 data_len -= p_len; in nicvf_tso_count_subdescs()
1296 if (data_len < p_len) in nicvf_tso_count_subdescs()
1297 p_len = data_len; in nicvf_tso_count_subdescs()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c2405 int *p_len, enum mlxsw_reg_ppcnt_grp grp) in mlxsw_sp_get_hw_stats_by_group() argument
2410 *p_len = MLXSW_SP_PORT_HW_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
2414 *p_len = MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
2418 *p_len = MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
2422 *p_len = MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
2426 *p_len = MLXSW_SP_PORT_HW_DISCARD_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
2430 *p_len = MLXSW_SP_PORT_HW_PRIO_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
2434 *p_len = MLXSW_SP_PORT_HW_TC_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c429 static int qat_dh_check_params_length(unsigned int p_len) in qat_dh_check_params_length() argument
431 switch (p_len) { in qat_dh_check_params_length()