Home
last modified time | relevance | path

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

/Linux-v6.1/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.c74 hmm_bo_type_string[bo->type], bo->pgnr); in bo_show()
76 total[bo->type] += bo->pgnr; in bo_show()
173 unsigned int pgnr; in __hmm_alloc() local
185 pgnr = size_to_pgnr_ceil(bytes); in __hmm_alloc()
188 bo = hmm_bo_alloc(&bo_device, pgnr); in __hmm_alloc()
/Linux-v6.1/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.1/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.1/drivers/staging/media/atomisp/include/hmm/
Dhmm_bo.h95 unsigned int pgnr; member
129 unsigned int pgnr; member
143 unsigned int pgnr);
/Linux-v6.1/fs/erofs/
Dzdata.c892 unsigned int pgnr; in z_erofs_do_decompressed_bvec() local
894 pgnr = (bvec->offset + be->pcl->pageofs_out) >> PAGE_SHIFT; in z_erofs_do_decompressed_bvec()
895 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_do_decompressed_bvec()
896 if (!be->decompressed_pages[pgnr]) { in z_erofs_do_decompressed_bvec()
897 be->decompressed_pages[pgnr] = bvec->page; in z_erofs_do_decompressed_bvec()
925 unsigned int pgnr, scur, len; in z_erofs_fill_other_copies() local
927 pgnr = (bvi->bvec.offset + cur + off0) >> PAGE_SHIFT; in z_erofs_fill_other_copies()
928 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_fill_other_copies()
931 ((pgnr << PAGE_SHIFT) - off0); in z_erofs_fill_other_copies()
933 if (!be->decompressed_pages[pgnr]) { in z_erofs_fill_other_copies()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Datomisp_fops.c874 ia_css_ptr isp_virt, u32 host_virt, u32 pgnr) in do_isp_mm_remap() argument
878 while (pgnr) { in do_isp_mm_remap()
888 pgnr--; in do_isp_mm_remap()
899 u32 pgnr; in frame_mmap() local
908 pgnr = DIV_ROUND_UP(frame->data_bytes, PAGE_SIZE); in frame_mmap()
910 if (do_isp_mm_remap(isp, vma, isp_virt, host_virt, pgnr)) in frame_mmap()
Dia_css_frame_public.h298 unsigned int pgnr);
Datomisp_ioctl.c1202 u32 pgnr; in atomisp_qbuf() local
1231 pgnr = (length + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in atomisp_qbuf()
1242 pgnr); in atomisp_qbuf()
/Linux-v6.1/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.1/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c149 unsigned int pgnr) in ia_css_frame_map() argument
162 if (pgnr < ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map()
167 } else if (pgnr > ((PAGE_ALIGN(me->data_bytes)) >> PAGE_SHIFT)) { in ia_css_frame_map()
/Linux-v6.1/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c307 #define SelectPage(pgnr) outb((pgnr), ioaddr + XIRCREG_PR) argument
/Linux-v6.1/net/sunrpc/
Dxdr.c1285 unsigned int pgnr; in xdr_set_page_base() local
1302 pgnr = base >> PAGE_SHIFT; in xdr_set_page_base()
1303 xdr->page_ptr = &xdr->buf->pages[pgnr]; in xdr_set_page_base()