Home
last modified time | relevance | path

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

/linux/drivers/misc/genwqe/
H A Dcard_utils.c340 sgl->lpage = __genwqe_alloc_consistent(cd, PAGE_SIZE, in genwqe_alloc_sync_sgl()
342 if (sgl->lpage == NULL) in genwqe_alloc_sync_sgl()
346 if (copy_from_user(sgl->lpage, user_addr + user_size - in genwqe_alloc_sync_sgl()
355 __genwqe_free_consistent(cd, PAGE_SIZE, sgl->lpage, in genwqe_alloc_sync_sgl()
357 sgl->lpage = NULL; in genwqe_alloc_sync_sgl()
407 (sgl->lpage != NULL)) { in genwqe_setup_sgl()
496 if (sgl->lpage) { in genwqe_free_sync_sgl()
499 res = copy_to_user(sgl->user_addr + offset, sgl->lpage, in genwqe_free_sync_sgl()
508 __genwqe_free_consistent(cd, PAGE_SIZE, sgl->lpage, in genwqe_free_sync_sgl()
510 sgl->lpage = NULL; in genwqe_free_sync_sgl()
H A Dcard_base.h364 void *lpage; member
/linux/fs/ntfs/
H A Dcompress.c504 struct page *lpage; in ntfs_read_compressed_block() local
646 lpage = read_mapping_page(sb->s_bdev->bd_mapping, in ntfs_read_compressed_block()
648 if (IS_ERR(lpage)) { in ntfs_read_compressed_block()
649 err = PTR_ERR(lpage); in ntfs_read_compressed_block()
654 lock_page(lpage); in ntfs_read_compressed_block()
655 memcpy(cb_pos, page_address(lpage) + page_ofs, in ntfs_read_compressed_block()
657 unlock_page(lpage); in ntfs_read_compressed_block()
658 put_page(lpage); in ntfs_read_compressed_block()