Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/fddi/skfp/
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()
515 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; in ess_send_response()
521 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - 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()
[all …]
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()
468 pa = (struct smt_para *) ((char *)pa + 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()
[all …]
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-5.19.10/include/linux/
Dfortify-string.h108 size_t p_len = __compiletime_strlen(p); in strnlen() local
112 if (__builtin_constant_p(maxlen) && p_len != (size_t)-1) { in strnlen()
115 return p_len; in strnlen()
226 size_t p_len, copy_len; in strncat() local
232 p_len = strlen(p); in strncat()
234 if (p_size < p_len + copy_len + 1) in strncat()
236 __underlying_memcpy(p + p_len, q, copy_len); in strncat()
237 p[p_len + copy_len] = '\0'; in strncat()
Dskbuff.h608 #define skb_frag_foreach_page(f, f_off, f_len, p, p_off, p_len, copied) \ argument
611 p_len = skb_frag_must_loop(p) ? \
615 copied += p_len, p++, p_off = 0, \
616 p_len = min_t(u32, f_len - copied, PAGE_SIZE)) \
/linux-5.19.10/drivers/media/platform/amphion/
Dvpu_helpers.h32 int vpu_helper_kmp_search(u8 *s, int s_len, const u8 *p, int p_len, int *next);
35 const u8 *p, int p_len, int *next);
/linux-5.19.10/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()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
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-5.19.10/crypto/
Ddh.c47 static int dh_check_params_length(unsigned int p_len) in dh_check_params_length() argument
50 return (p_len < 2048) ? -EINVAL : 0; in dh_check_params_length()
52 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length()
/linux-5.19.10/net/core/
Dskbuff.c862 u32 p_off, p_len, copied; in skb_dump() local
867 skb_frag_size(frag), p, p_off, p_len, in skb_dump()
869 seg_len = min_t(int, p_len, len); in skb_dump()
1441 u32 p_off, p_len, copied; in skb_copy_ubufs() local
1446 p, p_off, p_len, copied) { in skb_copy_ubufs()
1450 while (done < p_len) { in skb_copy_ubufs()
1455 copy = min_t(u32, PAGE_SIZE - d_off, p_len - done); in skb_copy_ubufs()
2395 u32 p_off, p_len, copied; in skb_copy_bits() local
2404 copy, p, p_off, p_len, copied) { in skb_copy_bits()
2406 memcpy(to + copied, vaddr + p_off, p_len); in skb_copy_bits()
[all …]
/linux-5.19.10/drivers/net/fddi/skfp/h/
Dsmt.h105 u_short p_len ; /* length of parameter */ member
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/linux-5.19.10/drivers/scsi/elx/efct/
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-5.19.10/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()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
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()
Dqed_mcp.h1358 u32 *p_len);
Dqed_mcp.c4040 u32 *p_len) in qed_mcp_nvm_get_cfg() argument
4062 mb_param, &resp, &param, p_len, in qed_mcp_nvm_get_cfg()
/linux-5.19.10/fs/btrfs/
Dsysfs.c822 size_t p_len; in btrfs_label_store() local
834 p_len = strcspn(buf, "\n"); in btrfs_label_store()
836 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()
841 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store()
/linux-5.19.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c385 static int qat_dh_check_params_length(unsigned int p_len) in qat_dh_check_params_length() argument
387 switch (p_len) { in qat_dh_check_params_length()
/linux-5.19.10/tools/perf/
Dbuiltin-timechart.c481 size_t p_len; in cat_backtrace() local
485 FILE *f = open_memstream(&p, &p_len); in cat_backtrace()