Searched refs:page_nr (Results 1 – 13 of 13) sorted by relevance
/drivers/block/drbd/ |
D | drbd_bitmap.c | 211 static void bm_page_lock_io(struct drbd_device *device, int page_nr) in bm_page_lock_io() argument 214 void *addr = &page_private(b->bm_pages[page_nr]); in bm_page_lock_io() 218 static void bm_page_unlock_io(struct drbd_device *device, int page_nr) in bm_page_unlock_io() argument 221 void *addr = &page_private(b->bm_pages[page_nr]); in bm_page_unlock_io() 254 void drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr) in drbd_bm_mark_for_writeout() argument 258 if (page_nr >= device->bitmap->bm_number_of_pages) { in drbd_bm_mark_for_writeout() 260 page_nr, (int)device->bitmap->bm_number_of_pages); in drbd_bm_mark_for_writeout() 263 page = device->bitmap->bm_pages[page_nr]; in drbd_bm_mark_for_writeout() 266 b->al_bitmap_hints[b->n_bitmap_hints++] = page_nr; in drbd_bm_mark_for_writeout() 299 unsigned int page_nr = long_nr >> (PAGE_SHIFT - LN2_BPL + 3); in bm_word_to_page_idx() local [all …]
|
D | drbd_int.h | 1360 extern void drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr);
|
/drivers/gpu/drm/nouveau/nvif/ |
D | vmm.c | 141 vmm->page_nr = args->page_nr; in nvif_vmm_ctor() 142 vmm->page = kmalloc_array(vmm->page_nr, sizeof(*vmm->page), in nvif_vmm_ctor() 149 for (i = 0; i < vmm->page_nr; i++) { in nvif_vmm_ctor()
|
/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 861 unsigned int page_nr) in free_user_pages() argument 868 unpin_user_pages(bo->pages, page_nr); in free_user_pages() 870 for (i = 0; i < page_nr; i++) in free_user_pages() 883 int page_nr; in alloc_user_pages() local 921 page_nr = pin_user_pages((unsigned long)userptr, bo->pgnr, in alloc_user_pages() 928 page_nr = get_user_pages_fast((unsigned long)userptr, in alloc_user_pages() 937 bo->mem_type == HMM_BO_MEM_TYPE_USER ? "user" : "pfn", page_nr); in alloc_user_pages() 942 if (page_nr != bo->pgnr) { in alloc_user_pages() 945 bo->pgnr, page_nr); in alloc_user_pages() 946 if (page_nr < 0) in alloc_user_pages() [all …]
|
/drivers/nvmem/ |
D | rave-sp-eeprom.c | 162 const unsigned int page_nr = offset / RAVE_SP_EEPROM_PAGE_SIZE; in rave_sp_eeprom_page_access() local 182 page_nr, &page); in rave_sp_eeprom_page_access() 190 ret = rave_sp_eeprom_io(eeprom, type, page_nr, &page); in rave_sp_eeprom_page_access()
|
/drivers/gpu/drm/ |
D | drm_vm.c | 306 unsigned long page_nr; in drm_vm_dma_fault() local 316 page_nr = offset >> PAGE_SHIFT; /* page_nr could just be vmf->pgoff */ in drm_vm_dma_fault() 317 page = virt_to_page((void *)dma->pagelist[page_nr]); in drm_vm_dma_fault() 322 DRM_DEBUG("dma_fault 0x%lx (page %lu)\n", offset, page_nr); in drm_vm_dma_fault()
|
/drivers/base/firmware_loader/ |
D | fallback.c | 319 int page_nr = offset >> PAGE_SHIFT; in firmware_rw() local 323 page_data = kmap(fw_priv->pages[page_nr]); in firmware_rw() 330 kunmap(fw_priv->pages[page_nr]); in firmware_rw()
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | vmm.h | 30 int page_nr; member
|
D | if000c.h | 5 __u8 page_nr; member
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | uvmm.c | 398 args->v0.page_nr = 0; in nvkm_uvmm_new() 400 args->v0.page_nr++; in nvkm_uvmm_new()
|
/drivers/net/ethernet/xircom/ |
D | xirc2ps_cs.c | 1274 int page_nr; member 1287 sa_info->page_nr++; in set_address() 1288 SelectPage(sa_info->page_nr); in set_address() 1315 sa_info.page_nr = 0x50 - 1; in set_addresses()
|
/drivers/input/touchscreen/ |
D | raydium_i2c_ts.c | 666 int page_nr; in raydium_i2c_do_update_firmware() local 725 page_nr = 0; in raydium_i2c_do_update_firmware() 730 error = raydium_i2c_fw_write_page(client, page_nr++, data, len); in raydium_i2c_do_update_firmware()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 257 for (i = 0; i < vmm->page_nr; i++) { in nouveau_bo_alloc()
|