Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/media/atomisp/pci/hmm/
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 …]
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-v6.6/drivers/staging/media/atomisp/pci/mmu/
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-v6.6/drivers/staging/media/atomisp/include/mmu/
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-v6.6/drivers/staging/media/atomisp/include/hmm/
Dhmm_bo.h95 unsigned int pgnr; member
129 unsigned int pgnr; member
143 unsigned int pgnr);
/Linux-v6.6/fs/erofs/
Dzdata.c1110 unsigned int pgnr; in z_erofs_do_decompressed_bvec() local
1115 pgnr = (bvec->offset + be->pcl->pageofs_out) >> PAGE_SHIFT; in z_erofs_do_decompressed_bvec()
1116 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_do_decompressed_bvec()
1117 if (!be->decompressed_pages[pgnr]) { in z_erofs_do_decompressed_bvec()
1118 be->decompressed_pages[pgnr] = bvec->page; in z_erofs_do_decompressed_bvec()
1146 unsigned int pgnr, scur, len; in z_erofs_fill_other_copies() local
1148 pgnr = (bvi->bvec.offset + cur + off0) >> PAGE_SHIFT; in z_erofs_fill_other_copies()
1149 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_fill_other_copies()
1152 ((pgnr << PAGE_SHIFT) - off0); in z_erofs_fill_other_copies()
1154 if (!be->decompressed_pages[pgnr]) { in z_erofs_fill_other_copies()
[all …]
/Linux-v6.6/drivers/xen/
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-v6.6/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c307 #define SelectPage(pgnr) outb((pgnr), ioaddr + XIRCREG_PR) argument
/Linux-v6.6/net/sunrpc/
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()