Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
H A 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 in ess_send_alc_req()
[all...]
H A 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()
[all...]
H 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()
[all...]
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/
H 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()
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 in ess_send_alc_req()
[all...]
H 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()
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()
[all...]
H 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()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dfortify-string.h168 const size_t p_len = __compiletime_strlen(p); in strnlen() local
172 if (__builtin_constant_p(maxlen) && p_len != SIZE_MAX) { in strnlen()
175 return p_len; in strnlen()
378 size_t p_len, copy_len; in strlcat() local
385 p_len = strnlen(p, avail); in strlcat()
387 wanted = actual = p_len + copy_len; in strlcat()
390 if (avail <= p_len) in strlcat()
394 if (p_size <= p_len) in strlcat()
398 copy_len = avail - p_len - 1; in strlcat()
399 actual = p_len in strlcat()
462 size_t p_len, copy_len; strncat() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dstring.h356 size_t p_len, copy_len; in strncat() local
361 p_len = strlen(p); in strncat()
363 if (p_size < p_len + copy_len + 1) in strncat()
365 __underlying_memcpy(p + p_len, q, copy_len); in strncat()
366 p[p_len + copy_len] = '\0'; in strncat()
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-6.6/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
206 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c708 int *p_len, enum mlxsw_reg_ppcnt_grp grp) in mlxsw_sp_get_hw_stats_by_group()
713 *p_len = MLXSW_SP_PORT_HW_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
717 *p_len = MLXSW_SP_PORT_HW_RFC_2863_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
721 *p_len = MLXSW_SP_PORT_HW_RFC_2819_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
725 *p_len = MLXSW_SP_PORT_HW_RFC_3635_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
729 *p_len = MLXSW_SP_PORT_HW_EXT_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
733 *p_len = MLXSW_SP_PORT_HW_DISCARD_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
737 *p_len = MLXSW_SP_PORT_HW_PRIO_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
741 *p_len = MLXSW_SP_PORT_HW_TC_STATS_LEN; in mlxsw_sp_get_hw_stats_by_group()
707 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) mlxsw_sp_get_hw_stats_by_group() argument
/kernel/linux/linux-5.10/crypto/
H 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()
/kernel/linux/linux-5.10/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
218 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key()
/kernel/linux/linux-6.6/crypto/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ethtool.c715 int *p_len, enum mlxsw_reg_ppcnt_grp grp) in mlxsw_sp_get_hw_stats_by_group()
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()
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) mlxsw_sp_get_hw_stats_by_group() argument
/kernel/linux/linux-5.10/net/core/
H A Dskbuff.c793 u32 p_off, p_len, copied; in skb_dump() local
798 skb_frag_size(frag), p, p_off, p_len, in skb_dump()
800 seg_len = min_t(int, p_len, len); in skb_dump()
1382 u32 p_off, p_len, copied; in skb_copy_ubufs() local
1387 p, p_off, p_len, copied) { in skb_copy_ubufs()
1391 while (done < p_len) { in skb_copy_ubufs()
1396 copy = min_t(u32, PAGE_SIZE - d_off, p_len - done); in skb_copy_ubufs()
2244 u32 p_off, p_len, copied; in skb_copy_bits() local
2253 copy, p, p_off, p_len, copied) { in skb_copy_bits()
2255 memcpy(to + copied, vaddr + p_off, p_len); in skb_copy_bits()
2605 u32 p_off, p_len, copied; skb_store_bits() local
2684 u32 p_off, p_len, copied; __skb_checksum() local
2784 u32 p_off, p_len, copied; skb_copy_and_csum_bits() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dskbuff.c1225 u32 p_off, p_len, copied; in skb_dump() local
1230 skb_frag_size(frag), p, p_off, p_len, in skb_dump()
1232 seg_len = min_t(int, p_len, len); in skb_dump()
1836 u32 p_off, p_len, copied; in skb_copy_ubufs() local
1841 p, p_off, p_len, copied) { in skb_copy_ubufs()
1845 while (done < p_len) { in skb_copy_ubufs()
1850 copy = min_t(u32, psize - d_off, p_len - done); in skb_copy_ubufs()
2810 u32 p_off, p_len, copied; in skb_copy_bits() local
2819 copy, p, p_off, p_len, copied) { in skb_copy_bits()
2821 memcpy(to + copied, vaddr + p_off, p_len); in skb_copy_bits()
3218 u32 p_off, p_len, copied; skb_store_bits() local
3297 u32 p_off, p_len, copied; __skb_checksum() local
3397 u32 p_off, p_len, copied; skb_copy_and_csum_bits() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
H 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()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
H A Dsmt.h105 u_short p_len ; /* length of parameter */ member
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/
H A Dsmt.h105 u_short p_len ; /* length of parameter */ member
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c1598 u32 *p_len, u16 statistics_bin) in __qed_get_vport_pstats_addrlen()
1603 *p_len = sizeof(struct eth_pstorm_per_queue_stat); in __qed_get_vport_pstats_addrlen()
1609 *p_len = p_resp->pfdev_info.stats_info.pstats.len; in __qed_get_vport_pstats_addrlen()
1674 u32 *p_len, u16 statistics_bin) in __qed_get_vport_ustats_addrlen()
1679 *p_len = sizeof(struct eth_ustorm_per_queue_stat); in __qed_get_vport_ustats_addrlen()
1685 *p_len = p_resp->pfdev_info.stats_info.ustats.len; in __qed_get_vport_ustats_addrlen()
1715 u32 *p_len, u16 statistics_bin) in __qed_get_vport_mstats_addrlen()
1720 *p_len = sizeof(struct eth_mstorm_per_queue_stat); in __qed_get_vport_mstats_addrlen()
1726 *p_len = p_resp->pfdev_info.stats_info.mstats.len; in __qed_get_vport_mstats_addrlen()
1596 __qed_get_vport_pstats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) __qed_get_vport_pstats_addrlen() argument
1672 __qed_get_vport_ustats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) __qed_get_vport_ustats_addrlen() argument
1713 __qed_get_vport_mstats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) __qed_get_vport_mstats_addrlen() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c1599 u32 *p_len, u16 statistics_bin) in __qed_get_vport_pstats_addrlen()
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()
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()
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()
1597 __qed_get_vport_pstats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) __qed_get_vport_pstats_addrlen() argument
1673 __qed_get_vport_ustats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) __qed_get_vport_ustats_addrlen() argument
1714 __qed_get_vport_mstats_addrlen(struct qed_hwfn *p_hwfn, u32 *p_addr, u32 *p_len, u16 statistics_bin) __qed_get_vport_mstats_addrlen() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dsysfs.c694 size_t p_len; in btrfs_label_store() local
703 * p_len is the len until the first occurrence of either in btrfs_label_store()
706 p_len = strcspn(buf, "\n"); in btrfs_label_store()
708 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()
713 memcpy(fs_info->super_copy->label, buf, p_len); in btrfs_label_store()

Completed in 47 milliseconds

12