Home
last modified time | relevance | path

Searched refs:psrc (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/arch/um/kernel/
Dmaccess.c12 void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE); in copy_from_kernel_nofault_allowed() local
16 if (os_mincore(psrc, size + src - psrc) <= 0) in copy_from_kernel_nofault_allowed()
/kernel/linux/linux-5.10/drivers/media/usb/zr364xx/
Dzr364xx.c557 unsigned char *psrc; in zr364xx_read_video_callback() local
579 psrc = (u8 *)pipe_info->transfer_buffer; in zr364xx_read_video_callback()
600 memcpy(ptr, psrc, 64); in zr364xx_read_video_callback()
605 memcpy(ptr, psrc + 64, 64); in zr364xx_read_video_callback()
609 memcpy(ptr, psrc + 128, in zr364xx_read_video_callback()
613 psrc[0], psrc[1], psrc[2], in zr364xx_read_video_callback()
614 psrc[3], psrc[4], psrc[5], in zr364xx_read_video_callback()
615 psrc[6], psrc[7], psrc[8]); in zr364xx_read_video_callback()
624 memcpy(pdest, psrc, purb->actual_length); in zr364xx_read_video_callback()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Duaccess.h178 typeof(*(ptr))*psrc = &src; \
194 : "=r"(err), "=r"(psrc), "=r"(ptr), \
196 : "0"(err), "1"(psrc), "2"(ptr), "3"(0), "4"(-EFAULT) \
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c254 struct v4l2_plane *psrc = &b->m.planes[plane]; in vb2_fill_vb2_v4l2_buffer() local
256 if (psrc->bytesused == 0) in vb2_fill_vb2_v4l2_buffer()
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()
551 struct vb2_plane *psrc = &vb->planes[plane]; in __fill_v4l2_buffer() local
553 pdst->bytesused = psrc->bytesused; in __fill_v4l2_buffer()
554 pdst->length = psrc->length; in __fill_v4l2_buffer()
556 pdst->m.mem_offset = psrc->m.offset; in __fill_v4l2_buffer()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c220 set_tcp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_tcp4()
233 set_udp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_udp4()
276 set_tcp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_tcp6()
289 set_udp(headers_c, headers_v, l4_mask->psrc, l4_val->psrc, in parse_udp6()
528 if (l4_mask->psrc) in validate_tcpudp4()
586 if (l4_mask->psrc) in validate_tcpudp6()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool_fdir.c156 fsp->h_u.tcp_ip4_spec.psrc = rule->ip.v4.src_port; in ice_get_ethtool_fdir_entry()
160 fsp->m_u.tcp_ip4_spec.psrc = rule->mask.v4.src_port; in ice_get_ethtool_fdir_entry()
188 fsp->h_u.tcp_ip6_spec.psrc = rule->ip.v6.src_port; in ice_get_ethtool_fdir_entry()
196 fsp->m_u.tcp_ip6_spec.psrc = rule->mask.v6.src_port; in ice_get_ethtool_fdir_entry()
776 if (!tcp_ip4_spec->psrc && !tcp_ip4_spec->ip4src && in ice_set_fdir_ip4_seg()
821 if (tcp_ip4_spec->psrc == htons(0xFFFF)) in ice_set_fdir_ip4_seg()
825 else if (!tcp_ip4_spec->psrc) in ice_set_fdir_ip4_seg()
921 !tcp_ip6_spec->psrc && !tcp_ip6_spec->pdst) in ice_set_fdir_ip6_seg()
967 if (tcp_ip6_spec->psrc == htons(0xFFFF)) in ice_set_fdir_ip6_seg()
971 else if (!tcp_ip6_spec->psrc) in ice_set_fdir_ip6_seg()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dethtool_common.c694 ip_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
695 ip_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
723 ip6_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
724 ip6_mask->psrc = PORT_FULL_MASK; in efx_ethtool_get_class_rule()
987 if (ip_mask->psrc) { in efx_ethtool_set_class_rule()
988 if (ip_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
991 spec.rem_port = ip_entry->psrc; in efx_ethtool_set_class_rule()
1022 if (ip6_mask->psrc) { in efx_ethtool_set_class_rule()
1023 if (ip6_mask->psrc != PORT_FULL_MASK) in efx_ethtool_set_class_rule()
1026 spec.rem_port = ip6_entry->psrc; in efx_ethtool_set_class_rule()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dethtool.c832 ip_entry->psrc = spec.rem_port; in ef4_ethtool_get_class_rule()
833 ip_mask->psrc = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
861 ip6_entry->psrc = spec.rem_port; in ef4_ethtool_get_class_rule()
862 ip6_mask->psrc = PORT_FULL_MASK; in ef4_ethtool_get_class_rule()
1080 if (ip_mask->psrc) { in ef4_ethtool_set_class_rule()
1081 if (ip_mask->psrc != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1084 spec.rem_port = ip_entry->psrc; in ef4_ethtool_set_class_rule()
1115 if (ip6_mask->psrc) { in ef4_ethtool_set_class_rule()
1116 if (ip6_mask->psrc != PORT_FULL_MASK) in ef4_ethtool_set_class_rule()
1119 spec.rem_port = ip6_entry->psrc; in ef4_ethtool_set_class_rule()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_vb2.c264 unsigned char *psrc = (unsigned char *)src; in dvb_vb2_fill_buffer() local
302 memcpy(vbuf + ctx->offset, psrc, ll); in dvb_vb2_fill_buffer()
304 psrc += ll; in dvb_vb2_fill_buffer()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c427 if (l4_mask->psrc) { in dpaa2_eth_prep_l4_rule()
429 *(__be16 *)(key + off) = l4_value->psrc; in dpaa2_eth_prep_l4_rule()
430 *(__be16 *)(mask + off) = l4_mask->psrc; in dpaa2_eth_prep_l4_rule()
/kernel/linux/linux-5.10/drivers/crypto/
Dtalitos.c875 struct scatterlist *psrc; member
1719 if (req_ctx->psrc) in common_nonsnoop_hash_unmap()
1720 talitos_sg_unmap(dev, edesc, req_ctx->psrc, NULL, 0, 0); in common_nonsnoop_hash_unmap()
1825 sg_copy_to_buffer(req_ctx->psrc, sg_count, edesc->buf, length); in common_nonsnoop_hash()
1827 sg_count = dma_map_sg(dev, req_ctx->psrc, sg_count, in common_nonsnoop_hash()
1837 sg_count = talitos_sg_map(dev, req_ctx->psrc, length, edesc, in common_nonsnoop_hash()
1883 sg_count = talitos_sg_map(dev, req_ctx->psrc, length, edesc, in common_nonsnoop_hash()
1923 return talitos_edesc_alloc(ctx->dev, req_ctx->psrc, NULL, NULL, 0, in ahash_edesc_alloc()
2032 req_ctx->psrc = req_ctx->bufsl; in ahash_process_req()
2048 req_ctx->psrc = scatterwalk_ffwd(req_ctx->bufsl, areq->src, in ahash_process_req()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dmpic.c1224 const u32 *psrc; in mpic_alloc() local
1323 psrc = of_get_property(mpic->node, "protected-sources", &psize); in mpic_alloc()
1324 if (psrc) { in mpic_alloc()
1330 if (psrc[i] > intvec_top) in mpic_alloc()
1332 __set_bit(psrc[i], mpic->protected); in mpic_alloc()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c445 fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src; in enic_grxclsrule()
446 fsp->m_u.tcp_ip4_spec.psrc = (__u16)~0; in enic_grxclsrule()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dethtool.h250 __be16 psrc; member
272 __be16 psrc; member
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c3054 if (v4_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3055 match->key.tp.src = v4_spec->psrc; in ethtool_rx_flow_rule_create()
3056 match->mask.tp.src = v4_m_spec->psrc; in ethtool_rx_flow_rule_create()
3062 if (v4_m_spec->psrc || in ethtool_rx_flow_rule_create()
3106 if (v6_m_spec->psrc) { in ethtool_rx_flow_rule_create()
3107 match->key.tp.src = v6_spec->psrc; in ethtool_rx_flow_rule_create()
3108 match->mask.tp.src = v6_m_spec->psrc; in ethtool_rx_flow_rule_create()
3114 if (v6_m_spec->psrc || in ethtool_rx_flow_rule_create()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dethtool.h305 __be16 psrc; member
327 __be16 psrc; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dethtool.h848 __be16 psrc; member
902 __be16 psrc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c349 rfse.sport_h = ntohs(l4ip4_h->psrc); in enetc_set_cls_entry()
350 rfse.sport_m = ntohs(l4ip4_m->psrc); in enetc_set_cls_entry()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c536 ntohs(fsp->h_u.tcp_ip4_spec.psrc); in aq_set_data_fl3l4()
541 ntohs(fsp->h_u.tcp_ip6_spec.psrc); in aq_set_data_fl3l4()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1360 !all_zeros_or_all_ones(l4_mask->psrc) || in mlx4_en_validate_flow()
1522 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1534 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1543 if (l4_mask->psrc) in add_tcp_udp_rule()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1656 fs->h_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1657 fs->m_u.tcp_ip6_spec.psrc = cpu_to_be16(dfs->mask.fport); in cxgb4_fill_filter_rule()
1671 fs->h_u.tcp_ip4_spec.psrc = cpu_to_be16(dfs->val.fport); in cxgb4_fill_filter_rule()
1672 fs->m_u.tcp_ip4_spec.psrc = cpu_to_be16(dfs->mask.fport); in cxgb4_fill_filter_rule()
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
Dmacb_main.c3130 if (enable && ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF))) in gem_enable_flow_filters()
3183 if ((tp4sp_m->psrc == 0xFFFF) || (tp4sp_m->pdst == 0xFFFF)) { in gem_prog_cmp_regs()
3188 if (tp4sp_m->psrc == tp4sp_m->pdst) { in gem_prog_cmp_regs()
3189 w0 = GEM_BFINS(T2MASK, tp4sp_v->psrc, w0); in gem_prog_cmp_regs()
3197 if (tp4sp_m->psrc == 0xFFFF) { /* src port */ in gem_prog_cmp_regs()
3198 w0 = GEM_BFINS(T2CMP, tp4sp_v->psrc, w0); in gem_prog_cmp_regs()
3242 htons(fs->h_u.tcp_ip4_spec.psrc), htons(fs->h_u.tcp_ip4_spec.pdst)); in gem_add_flow_filter()
3295 htons(fs->h_u.tcp_ip4_spec.psrc), in gem_del_flow_filter()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c1244 struct page *psrc, *pdst; in __clone_blkaddrs() local
1246 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs()
1248 if (IS_ERR(psrc)) in __clone_blkaddrs()
1249 return PTR_ERR(psrc); in __clone_blkaddrs()
1253 f2fs_put_page(psrc, 1); in __clone_blkaddrs()
1256 f2fs_copy_page(psrc, pdst); in __clone_blkaddrs()
1259 f2fs_put_page(psrc, 1); in __clone_blkaddrs()
/kernel/linux/linux-5.10/net/ipv6/
Dmcast.c1768 struct in6_addr *psrc; in add_grec() local
1790 if (AVAILABLE(skb) < sizeof(*psrc) + in add_grec()
1808 psrc = skb_put(skb, sizeof(*psrc)); in add_grec()
1809 *psrc = psf->sf_addr; in add_grec()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c936 gfar_set_attribute(be16_to_cpu(value->psrc), in gfar_set_basic_ip()
937 be16_to_cpu(mask->psrc), in gfar_set_basic_ip()

12