/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 253 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.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 242 l4_mask->pdst, l4_val->pdst); in parse_tcp4() 255 l4_mask->pdst, l4_val->pdst); in parse_udp4() 298 l4_mask->pdst, l4_val->pdst); in parse_tcp6() 311 l4_mask->pdst, l4_val->pdst); in parse_udp6() 586 if (l4_mask->pdst) in validate_tcpudp4() 644 if (l4_mask->pdst) in validate_tcpudp6()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
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.6.21/drivers/net/ethernet/sfc/siena/ |
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.6.21/drivers/net/ethernet/sfc/ |
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.6.21/drivers/net/ethernet/sfc/falcon/ |
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.6.21/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 1089 fsp->h_u.tcp_ip4_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry() 1094 fsp->m_u.tcp_ip4_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry() 1130 fsp->h_u.tcp_ip6_spec.pdst = rule->ip_data.dst_port; in iavf_get_ethtool_fdir_entry() 1137 fsp->m_u.tcp_ip6_spec.pdst = rule->ip_mask.dst_port; in iavf_get_ethtool_fdir_entry() 1277 fltr->ip_data.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in iavf_add_fdir_fltr_info() 1282 fltr->ip_mask.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in iavf_add_fdir_fltr_info() 1319 fltr->ip_data.dst_port = fsp->h_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info() 1326 fltr->ip_mask.dst_port = fsp->m_u.tcp_ip6_spec.pdst; in iavf_add_fdir_fltr_info()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp.c | 338 &match->pdst, &mask->pdst, in bcmasp_netfilt_tcpip4_wr() 339 sizeof(match->pdst)); in bcmasp_netfilt_tcpip4_wr() 368 &match->pdst, &mask->pdst, in bcmasp_netfilt_tcpip6_wr() 369 sizeof(match->pdst)); in bcmasp_netfilt_tcpip6_wr()
|
/linux-6.6.21/drivers/infiniband/core/ |
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.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_flows.c | 627 if (ipv4_l4_mask->pdst) { in otx2_prepare_ipv4_flow() 628 memcpy(&pkt->dport, &ipv4_l4_hdr->pdst, in otx2_prepare_ipv4_flow() 630 memcpy(&pmask->dport, &ipv4_l4_mask->pdst, in otx2_prepare_ipv4_flow() 757 if (ipv6_l4_mask->pdst) { in otx2_prepare_ipv6_flow() 758 memcpy(&pkt->dport, &ipv6_l4_hdr->pdst, in otx2_prepare_ipv6_flow() 760 memcpy(&pmask->dport, &ipv6_l4_mask->pdst, in otx2_prepare_ipv6_flow()
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
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.6.21/drivers/net/ethernet/cisco/enic/ |
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.6.21/net/ethtool/ |
D | ioctl.c | 3219 if (v4_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3220 match->key.tp.dst = v4_spec->pdst; in ethtool_rx_flow_rule_create() 3221 match->mask.tp.dst = v4_m_spec->pdst; in ethtool_rx_flow_rule_create() 3224 v4_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3271 if (v6_m_spec->pdst) { in ethtool_rx_flow_rule_create() 3272 match->key.tp.dst = v6_spec->pdst; in ethtool_rx_flow_rule_create() 3273 match->mask.tp.dst = v6_m_spec->pdst; in ethtool_rx_flow_rule_create() 3276 v6_m_spec->pdst) { in ethtool_rx_flow_rule_create()
|
/linux-6.6.21/include/uapi/linux/ |
D | ethtool.h | 980 __be16 pdst; member 1034 __be16 pdst; member
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/i40e/ |
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.6.21/drivers/net/ethernet/mellanox/mlx4/ |
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.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
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.6.21/fs/f2fs/ |
D | file.c | 1306 struct page *psrc, *pdst; in __clone_blkaddrs() local 1312 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs() 1314 if (IS_ERR(pdst)) { in __clone_blkaddrs() 1316 return PTR_ERR(pdst); in __clone_blkaddrs() 1318 memcpy_page(pdst, 0, psrc, 0, PAGE_SIZE); in __clone_blkaddrs() 1319 set_page_dirty(pdst); in __clone_blkaddrs() 1320 set_page_private_gcing(pdst); in __clone_blkaddrs() 1321 f2fs_put_page(pdst, 1); in __clone_blkaddrs()
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ethtool.c | 546 rfse.dport_h = ntohs(l4ip4_h->pdst); in enetc_set_cls_entry() 547 rfse.dport_m = ntohs(l4ip4_m->pdst); in enetc_set_cls_entry()
|
/linux-6.6.21/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 943 gfar_set_attribute(be16_to_cpu(value->pdst), in gfar_set_basic_ip() 944 be16_to_cpu(mask->pdst), in gfar_set_basic_ip()
|
/linux-6.6.21/drivers/net/ethernet/cadence/ |
D | macb_main.c | 3467 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters() 3520 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs() 3525 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs() 3527 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs() 3538 w0 = GEM_BFINS(T2CMP, tp4sp_v->pdst, w0); in gem_prog_cmp_regs() 3580 be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter() 3634 be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst)); in gem_del_flow_filter()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
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() 2879 input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry() 2880 mask.formatted.dst_port = fsp->m_u.tcp_ip4_spec.pdst; in ixgbe_add_ethtool_fdir_entry()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
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()
|