Home
last modified time | relevance | path

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

/fs/nfs/
Ddirect.c317 unsigned long user_addr = (unsigned long)iov->iov_base; in nfs_direct_read_schedule_segment() local
330 pgbase = user_addr & ~PAGE_MASK; in nfs_direct_read_schedule_segment()
342 result = get_user_pages(current, current->mm, user_addr, in nfs_direct_read_schedule_segment()
349 result = get_kernel_page(user_addr, 1, pagevec); in nfs_direct_read_schedule_segment()
385 user_addr += req_len; in nfs_direct_read_schedule_segment()
638 unsigned long user_addr = (unsigned long)iov->iov_base; in nfs_direct_write_schedule_segment() local
651 pgbase = user_addr & ~PAGE_MASK; in nfs_direct_write_schedule_segment()
663 result = get_user_pages(current, current->mm, user_addr, in nfs_direct_write_schedule_segment()
670 result = get_kernel_page(user_addr, 0, pagevec); in nfs_direct_write_schedule_segment()
707 user_addr += req_len; in nfs_direct_write_schedule_segment()
/fs/
Ddirect-io.c1114 unsigned long user_addr; in do_blockdev_direct_IO() local
1227 user_addr = (unsigned long)iov[seg].iov_base; in do_blockdev_direct_IO()
1229 ((user_addr + iov[seg].iov_len + PAGE_SIZE-1) / in do_blockdev_direct_IO()
1230 PAGE_SIZE - user_addr / PAGE_SIZE); in do_blockdev_direct_IO()
1236 user_addr = (unsigned long)iov[seg].iov_base; in do_blockdev_direct_IO()
1240 sdio.first_block_in_page = (user_addr & ~PAGE_MASK) >> blkbits; in do_blockdev_direct_IO()
1249 if (user_addr & (PAGE_SIZE-1)) { in do_blockdev_direct_IO()
1251 bytes -= PAGE_SIZE - (user_addr & (PAGE_SIZE - 1)); in do_blockdev_direct_IO()
1254 sdio.curr_user_address = user_addr; in do_blockdev_direct_IO()
/fs/fuse/
Dfile.c1194 unsigned long user_addr = fuse_get_user_addr(ii); in fuse_get_user_pages() local
1198 req->in.args[1].value = (void *) user_addr; in fuse_get_user_pages()
1200 req->out.args[0].value = (void *) user_addr; in fuse_get_user_pages()
1209 unsigned long user_addr = fuse_get_user_addr(ii); in fuse_get_user_pages() local
1210 unsigned offset = user_addr & ~PAGE_MASK; in fuse_get_user_pages()
1220 ret = get_user_pages_fast(user_addr, npages, !write, in fuse_get_user_pages()
1256 unsigned long user_addr = fuse_get_user_addr(&ii); in fuse_iter_npages() local
1257 unsigned offset = user_addr & ~PAGE_MASK; in fuse_iter_npages()