Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_bo.c37 unsigned int pgnr) in __bo_init() argument
41 if (pgnr == 0) { in __bo_init()
56 bo->pgnr = pgnr; in __bo_init()
57 bo->end = bo->start + pgnr_to_size(pgnr); in __bo_init()
65 struct rb_node *node, unsigned int pgnr) in __bo_search_and_remove_from_free_rbtree() argument
70 if (this->pgnr == pgnr || in __bo_search_and_remove_from_free_rbtree()
71 (this->pgnr > pgnr && !this->node.rb_left)) { in __bo_search_and_remove_from_free_rbtree()
74 if (this->pgnr < pgnr) { in __bo_search_and_remove_from_free_rbtree()
78 this->node.rb_right, pgnr); in __bo_search_and_remove_from_free_rbtree()
81 this->node.rb_left, pgnr); in __bo_search_and_remove_from_free_rbtree()
[all …]
/linux/drivers/xen/
H A Dgntdev.c307 unsigned int pgnr = (addr - map->pages_vm_start) >> PAGE_SHIFT; in find_grant_ptes() local
312 BUG_ON(pgnr >= map->count); in find_grant_ptes()
316 gnttab_set_map_op(&map->map_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
317 map->grants[pgnr].ref, in find_grant_ptes()
318 map->grants[pgnr].domid); in find_grant_ptes()
319 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
/linux/fs/erofs/
H A Dzdata.c1166 unsigned int pgnr, scur, len; in z_erofs_fill_other_copies() local
1168 pgnr = (bvi->bvec.offset + cur + off0) >> PAGE_SHIFT; in z_erofs_fill_other_copies()
1169 DBG_BUGON(pgnr >= be->nr_pages); in z_erofs_fill_other_copies()
1172 ((pgnr << PAGE_SHIFT) - off0); in z_erofs_fill_other_copies()
1174 if (!be->decompressed_pages[pgnr]) { in z_erofs_fill_other_copies()
1179 src = kmap_local_page(be->decompressed_pages[pgnr]); in z_erofs_fill_other_copies()
/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.c1328 unsigned int pgnr; in xdr_set_page_base() local
1346 pgnr = base >> PAGE_SHIFT; in xdr_set_page_base()
1347 xdr->page_ptr = &xdr->buf->pages[pgnr]; in xdr_set_page_base()