Home
last modified time | relevance | path

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

/linux/drivers/net/fddi/skfp/
A Dess.c498 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
503 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response()
508 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response()
528 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_response()
589 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
594 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_alc_req()
604 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req()
611 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; in ess_send_alc_req()
641 req->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_alc_req()
646 req->tneg.para.p_len = sizeof(struct smt_p_001b) - PARA_LEN ; in ess_send_alc_req()
[all …]
A Dpmf.c370 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { in smt_build_pmf_response()
382 if (!set && (pa->p_len != 4)) { in smt_build_pmf_response()
411 if (!set && (pa->p_len != 0)) { in smt_build_pmf_response()
467 len -= pa->p_len + PARA_LEN ; in smt_build_pmf_response()
518 if (pa->p_len != 8) in smt_authorize()
1044 pa->p_len = plen - len - PARA_LEN ; in smt_add_para()
1093 len = pa->p_len ; in smt_set_para()
1589 printf("TYPE %x LEN %x VALUE\t",pa->p_type,pa->p_len) ; in dump_smt()
1591 printf("TYPE %04x LEN %2x VALUE\t",pa->p_type,pa->p_len) ; in dump_smt()
1593 n = pa->p_len ; in dump_smt()
[all …]
A Dsmt.c881 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; in smt_send_rdf()
886 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; in smt_send_rdf()
904 rdf->refused.para.p_len = len + 4 ; in smt_send_rdf()
1343 path->para.p_len = len - PARA_LEN ; in smt_fill_path()
1529 echo->para.p_len = len ; in smt_fill_echo()
1670 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; in sm_to_para()
1823 plen = pa->p_len ; in smt_swap_para()
1826 pa->p_len = smt_swap_short(pa->p_len) ; in smt_swap_para()
1828 plen = pa->p_len ; in smt_swap_para()
/linux/include/linux/
A Dfortify-string.h77 size_t p_len = __compiletime_strlen(p); in strnlen() local
81 if (__builtin_constant_p(maxlen) && p_len != (size_t)-1) { in strnlen()
84 return p_len; in strnlen()
186 size_t p_len, copy_len; in strncat() local
192 p_len = strlen(p); in strncat()
194 if (p_size < p_len + copy_len + 1) in strncat()
196 __underlying_memcpy(p + p_len, q, copy_len); in strncat()
197 p[p_len + copy_len] = '\0'; in strncat()
A Dskbuff.h395 #define skb_frag_foreach_page(f, f_off, f_len, p, p_off, p_len, copied) \ argument
398 p_len = skb_frag_must_loop(p) ? \
402 copied += p_len, p++, p_off = 0, \
403 p_len = min_t(u32, f_len - copied, PAGE_SIZE)) \
/linux/drivers/s390/crypto/
A 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()
/linux/crypto/
A Ddh.c48 static int dh_check_params_length(unsigned int p_len) in dh_check_params_length() argument
50 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ethtool.c715 int *p_len, enum mlxsw_reg_ppcnt_grp grp) in mlxsw_sp_get_hw_stats_by_group() argument
720 *p_len = MLXSW_SP_PORT_HW_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
724 *p_len = MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
728 *p_len = MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
732 *p_len = MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
736 *p_len = MLXSW_SP_PORT_HW_EXT_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
740 *p_len = MLXSW_SP_PORT_HW_DISCARD_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
744 *p_len = MLXSW_SP_PORT_HW_PRIO_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
748 *p_len = MLXSW_SP_PORT_HW_TC_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
/linux/net/core/
A Dskbuff.c857 u32 p_off, p_len, copied; in skb_dump() local
1447 u32 p_off, p_len, copied; in skb_copy_ubufs() local
1456 while (done < p_len) { in skb_copy_ubufs()
2346 u32 p_off, p_len, copied; in skb_copy_bits() local
2748 u32 p_off, p_len, copied; in skb_store_bits() local
2827 u32 p_off, p_len, copied; in __skb_checksum() local
2841 vaddr + p_off, p_len, 0); in __skb_checksum()
2846 pos += p_len; in __skb_checksum()
2927 u32 p_off, p_len, copied; in skb_copy_and_csum_bits() local
2941 p_len); in skb_copy_and_csum_bits()
[all …]
/linux/drivers/net/fddi/skfp/h/
A Dsmt.h105 u_short p_len ; /* length of parameter */ member
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/linux/drivers/scsi/elx/efct/
A Defct_hw_queues.c529 u32 p_len; in efct_hw_rqpair_process_rq() local
590 sli_fc_rqe_length(&hw->sli, cqe, &h_len, &p_len); in efct_hw_rqpair_process_rq()
592 seq->payload->dma.len = p_len; in efct_hw_rqpair_process_rq()
/linux/drivers/net/ethernet/cavium/thunder/
A Dnicvf_queues.c1265 unsigned int p_len = sh->gso_size; in nicvf_tso_count_subdescs() local
1277 for (num_edescs++; p_used < p_len; num_edescs++) { in nicvf_tso_count_subdescs()
1286 n = p_len - p_used; in nicvf_tso_count_subdescs()
1294 data_len -= p_len; in nicvf_tso_count_subdescs()
1295 if (data_len < p_len) in nicvf_tso_count_subdescs()
1296 p_len = data_len; in nicvf_tso_count_subdescs()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_l2.c1599 u32 *p_len, u16 statistics_bin) in __qed_get_vport_pstats_addrlen() argument
1604 *p_len = sizeof(struct eth_pstorm_per_queue_stat); in __qed_get_vport_pstats_addrlen()
1610 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1675 u32 *p_len, u16 statistics_bin) in __qed_get_vport_ustats_addrlen() argument
1680 *p_len = sizeof(struct eth_ustorm_per_queue_stat); in __qed_get_vport_ustats_addrlen()
1686 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen()
1716 u32 *p_len, u16 statistics_bin) in __qed_get_vport_mstats_addrlen() argument
1721 *p_len = sizeof(struct eth_mstorm_per_queue_stat); in __qed_get_vport_mstats_addrlen()
1727 *p_len = p_resp->pfdev_info.stats_info.mstats.len; in __qed_get_vport_mstats_addrlen()
A Dqed_mcp.h1322 u32 *p_len);
A Dqed_mcp.c3978 u32 *p_len) in qed_mcp_nvm_get_cfg() argument
4000 mb_param, &resp, &param, p_len, in qed_mcp_nvm_get_cfg()
/linux/fs/btrfs/
A Dsysfs.c784 size_t p_len; in btrfs_label_store() local
796 p_len = strcspn(buf, "\n"); in btrfs_label_store()
798 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()
803 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store()
/linux/drivers/crypto/qat/qat_common/
A Dqat_asym_algs.c379 static int qat_dh_check_params_length(unsigned int p_len) in qat_dh_check_params_length() argument
381 switch (p_len) { in qat_dh_check_params_length()
/linux/tools/perf/
A Dbuiltin-timechart.c480 size_t p_len; in cat_backtrace() local
484 FILE *f = open_memstream(&p, &p_len); in cat_backtrace()

Completed in 81 milliseconds