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.h1356 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.c655 unsigned int page_nr) in free_user_pages() argument
659 for (i = 0; i < page_nr; i++) in free_user_pages()
669 int page_nr; in alloc_user_pages() local
675 page_nr = get_user_pages_fast((unsigned long)userptr, bo->pgnr, 1, bo->pages); in alloc_user_pages()
679 if (page_nr != bo->pgnr) { in alloc_user_pages()
682 bo->pgnr, page_nr); in alloc_user_pages()
683 if (page_nr < 0) in alloc_user_pages()
684 page_nr = 0; in alloc_user_pages()
692 free_user_pages(bo, page_nr); in alloc_user_pages()
/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/base/firmware_loader/
Dsysfs.c244 int page_nr = offset >> PAGE_SHIFT; in firmware_rw() local
249 memcpy_from_page(buffer, fw_priv->pages[page_nr], in firmware_rw()
252 memcpy_to_page(fw_priv->pages[page_nr], page_ofs, in firmware_rw()
/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/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.c1270 int page_nr; member
1283 sa_info->page_nr++; in set_address()
1284 SelectPage(sa_info->page_nr); in set_address()
1311 sa_info.page_nr = 0x50 - 1; in set_addresses()
/drivers/input/touchscreen/
Draydium_i2c_ts.c702 int page_nr; in raydium_i2c_do_update_firmware() local
761 page_nr = 0; in raydium_i2c_do_update_firmware()
766 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()