Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_bo.c48 unsigned int pgnr) in __bo_init() argument
54 if (pgnr == 0) { in __bo_init()
69 bo->pgnr = pgnr; in __bo_init()
70 bo->end = bo->start + pgnr_to_size(pgnr); in __bo_init()
78 struct rb_node *node, unsigned int pgnr) in __bo_search_and_remove_from_free_rbtree() argument
83 if (this->pgnr == pgnr || in __bo_search_and_remove_from_free_rbtree()
84 (this->pgnr > pgnr && !this->node.rb_left)) { in __bo_search_and_remove_from_free_rbtree()
87 if (this->pgnr < pgnr) { in __bo_search_and_remove_from_free_rbtree()
91 this->node.rb_right, pgnr); in __bo_search_and_remove_from_free_rbtree()
94 this->node.rb_left, pgnr); in __bo_search_and_remove_from_free_rbtree()
[all …]
H A Dhmm.c72 hmm_bo_type_string[bo->type], bo->pgnr); in bo_show()
74 total[bo->type] += bo->pgnr; in bo_show()
172 unsigned int pgnr; in __hmm_alloc() local
184 pgnr = size_to_pgnr_ceil(bytes); in __hmm_alloc()
187 bo = hmm_bo_alloc(&bo_device, pgnr); in __hmm_alloc()
/linux/drivers/staging/media/atomisp/pci/mmu/
H A Disp_mmu.c318 phys_addr_t phys, unsigned int pgnr) in mmu_map() argument
347 end = start + (pgnr << ISP_PAGE_OFFSET); in mmu_map()
449 unsigned int pgnr) in mmu_unmap() argument
464 end = start + (pgnr << ISP_PAGE_OFFSET); in mmu_unmap()
477 unsigned int pgnr; in free_mmu_map() local
482 pgnr = (end - start) >> ISP_PAGE_OFFSET; in free_mmu_map()
483 mmu_unmap(mmu, start, pgnr); in free_mmu_map()
487 phys_addr_t phys, unsigned int pgnr) in isp_mmu_map() argument
489 return mmu_map(mmu, isp_virt, phys, pgnr); in isp_mmu_map()
493 unsigned int pgnr) in isp_mmu_unmap() argument
[all …]
/linux/drivers/staging/media/atomisp/include/mmu/
H A Disp_mmu.h62 #define pgnr_to_size(pgnr) ((pgnr) << ISP_PAGE_OFFSET) argument
149 phys_addr_t phys, unsigned int pgnr);
152 unsigned int pgnr);
/linux/drivers/staging/media/atomisp/include/hmm/
H A Dhmm_bo.h95 unsigned int pgnr; member
129 unsigned int pgnr; member
143 unsigned int pgnr);
/linux/fs/erofs/
H A Dzdata.c1049 unsigned int pgnr; in z_erofs_do_decompressed_bvec() local
1054 pgnr = (bvec->offset + be->pcl->pageofs_out) >> PAGE_SHIFT; in z_erofs_do_decompressed_bvec()
1055 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_do_decompressed_bvec()
1056 if (!be->decompressed_pages[pgnr]) { in z_erofs_do_decompressed_bvec()
1057 be->decompressed_pages[pgnr] = bvec->page; in z_erofs_do_decompressed_bvec()
1085 unsigned int pgnr, scur, len; in z_erofs_fill_other_copies() local
1087 pgnr = (bvi->bvec.offset + cur + off0) >> PAGE_SHIFT; in z_erofs_fill_other_copies()
1088 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_fill_other_copies()
1091 ((pgnr << PAGE_SHIFT) - off0); in z_erofs_fill_other_copies()
1093 if (!be->decompressed_pages[pgnr]) { in z_erofs_fill_other_copies()
[all …]
/linux/drivers/xen/
H A Dgntdev.c304 unsigned int pgnr = (addr - map->pages_vm_start) >> PAGE_SHIFT; in find_grant_ptes() local
309 BUG_ON(pgnr >= map->count); in find_grant_ptes()
312 gnttab_set_map_op(&map->map_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
313 map->grants[pgnr].ref, in find_grant_ptes()
314 map->grants[pgnr].domid); in find_grant_ptes()
315 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
/linux/drivers/net/ethernet/xircom/
H A Dxirc2ps_cs.c307 #define SelectPage(pgnr) outb((pgnr), ioaddr + XIRCREG_PR) argument
/linux/net/sunrpc/
H A Dxdr.c1352 unsigned int pgnr; in xdr_set_page_base() local
1370 pgnr = base >> PAGE_SHIFT; in xdr_set_page_base()
1371 xdr->page_ptr = &xdr->buf->pages[pgnr]; in xdr_set_page_base()