/linux-6.3-rc2/drivers/media/common/videobuf2/ |
A D | videobuf2-v4l2.c | 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() 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() 530 pdst->m.fd = psrc->m.fd; in __fill_v4l2_buffer() 531 pdst->data_offset = psrc->data_offset; in __fill_v4l2_buffer() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 246 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.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_ethtool_fdir.c | 158 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.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | ethtool_common.c | 691 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.3-rc2/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 838 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.3-rc2/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 691 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() 982 if (ip_mask->pdst) { in efx_ethtool_set_class_rule() 983 if (ip_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule() 986 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule() 1017 if (ip6_mask->pdst) { in efx_ethtool_set_class_rule() 1018 if (ip6_mask->pdst != PORT_FULL_MASK) in efx_ethtool_set_class_rule() 1021 spec.loc_port = ip6_entry->pdst; in efx_ethtool_set_class_rule()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1091 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.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_flows.c | 625 if (ipv4_l4_mask->pdst) { in otx2_prepare_ipv4_flow() 626 memcpy(&pkt->dport, &ipv4_l4_hdr->pdst, in otx2_prepare_ipv4_flow() 628 memcpy(&pmask->dport, &ipv4_l4_mask->pdst, in otx2_prepare_ipv4_flow() 755 if (ipv6_l4_mask->pdst) { in otx2_prepare_ipv6_flow() 756 memcpy(&pkt->dport, &ipv6_l4_hdr->pdst, in otx2_prepare_ipv6_flow() 758 memcpy(&pmask->dport, &ipv6_l4_mask->pdst, in otx2_prepare_ipv6_flow()
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | addr.c | 420 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.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 466 if (l4_mask->pdst) { in dpaa2_eth_prep_l4_rule() 468 *(__be16 *)(key + off) = l4_value->pdst; in dpaa2_eth_prep_l4_rule() 469 *(__be16 *)(mask + off) = l4_mask->pdst; in dpaa2_eth_prep_l4_rule()
|
/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/ |
A D | enic_ethtool.c | 441 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.3-rc2/net/ethtool/ |
A D | ioctl.c | 3207 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3208 match->key.tp.dst = v4_spec->pdst; in ethtool_rx_flow_rule_create() 3209 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create() 3212 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3259 if (v6_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3260 match->key.tp.dst = v6_spec->pdst; in ethtool_rx_flow_rule_create() 3261 match->mask.tp.dst = v6_m_spec->pdst; in ethtool_rx_flow_rule_create() 3264 v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | ethtool.h | 980 __be16 pdst; member 1034 __be16 pdst; member
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/ |
A 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-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_ethtool.c | 3392 fsp->h_u.tcp_ip6_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry() 3403 fsp->h_u.tcp_ip4_spec.pdst = rule->src_port; in i40e_get_ethtool_fdir_entry() 3472 fsp->m_u.tcp_ip4_spec.pdst = htons(0xFFFF); in i40e_get_ethtool_fdir_entry() 4390 if (tcp_ip4_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set() 4392 else if (!tcp_ip4_spec->pdst) in i40e_check_fdir_input_set() 4438 if (tcp_ip6_spec->pdst == htons(0xFFFF)) in i40e_check_fdir_input_set() 4440 else if (!tcp_ip6_spec->pdst) in i40e_check_fdir_input_set() 4892 input->src_port = fsp->h_u.tcp_ip6_spec.pdst; in i40e_add_fdir_ethtool() 4904 input->src_port = fsp->h_u.tcp_ip4_spec.pdst; in i40e_add_fdir_ethtool()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_ethtool.c | 1372 !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.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_ethtool.c | 1666 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.3-rc2/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_ethtool.c | 530 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry() 531 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
|
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/ |
A 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-6.3-rc2/fs/f2fs/ |
A D | file.c | 1308 struct page *psrc, *pdst; in __clone_blkaddrs() local 1314 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs() 1316 if (IS_ERR(pdst)) { in __clone_blkaddrs() 1318 return PTR_ERR(pdst); in __clone_blkaddrs() 1320 memcpy_page(pdst, 0, psrc, 0, PAGE_SIZE); in __clone_blkaddrs() 1321 set_page_dirty(pdst); in __clone_blkaddrs() 1322 f2fs_put_page(pdst, 1); in __clone_blkaddrs()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/ |
A D | gianfar_ethtool.c | 941 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.3-rc2/drivers/net/ethernet/cadence/ |
A D | macb_main.c | 3436 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters() 3489 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs() 3494 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs() 3496 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs() 3507 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs() 3549 be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter() 3603 be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst)); in gem_del_flow_filter()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 2579 fsp->h_u.tcp_ip4_spec.pdst = rule->filter.formatted.dst_port; in ixgbe_get_ethtool_fdir_entry() 2580 fsp->m_u.tcp_ip4_spec.pdst = mask->formatted.dst_port; in ixgbe_get_ethtool_fdir_entry() 2870 input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry() 2871 mask.formatted.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
|
/linux-6.3-rc2/drivers/dma/ |
A D | at_hdmac.c | 1039 dma_addr_t psrc, dma_addr_t pdst, size_t len) in atdma_create_memset_lli() argument 1063 lli->daddr = pdst; in atdma_create_memset_lli()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 1349 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry() 1358 fsp->h_u.tcp_ip6_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
|