Home
last modified time | relevance | path

Searched refs:pdst (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c253 struct vb2_plane *pdst = &planes[plane]; in vb2_fill_vb2_v4l2_buffer() local
260 pdst->bytesused = psrc->bytesused; in vb2_fill_vb2_v4l2_buffer()
262 pdst->bytesused = psrc->bytesused ? in vb2_fill_vb2_v4l2_buffer()
263 psrc->bytesused : pdst->length; in vb2_fill_vb2_v4l2_buffer()
264 pdst->data_offset = psrc->data_offset; in vb2_fill_vb2_v4l2_buffer()
520 struct v4l2_plane *pdst = &b->m.planes[plane]; in __fill_v4l2_buffer() local
523 pdst->bytesused = psrc->bytesused; in __fill_v4l2_buffer()
524 pdst->length = psrc->length; in __fill_v4l2_buffer()
526 pdst->m.mem_offset = psrc->m.offset; in __fill_v4l2_buffer()
528 pdst->m.userptr = psrc->m.userptr; in __fill_v4l2_buffer()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c246 l4_mask->pdst, l4_val->pdst); in parse_tcp4()
259 l4_mask->pdst, l4_val->pdst); in parse_udp4()
302 l4_mask->pdst, l4_val->pdst); in parse_tcp6()
315 l4_mask->pdst, l4_val->pdst); in parse_udp6()
590 if (l4_mask->pdst) in validate_tcpudp4()
648 if (l4_mask->pdst) in validate_tcpudp6()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c158 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry()
162 fsp->m_u.tcp_ip4_spec.pdst = rule->mask.v4.dst_port; in ice_get_ethtool_fdir_entry()
190 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry()
198 fsp->m_u.tcp_ip6_spec.pdst = rule->mask.v6.dst_port; in ice_get_ethtool_fdir_entry()
923 !tcp_ip4_spec->pdst && !tcp_ip4_spec->ip4dst) in ice_set_fdir_ip4_seg()
977 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in ice_set_fdir_ip4_seg()
981 else if (!tcp_ip4_spec->pdst) in ice_set_fdir_ip4_seg()
1067 !tcp_ip6_spec->psrc && !tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg()
1123 if (tcp_ip6_spec->pdst == htons(0xFFFF)) in ice_set_fdir_ip6_seg()
1127 else if (!tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg()
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dethtool_common.c691 ip_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
692 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
720 ip6_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
721 ip6_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
983 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
984 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
987 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule()
1018 if (ip6_mask->pdst) { in efx_ethtool_set_class_rule()
1019 if (ip6_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1022 spec.loc_port = ip6_entry->pdst; in efx_ethtool_set_class_rule()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dethtool_common.c728 ip_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
729 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
757 ip6_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
758 ip6_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
1019 if (ip_mask->pdst) { in efx_ethtool_set_class_rule()
1020 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1023 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule()
1054 if (ip6_mask->pdst) { in efx_ethtool_set_class_rule()
1055 if (ip6_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1058 spec.loc_port = ip6_entry->pdst; in efx_ethtool_set_class_rule()
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Dethtool.c838 ip_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule()
839 ip_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
867 ip6_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule()
868 ip6_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
1084 if (ip_mask->pdst) { in ef4_ethtool_set_class_rule()
1085 if (ip_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1088 spec.loc_port = ip_entry->pdst; in ef4_ethtool_set_class_rule()
1119 if (ip6_mask->pdst) { in ef4_ethtool_set_class_rule()
1120 if (ip6_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1123 spec.loc_port = ip6_entry->pdst; in ef4_ethtool_set_class_rule()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1091 fsp->h_u.tcp_ip4_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1096 fsp->m_u.tcp_ip4_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()
1132 fsp->h_u.tcp_ip6_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry()
1139 fsp->m_u.tcp_ip6_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry()
1279 fltr->ip_data.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in iavf_add_fdir_fltr_info()
1284 fltr->ip_mask.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in iavf_add_fdir_fltr_info()
1318 fltr->ip_data.dst_port = fsp->h_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
1325 fltr->ip_mask.dst_port = fsp->m_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c602 if (ipv4_l4_mask->pdst) { in otx2_prepare_ipv4_flow()
603 memcpy(&pkt->dport, &ipv4_l4_hdr->pdst, in otx2_prepare_ipv4_flow()
605 memcpy(&pmask->dport, &ipv4_l4_mask->pdst, in otx2_prepare_ipv4_flow()
727 if (ipv6_l4_mask->pdst) { in otx2_prepare_ipv6_flow()
728 memcpy(&pkt->dport, &ipv6_l4_hdr->pdst, in otx2_prepare_ipv6_flow()
730 memcpy(&pmask->dport, &ipv6_l4_mask->pdst, in otx2_prepare_ipv6_flow()
/linux-6.1.9/drivers/infiniband/core/
Daddr.c420 struct dst_entry **pdst) in addr6_resolve() argument
442 *pdst = dst; in addr6_resolve()
449 struct dst_entry **pdst) in addr6_resolve() argument
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c436 if (l4_mask->pdst) { in dpaa2_eth_prep_l4_rule()
438 *(__be16 *)(key + off) = l4_value->pdst; in dpaa2_eth_prep_l4_rule()
439 *(__be16 *)(mask + off) = l4_mask->pdst; in dpaa2_eth_prep_l4_rule()
/linux-6.1.9/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c441 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule()
442 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule()
/linux-6.1.9/include/uapi/linux/
Dethtool.h939 __be16 pdst; member
993 __be16 pdst; member
/linux-6.1.9/net/ethtool/
Dioctl.c3170 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3171 match->key.tp.dst = v4_spec->pdst; in ethtool_rx_flow_rule_create()
3172 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create()
3175 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3222 if (v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
3223 match->key.tp.dst = v6_spec->pdst; in ethtool_rx_flow_rule_create()
3224 match->mask.tp.dst = v6_m_spec->pdst; in ethtool_rx_flow_rule_create()
3227 v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c534 ntohs(fsp->h_u.tcp_ip4_spec.pdst); in aq_set_data_fl3l4()
539 ntohs(fsp->h_u.tcp_ip6_spec.pdst); in aq_set_data_fl3l4()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3390 fsp->h_u.tcp_ip6_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3401 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry()
3470 fsp->m_u.tcp_ip4_spec.pdst = htons(0xFFFF); in i40e_get_ethtool_fdir_entry()
4388 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set()
4390 else if (!tcp_ip4_spec->pdst) in i40e_check_fdir_input_set()
4436 if (tcp_ip6_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set()
4438 else if (!tcp_ip6_spec->pdst) in i40e_check_fdir_input_set()
4890 input->src_port = fsp->h_u.tcp_ip6_spec.pdst; in i40e_add_fdir_ethtool()
4902 input->src_port = fsp->h_u.tcp_ip4_spec.pdst; in i40e_add_fdir_ethtool()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c477 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry()
478 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1372 !all_zeros_or_all_ones(l4_mask->pdst)) in mlx4_en_validate_flow()
1534 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1546 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1556 if (l4_mask->pdst) in add_tcp_udp_rule()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1666 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1667 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
1681 fs->h_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule()
1682 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dcfg80211.c93 wil_memdup_ie(u8 **pdst, size_t *pdst_len, const u8 *src, size_t src_len) in wil_memdup_ie() argument
95 kfree(*pdst); in wil_memdup_ie()
96 *pdst = NULL; in wil_memdup_ie()
99 *pdst = kmemdup(src, src_len, GFP_KERNEL); in wil_memdup_ie()
100 if (*pdst) in wil_memdup_ie()
/linux-6.1.9/fs/f2fs/
Dfile.c1311 struct page *psrc, *pdst; in __clone_blkaddrs() local
1317 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1319 if (IS_ERR(pdst)) { in __clone_blkaddrs()
1321 return PTR_ERR(pdst); in __clone_blkaddrs()
1323 memcpy_page(pdst, 0, psrc, 0, PAGE_SIZE); in __clone_blkaddrs()
1324 set_page_dirty(pdst); in __clone_blkaddrs()
1325 f2fs_put_page(pdst, 1); in __clone_blkaddrs()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c941 gfar_set_attribute(be16_to_cpu(value->pdst), in gfar_set_basic_ip()
942 be16_to_cpu(mask->pdst), in gfar_set_basic_ip()
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c3368 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters()
3421 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs()
3426 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs()
3428 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs()
3439 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs()
3481 be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter()
3535 be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst)); in gem_del_flow_filter()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2548 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()
2549 fsp->m_u.tcp_ip4_spec.pdst = mask->formatted.dst_port; in ixgbe_get_ethtool_fdir_entry()
2839 input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
2840 mask.formatted.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
/linux-6.1.9/drivers/dma/
Dat_hdmac.c854 dma_addr_t pdst, in atc_create_memset_desc() argument
882 desc->lli.daddr = pdst; in atc_create_memset_desc()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1069 fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1070 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule()
1092 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule()
1093 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule()

12