Home
last modified time | relevance | path

Searched refs:user_ptr (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/arch/arm/lib/
Duaccess_with_memcpy.c183 void *user_ptr, *kernel_ptr;
195 user_ptr = vmap(&dst_page, 1, VM_IOREMAP, __pgprot(__P010));
196 if (!user_ptr)
200 ret = __copy_to_user_memcpy(user_ptr, kernel_ptr, PAGE_SIZE);
204 ret |= __copy_to_user_memcpy(user_ptr, kernel_ptr, size);
206 ret |= __copy_to_user_std(user_ptr, kernel_ptr, size);
213 ret |= __clear_user_memset(user_ptr, size);
215 ret |= __clear_user_std(user_ptr, size);
223 vunmap(user_ptr);
/linux-2.6.39/net/wireless/
Dnl80211.c857 struct cfg80211_registered_device *dev = info->user_ptr[0]; in nl80211_get_wiphy()
957 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_set_channel()
958 struct net_device *netdev = info->user_ptr[1]; in nl80211_set_channel()
965 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_set_wds_peer()
966 struct net_device *dev = info->user_ptr[1]; in nl80211_set_wds_peer()
1315 struct cfg80211_registered_device *dev = info->user_ptr[0]; in nl80211_get_interface()
1316 struct net_device *netdev = info->user_ptr[1]; in nl80211_get_interface()
1388 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_set_interface()
1392 struct net_device *dev = info->user_ptr[1]; in nl80211_set_interface()
1461 struct cfg80211_registered_device *rdev = info->user_ptr[0]; in nl80211_new_interface()
[all …]
/linux-2.6.39/drivers/staging/speakup/
Di18n.c511 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()
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_cs.c145 p->chunks[i].user_ptr = (void __user *)(unsigned long)user_chunk.chunk_data; in radeon_cs_parser_init()
155 p->chunks[i].user_ptr, size)) { in radeon_cs_parser_init()
295 ibc->user_ptr + (i * PAGE_SIZE), in radeon_cs_finish_pages()
311 ibc->user_ptr + (i * PAGE_SIZE), in radeon_cs_update_pages()
327 ibc->user_ptr + (pg_idx * PAGE_SIZE), in radeon_cs_update_pages()
Dradeon.h570 void __user *user_ptr; member
/linux-2.6.39/arch/x86/xen/
Dmmu.c703 pgd_t *user_ptr = NULL; in xen_get_user_pgd() local
707 user_ptr = (pgd_t *)page->private; in xen_get_user_pgd()
708 if (user_ptr) in xen_get_user_pgd()
709 user_ptr += offset; in xen_get_user_pgd()
712 return user_ptr; in xen_get_user_pgd()
746 pgd_t *user_ptr = xen_get_user_pgd(ptr); in xen_set_pgd() local
754 if (user_ptr) { in xen_set_pgd()
755 WARN_ON(xen_page_pinned(user_ptr)); in xen_set_pgd()
756 *user_ptr = val; in xen_set_pgd()
769 if (user_ptr) in xen_set_pgd()
[all …]
/linux-2.6.39/include/net/
Dgenetlink.h84 void * user_ptr[2]; member
/linux-2.6.39/drivers/media/video/
Dv4l2-ioctl.c2251 void * __user *user_ptr, void ***kernel_ptr) in check_array_args() argument
2266 *user_ptr = (void __user *)buf->m.planes; in check_array_args()
2280 *user_ptr = (void __user *)ctrls->controls; in check_array_args()
2303 void __user *user_ptr = NULL; in video_usercopy() local
2334 err = check_array_args(cmd, parg, &array_size, &user_ptr, &kernel_ptr); in video_usercopy()
2351 if (copy_from_user(mbuf, user_ptr, array_size)) in video_usercopy()
2362 *kernel_ptr = user_ptr; in video_usercopy()
2363 if (copy_to_user(user_ptr, mbuf, array_size)) in video_usercopy()
/linux-2.6.39/net/netlink/
Dgenetlink.c550 memset(&info.user_ptr, 0, sizeof(info.user_ptr)); in genl_rcv_msg()