Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_bitmap.c211 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 …]
Ddrbd_int.h1360 extern void drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr);
/drivers/gpu/drm/nouveau/nvif/
Dvmm.c141 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/
Dhmm_bo.c861 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/
Drave-sp-eeprom.c162 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/
Ddrm_vm.c306 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/
Dfallback.c319 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/
Dvmm.h30 int page_nr; member
Dif000c.h5 __u8 page_nr; member
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Duvmm.c398 args->v0.page_nr = 0; in nvkm_uvmm_new()
400 args->v0.page_nr++; in nvkm_uvmm_new()
/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c1274 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/
Draydium_i2c_ts.c666 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/
Dnouveau_bo.c257 for (i = 0; i < vmm->page_nr; i++) { in nouveau_bo_alloc()