Home
last modified time | relevance | path

Searched refs:user_addr (Results 1 – 4 of 4) sorted by relevance

/drivers/misc/
Dlkdtm.c464 unsigned long user_addr; in lkdtm_do_action() local
466 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_do_action()
469 if (user_addr >= TASK_SIZE) { in lkdtm_do_action()
473 execute_user_location((void *)user_addr); in lkdtm_do_action()
474 vm_munmap(user_addr, PAGE_SIZE); in lkdtm_do_action()
478 unsigned long user_addr, tmp = 0; in lkdtm_do_action() local
481 user_addr = vm_mmap(NULL, 0, PAGE_SIZE, in lkdtm_do_action()
484 if (user_addr >= TASK_SIZE) { in lkdtm_do_action()
489 if (copy_to_user((void __user *)user_addr, &tmp, sizeof(tmp))) { in lkdtm_do_action()
491 vm_munmap(user_addr, PAGE_SIZE); in lkdtm_do_action()
[all …]
/drivers/misc/genwqe/
Dcard_utils.c299 void __user *user_addr, size_t user_size) in genwqe_alloc_sync_sgl() argument
304 sgl->fpage_offs = offset_in_page((unsigned long)user_addr); in genwqe_alloc_sync_sgl()
310 __func__, user_addr, user_size, sgl->nr_pages, in genwqe_alloc_sync_sgl()
313 sgl->user_addr = user_addr; in genwqe_alloc_sync_sgl()
340 user_addr, sgl->fpage_size)) { in genwqe_alloc_sync_sgl()
352 if (copy_from_user(sgl->lpage, user_addr + user_size - in genwqe_alloc_sync_sgl()
483 if (copy_to_user(sgl->user_addr, sgl->fpage + sgl->fpage_offs, in genwqe_free_sync_sgl()
495 if (copy_to_user(sgl->user_addr + sgl->user_size - in genwqe_free_sync_sgl()
Dcard_base.h357 void __user *user_addr; /* user-space base-address */ member
373 void __user *user_addr, size_t user_size);
/drivers/staging/lustre/lustre/llite/
Drw26.c188 static inline int ll_get_user_pages(int rw, unsigned long user_addr, in ll_get_user_pages() argument
200 *max_pages = (user_addr + size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in ll_get_user_pages()
201 *max_pages -= user_addr >> PAGE_CACHE_SHIFT; in ll_get_user_pages()
205 result = get_user_pages_fast(user_addr, *max_pages, in ll_get_user_pages()