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 | 1356 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 | 655 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/ |
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/base/firmware_loader/ |
D | sysfs.c | 244 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/ |
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/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 | 1270 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/ |
D | raydium_i2c_ts.c | 702 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/ |
D | nouveau_bo.c | 257 for (i = 0; i < vmm->page_nr; i++) { in nouveau_bo_alloc()
|