/kernel/linux/linux-5.10/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 238 void *user_ptr, *kernel_ptr; 250 user_ptr = vmap(&dst_page, 1, VM_IOREMAP, __pgprot(__P010)); 251 if (!user_ptr) 255 ret = __copy_to_user_memcpy(user_ptr, kernel_ptr, PAGE_SIZE); 259 ret |= __copy_to_user_memcpy(user_ptr, kernel_ptr, size); 261 ret |= __copy_to_user_std(user_ptr, kernel_ptr, size); 268 ret |= __clear_user_memset(user_ptr, size); 270 ret |= __clear_user_std(user_ptr, size); 278 vunmap(user_ptr);
|
/kernel/linux/linux-5.10/net/ieee802154/ |
D | nl802154.c | 644 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_get_wpan_phy() 887 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_get_interface() 888 struct wpan_dev *wdev = info->user_ptr[1]; in nl802154_get_interface() 905 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_new_interface() 936 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_del_interface() 937 struct wpan_dev *wpan_dev = info->user_ptr[1]; in nl802154_del_interface() 949 info->user_ptr[1] = NULL; in nl802154_del_interface() 956 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_set_channel() 976 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_set_cca_mode() 1007 struct cfg802154_registered_device *rdev = info->user_ptr[0]; in nl802154_set_cca_ed_level() [all …]
|
/kernel/linux/linux-5.10/net/batman-adv/ |
D | netlink.c | 413 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_get_mesh() 442 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_set_mesh() 711 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_tp_meter_start() 768 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_tp_meter_cancel() 892 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_get_hardif() 893 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_get_hardif() 925 struct batadv_hard_iface *hard_iface = info->user_ptr[1]; in batadv_netlink_set_hardif() 926 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_set_hardif() 1102 struct batadv_softif_vlan *vlan = info->user_ptr[1]; in batadv_netlink_get_vlan() 1103 struct batadv_priv *bat_priv = info->user_ptr[0]; in batadv_netlink_get_vlan() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_probe_read_user_str.c | 11 void *user_ptr = 0; variable 20 ret = bpf_probe_read_user_str(buf, sizeof(buf), user_ptr); in on_write()
|
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
D | i18n.c | 511 char *user_ptr = user; in fmt_validate() local 515 user_ptr = next_specifier(user_ptr); in fmt_validate() 516 if (template_ptr && user_ptr) { in fmt_validate() 518 valid = compare_specifiers(&template_ptr, &user_ptr); in fmt_validate() 523 if (template_ptr || user_ptr) in fmt_validate()
|
/kernel/linux/linux-5.10/net/wireless/ |
D | nl80211.c | 2818 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_get_wiphy() 3077 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_set_channel() 3078 struct net_device *netdev = info->user_ptr[1]; in nl80211_set_channel() 3085 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_set_wds_peer() 3086 struct net_device *dev = info->user_ptr[1]; in nl80211_set_wds_peer() 3614 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_get_interface() 3615 struct wireless_dev *wdev = info->user_ptr[1]; in nl80211_get_interface() 3752 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_set_interface() 3756 struct net_device *dev = info->user_ptr[1]; in nl80211_set_interface() 3822 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_new_interface() [all …]
|
D | pmsr.c | 243 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_pmsr_start() 244 struct wireless_dev *wdev = info->user_ptr[1]; in nl80211_pmsr_start()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.c | 372 if (offset_in_page(args->user_ptr | args->user_size) || in etnaviv_ioctl_gem_userptr() 373 (uintptr_t)args->user_ptr != args->user_ptr || in etnaviv_ioctl_gem_userptr() 375 args->user_ptr & ~PAGE_MASK) in etnaviv_ioctl_gem_userptr() 378 if (!access_ok((void __user *)(unsigned long)args->user_ptr, in etnaviv_ioctl_gem_userptr() 382 return etnaviv_gem_new_userptr(dev, file, args->user_ptr, in etnaviv_ioctl_gem_userptr()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_acc.c | 347 if (map->user_ptr) { in atomisp_acc_map() 349 if ((unsigned long)map->user_ptr & ~PAGE_MASK) { in atomisp_acc_map() 352 __func__, map->user_ptr); in atomisp_acc_map() 367 cssptr = hmm_alloc(map->length, HMM_BO_USER, 0, map->user_ptr, in atomisp_acc_map() 389 __func__, map->user_ptr, cssptr, map->length); in atomisp_acc_map()
|
D | atomisp_compat_ioctl32.c | 651 compat_uptr_t user_ptr; in get_atomisp_acc_map32() local 656 get_user(user_ptr, &up->user_ptr) || in get_atomisp_acc_map32() 657 put_user(compat_ptr(user_ptr), &kp->user_ptr) || in get_atomisp_acc_map32() 671 void __user *user_ptr; in put_atomisp_acc_map32() local 676 get_user(user_ptr, &kp->user_ptr) || in put_atomisp_acc_map32() 677 put_user(ptr_to_compat(user_ptr), &up->user_ptr) || in put_atomisp_acc_map32()
|
D | atomisp_compat_ioctl32.h | 176 compat_uptr_t user_ptr; /* Pointer into user space */ member
|
/kernel/linux/linux-5.10/net/core/ |
D | devlink.c | 430 info->user_ptr[0] = devlink; in devlink_nl_pre_doit() 437 info->user_ptr[1] = devlink_port; in devlink_nl_pre_doit() 441 info->user_ptr[1] = devlink_port; in devlink_nl_pre_doit() 457 devlink = info->user_ptr[0]; in devlink_nl_post_doit() 849 struct devlink *devlink = info->user_ptr[0]; in devlink_nl_cmd_get_doit() 900 struct devlink_port *devlink_port = info->user_ptr[1]; in devlink_nl_cmd_port_get_doit() 1045 struct devlink_port *devlink_port = info->user_ptr[1]; in devlink_nl_cmd_port_set_doit() 1083 struct devlink *devlink = info->user_ptr[0]; in devlink_nl_cmd_port_split_doit() 1128 struct devlink *devlink = info->user_ptr[0]; in devlink_nl_cmd_port_unsplit_doit() 1179 struct devlink *devlink = info->user_ptr[0]; in devlink_nl_cmd_sb_get_doit() [all …]
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
D | mmu_pv.c | 446 pgd_t *user_ptr = NULL; in xen_get_user_pgd() local 450 user_ptr = (pgd_t *)page->private; in xen_get_user_pgd() 451 if (user_ptr) in xen_get_user_pgd() 452 user_ptr += offset; in xen_get_user_pgd() 455 return user_ptr; in xen_get_user_pgd() 489 pgd_t *user_ptr = xen_get_user_pgd((pgd_t *)ptr); in xen_set_p4d() local 492 trace_xen_mmu_set_p4d(ptr, (p4d_t *)user_ptr, val); in xen_set_p4d() 498 if (user_ptr) { in xen_set_p4d() 499 WARN_ON(xen_page_pinned(user_ptr)); in xen_set_p4d() 501 *user_ptr = pgd_val; in xen_set_p4d() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | probe_read_user_str.c | 20 skel->bss->user_ptr = buf; in test_one_str()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | armv8_deprecated.c | 375 const void __user *user_ptr; in swp_handler() local 407 user_ptr = (const void __user *)(unsigned long)(address & ~3); in swp_handler() 408 if (!access_ok(user_ptr, 4)) { in swp_handler()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_perfcnt.c | 240 void __user *user_ptr = (void __user *)(uintptr_t)req->buf_ptr; in panfrost_ioctl_perfcnt_dump() local 257 if (copy_to_user(user_ptr, perfcnt->buf, perfcnt->bosize)) in panfrost_ioctl_perfcnt_dump()
|
/kernel/linux/linux-5.10/drivers/android/ |
D | binder_alloc.h | 131 uintptr_t user_ptr);
|
D | binder_alloc.c | 128 uintptr_t user_ptr) in binder_alloc_prepare_to_free_locked() argument 134 uptr = (void __user *)user_ptr; in binder_alloc_prepare_to_free_locked() 171 uintptr_t user_ptr) in binder_alloc_prepare_to_free() argument 176 buffer = binder_alloc_prepare_to_free_locked(alloc, user_ptr); in binder_alloc_prepare_to_free()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_userptr.c | 793 if (offset_in_page(args->user_ptr | args->user_size)) in i915_gem_userptr_ioctl() 796 if (!access_ok((char __user *)(unsigned long)args->user_ptr, args->user_size)) in i915_gem_userptr_ioctl() 818 obj->userptr.ptr = args->user_ptr; in i915_gem_userptr_ioctl()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/ |
D | etnaviv_drm.h | 135 __u64 user_ptr; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | etnaviv_drm.h | 148 __u64 user_ptr; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | etnaviv_drm.h | 230 __u64 user_ptr; /* in, page aligned user pointer */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_cs.c | 342 p->chunks[i].user_ptr = cdata; in radeon_cs_parser_init() 633 ib_chunk->user_ptr, in radeon_cs_ib_fill() 655 else if (copy_from_user(parser->ib.ptr, ib_chunk->user_ptr, ib_chunk->length_dw * 4)) in radeon_cs_ib_fill()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | helpers.c | 607 const void __user *, user_ptr) in BPF_CALL_3() argument 609 int ret = copy_from_user(dst, user_ptr, size); in BPF_CALL_3()
|
/kernel/linux/linux-5.10/include/net/ |
D | genetlink.h | 92 void * user_ptr[2]; member
|