/Linux-v5.10/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 254 struct vb2_plane *pdst = &planes[plane]; in vb2_fill_vb2_v4l2_buffer() local 261 pdst->bytesused = psrc->bytesused; in vb2_fill_vb2_v4l2_buffer() 263 pdst->bytesused = psrc->bytesused ? in vb2_fill_vb2_v4l2_buffer() 264 psrc->bytesused : pdst->length; in vb2_fill_vb2_v4l2_buffer() 265 pdst->data_offset = psrc->data_offset; in vb2_fill_vb2_v4l2_buffer() 551 struct v4l2_plane *pdst = &b->m.planes[plane]; in __fill_v4l2_buffer() local 554 pdst->bytesused = psrc->bytesused; in __fill_v4l2_buffer() 555 pdst->length = psrc->length; in __fill_v4l2_buffer() 557 pdst->m.mem_offset = psrc->m.offset; in __fill_v4l2_buffer() 559 pdst->m.userptr = psrc->m.userptr; in __fill_v4l2_buffer() [all …]
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 221 l4_mask->pdst, l4_val->pdst); in parse_tcp4() 234 l4_mask->pdst, l4_val->pdst); in parse_udp4() 277 l4_mask->pdst, l4_val->pdst); in parse_tcp6() 290 l4_mask->pdst, l4_val->pdst); in parse_udp6() 530 if (l4_mask->pdst) in validate_tcpudp4() 588 if (l4_mask->pdst) in validate_tcpudp6()
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 157 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry() 161 fsp->m_u.tcp_ip4_spec.pdst = rule->mask.v4.dst_port; in ice_get_ethtool_fdir_entry() 189 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry() 197 fsp->m_u.tcp_ip6_spec.pdst = rule->mask.v6.dst_port; in ice_get_ethtool_fdir_entry() 777 !tcp_ip4_spec->pdst && !tcp_ip4_spec->ip4dst) in ice_set_fdir_ip4_seg() 831 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in ice_set_fdir_ip4_seg() 835 else if (!tcp_ip4_spec->pdst) in ice_set_fdir_ip4_seg() 921 !tcp_ip6_spec->psrc && !tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg() 977 if (tcp_ip6_spec->pdst == htons(0xFFFF)) in ice_set_fdir_ip6_seg() 981 else if (!tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg() [all …]
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 696 ip_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule() 697 ip_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule() 725 ip6_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule() 726 ip6_mask->pdst = PORT_FULL_MASK; in efx_ethtool_get_class_rule() 987 if (ip_mask->pdst) { in efx_ethtool_set_class_rule() 988 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule() 991 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule() 1022 if (ip6_mask->pdst) { in efx_ethtool_set_class_rule() 1023 if (ip6_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule() 1026 spec.loc_port = ip6_entry->pdst; in efx_ethtool_set_class_rule()
|
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 828 ip_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule() 829 ip_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule() 857 ip6_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule() 858 ip6_mask->pdst = PORT_FULL_MASK; in ef4_ethtool_get_class_rule() 1074 if (ip_mask->pdst) { in ef4_ethtool_set_class_rule() 1075 if (ip_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule() 1078 spec.loc_port = ip_entry->pdst; in ef4_ethtool_set_class_rule() 1109 if (ip6_mask->pdst) { in ef4_ethtool_set_class_rule() 1110 if (ip6_mask->pdst != PORT_FULL_MASK) in ef4_ethtool_set_class_rule() 1113 spec.loc_port = ip6_entry->pdst; in ef4_ethtool_set_class_rule()
|
/Linux-v5.10/drivers/infiniband/core/ |
D | addr.c | 419 struct dst_entry **pdst) in addr6_resolve() argument 441 *pdst = dst; in addr6_resolve() 448 struct dst_entry **pdst) in addr6_resolve() argument
|
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 434 if (l4_mask->pdst) { in dpaa2_eth_prep_l4_rule() 436 *(__be16 *)(key + off) = l4_value->pdst; in dpaa2_eth_prep_l4_rule() 437 *(__be16 *)(mask + off) = l4_mask->pdst; in dpaa2_eth_prep_l4_rule()
|
/Linux-v5.10/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 448 fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst; in enic_grxclsrule() 449 fsp->m_u.tcp_ip4_spec.pdst = (__u16)~0; in enic_grxclsrule()
|
/Linux-v5.10/net/ethtool/ |
D | ioctl.c | 2952 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create() 2953 match->key.tp.dst = v4_spec->pdst; in ethtool_rx_flow_rule_create() 2954 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create() 2957 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3004 if (v6_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3005 match->key.tp.dst = v6_spec->pdst; in ethtool_rx_flow_rule_create() 3006 match->mask.tp.dst = v6_m_spec->pdst; in ethtool_rx_flow_rule_create() 3009 v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
|
/Linux-v5.10/include/uapi/linux/ |
D | ethtool.h | 849 __be16 pdst; member 903 __be16 pdst; member
|
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ethtool.c | 351 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry() 352 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 534 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-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1646 fs->h_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule() 1647 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule() 1661 fs->h_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->val.lport); in cxgb4_fill_filter_rule() 1662 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(dfs->mask.lport); in cxgb4_fill_filter_rule()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1361 !all_zeros_or_all_ones(l4_mask->pdst)) in mlx4_en_validate_flow() 1523 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule() 1535 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule() 1545 if (l4_mask->pdst) in add_tcp_udp_rule()
|
/Linux-v5.10/fs/f2fs/ |
D | file.c | 1225 struct page *psrc, *pdst; in __clone_blkaddrs() local 1231 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs() 1233 if (IS_ERR(pdst)) { in __clone_blkaddrs() 1235 return PTR_ERR(pdst); in __clone_blkaddrs() 1237 f2fs_copy_page(psrc, pdst); in __clone_blkaddrs() 1238 set_page_dirty(pdst); in __clone_blkaddrs() 1239 f2fs_put_page(pdst, 1); in __clone_blkaddrs()
|
/Linux-v5.10/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 93 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-v5.10/drivers/net/ethernet/cadence/ |
D | macb_main.c | 3096 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters() 3146 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs() 3151 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs() 3153 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs() 3164 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs() 3205 htons(fs->h_u.tcp_ip4_spec.psrc), htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter() 3259 htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_del_flow_filter()
|
/Linux-v5.10/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 933 gfar_set_attribute(be16_to_cpu(value->pdst), in gfar_set_basic_ip() 934 be16_to_cpu(mask->pdst), in gfar_set_basic_ip()
|
/Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 3229 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry() 3271 fsp->m_u.tcp_ip4_spec.pdst = htons(0xFFFF); in i40e_get_ethtool_fdir_entry() 4138 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set() 4140 else if (!tcp_ip4_spec->pdst) in i40e_check_fdir_input_set() 4537 input->src_port = fsp->h_u.tcp_ip4_spec.pdst; in i40e_add_fdir_ethtool()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2555 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry() 2556 fsp->m_u.tcp_ip4_spec.pdst = mask->formatted.dst_port; in ixgbe_get_ethtool_fdir_entry() 2846 input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry() 2847 mask.formatted.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
|
/Linux-v5.10/drivers/dma/ |
D | at_hdmac.c | 872 dma_addr_t pdst, in atc_create_memset_desc() argument 900 desc->lli.daddr = pdst; in atc_create_memset_desc()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1015 fs->h_u.tcp_ip4_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule() 1016 fs->m_u.tcp_ip4_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule() 1038 fs->h_u.tcp_ip6_spec.pdst = fkeys->ports.dst; in bnxt_grxclsrule() 1039 fs->m_u.tcp_ip6_spec.pdst = cpu_to_be16(~0); in bnxt_grxclsrule()
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1358 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry() 1367 fsp->h_u.tcp_ip6_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5357 if (!spec->pdst) in hclge_fd_check_tcpip4_tuple() 5417 if (!spec->pdst) in hclge_fd_check_tcpip6_tuple() 5681 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst); in hclge_fd_get_tuple() 5683 be16_to_cpu(fs->m_u.tcp_ip4_spec.pdst); in hclge_fd_get_tuple() 5730 rule->tuples.dst_port = be16_to_cpu(fs->h_u.tcp_ip6_spec.pdst); in hclge_fd_get_tuple() 5732 be16_to_cpu(fs->m_u.tcp_ip6_spec.pdst); in hclge_fd_get_tuple() 6070 spec->pdst = cpu_to_be16(rule->tuples.dst_port); in hclge_fd_get_tcpip4_info() 6071 spec_mask->pdst = rule->unused_tuple & BIT(INNER_DST_PORT) ? in hclge_fd_get_tcpip4_info() 6126 spec->pdst = cpu_to_be16(rule->tuples.dst_port); in hclge_fd_get_tcpip6_info() 6127 spec_mask->pdst = rule->unused_tuple & BIT(INNER_DST_PORT) ? in hclge_fd_get_tcpip6_info()
|
/Linux-v5.10/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1957 fsp->h_u.tcp_ip4_spec.pdst = 0; in mtk_hwlro_get_fdir_entry() 1958 fsp->m_u.tcp_ip4_spec.pdst = 0xffff; in mtk_hwlro_get_fdir_entry()
|