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

/linux-master/drivers/net/fddi/skfp/
H A Dess.c498 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ;
503 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ;
508 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ;
515 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ;
521 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ;
528 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ;
589 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ;
594 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ;
604 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ;
611 req->pl_req.para.p_len
[all...]
H A Dpmf.c370 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) {
382 if (!set && (pa->p_len != 4)) {
411 if (!set && (pa->p_len != 0)) {
467 len -= pa->p_len + PARA_LEN ;
468 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ;
518 if (pa->p_len != 8)
1044 pa->p_len = plen - len - PARA_LEN ;
1093 len = pa->p_len ;
1589 printf("TYPE %x LEN %x VALUE\t",pa->p_type,pa->p_len) ;
[all...]
H A Dsmt.c881 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ;
886 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ;
904 rdf->refused.para.p_len = len + 4 ;
1343 path->para.p_len = len - PARA_LEN ;
1529 echo->para.p_len = len ;
1670 plen = ((struct smt_para *)p)->p_len + PARA_LEN ;
1823 plen = pa->p_len ;
1826 pa->p_len = smt_swap_short(pa->p_len) ;
1828 plen = pa->p_len ;
[all...]
/linux-master/include/linux/
H A Dfortify-string.h204 const size_t p_len = __compiletime_strlen(p); local
208 if (__builtin_constant_p(maxlen) && p_len != SIZE_MAX) {
211 return p_len;
345 size_t p_len, copy_len; local
352 p_len = strnlen(p, avail);
354 wanted = actual = p_len + copy_len;
357 if (avail <= p_len)
361 if (p_size <= p_len)
362 fortify_panic(FORTIFY_FUNC_strlcat, FORTIFY_READ, p_size, p_len + 1, wanted);
365 copy_len = avail - p_len
430 size_t p_len, copy_len, total; local
[all...]
H A Dskbuff.h430 * @p_len: (temp var) length in current page,
432 * @copied: (temp var) length so far, excluding current p_len.
438 #define skb_frag_foreach_page(f, f_off, f_len, p, p_off, p_len, copied) \
441 p_len = skb_frag_must_loop(p) ? \
445 copied += p_len, p++, p_off = 0, \
446 p_len = min_t(u32, f_len - copied, PAGE_SIZE)) \
/linux-master/drivers/media/platform/amphion/
H A Dvpu_helpers.h34 int vpu_helper_kmp_search(u8 *s, int s_len, const u8 *p, int p_len, int *next);
37 const u8 *p, int p_len, int *next);
/linux-master/drivers/s390/crypto/
H A Dzcrypt_cca_key.h64 * (p_len + q_len + dp_len + dq_len + u_len).
76 unsigned short p_len; member in struct:cca_pvt_ext_crt_sec
206 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c715 int *p_len, enum mlxsw_reg_ppcnt_grp grp)
720 *p_len = MLXSW_SP_PORT_HW_STATS_LEN;
724 *p_len = MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN;
728 *p_len = MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN;
732 *p_len = MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN;
736 *p_len = MLXSW_SP_PORT_HW_EXT_STATS_LEN;
740 *p_len = MLXSW_SP_PORT_HW_DISCARD_STATS_LEN;
744 *p_len = MLXSW_SP_PORT_HW_PRIO_STATS_LEN;
748 *p_len = MLXSW_SP_PORT_HW_TC_STATS_LEN;
714 mlxsw_sp_get_hw_stats_by_group(struct mlxsw_sp_port_hw_stats **p_hw_stats, int *p_len, enum mlxsw_reg_ppcnt_grp grp) argument
/linux-master/crypto/
H A Ddh.c47 static int dh_check_params_length(unsigned int p_len) argument
50 return (p_len < 2048) ? -EINVAL : 0;
52 return (p_len < 1536) ? -EINVAL : 0;
/linux-master/drivers/net/fddi/skfp/h/
H A Dsmt.h105 u_short p_len ; /* length of parameter */ member in struct:smt_para
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/linux-master/net/core/
H A Dskbuff.c1374 u32 p_off, p_len, copied; local
1379 skb_frag_size(frag), p, p_off, p_len,
1381 seg_len = min_t(int, p_len, len);
1987 u32 p_off, p_len, copied; local
1992 p, p_off, p_len, copied) {
1996 while (done < p_len) {
2001 copy = min_t(u32, psize - d_off, p_len - done);
2962 u32 p_off, p_len, copied; local
2971 copy, p, p_off, p_len, copied) {
2973 memcpy(to + copied, vaddr + p_off, p_len);
3370 u32 p_off, p_len, copied; local
3449 u32 p_off, p_len, copied; local
3549 u32 p_off, p_len, copied; local
[all...]
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c1266 unsigned int p_len = sh->gso_size; local
1278 for (num_edescs++; p_used < p_len; num_edescs++) {
1287 n = p_len - p_used;
1295 data_len -= p_len;
1296 if (data_len < p_len)
1297 p_len = data_len;
/linux-master/drivers/scsi/elx/efct/
H A Defct_hw_queues.c529 u32 p_len; local
590 sli_fc_rqe_length(&hw->sli, cqe, &h_len, &p_len);
592 seq->payload->dma.len = p_len;
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c1599 u32 *p_len, u16 statistics_bin)
1604 *p_len = sizeof(struct eth_pstorm_per_queue_stat);
1610 *p_len = p_resp->pfdev_info.stats_info.pstats.len;
1675 u32 *p_len, u16 statistics_bin)
1680 *p_len = sizeof(struct eth_ustorm_per_queue_stat);
1686 *p_len = p_resp->pfdev_info.stats_info.ustats.len;
1716 u32 *p_len, u16 statistics_bin)
1721 *p_len = sizeof(struct eth_mstorm_per_queue_stat);
1727 *p_len = p_resp->pfdev_info.stats_info.mstats.len;
1597 __qed_get_vport_pstats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) argument
1673 __qed_get_vport_ustats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) argument
1714 __qed_get_vport_mstats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) argument
H A Dqed_mcp.h1352 * @p_len: Len.
1358 u32 *p_len);
H A Dqed_mcp.c4040 u32 *p_len)
4062 mb_param, &resp, &param, p_len,
4038 qed_mcp_nvm_get_cfg(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u16 option_id, u8 entity_id, u16 flags, u8 *p_buf, u32 *p_len) argument
/linux-master/fs/btrfs/
H A Dsysfs.c1001 size_t p_len; local
1010 * p_len is the len until the first occurrence of either
1013 p_len = strcspn(buf, "\n");
1015 if (p_len >= BTRFS_LABEL_SIZE)
1020 memcpy(fs_info->super_copy->label, buf, p_len);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c384 static int qat_dh_check_params_length(unsigned int p_len) argument
386 switch (p_len) {
/linux-master/tools/perf/
H A Dbuiltin-timechart.c499 size_t p_len; local
502 FILE *f = open_memstream(&p, &p_len);

Completed in 281 milliseconds