Home
last modified time | relevance | path

Searched refs:data_pages (Results 1 – 10 of 10) sorted by relevance

/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c237 return tmc_pages_get_offset(&sg_table->data_pages, addr); in tmc_sg_get_data_page_offset()
251 tmc_pages_free(&sg_table->data_pages, sg_table->dev, DMA_FROM_DEVICE); in tmc_free_data_pages()
292 rc = tmc_pages_alloc(&sg_table->data_pages, in tmc_alloc_data_pages()
296 sg_table->data_vaddr = vmap(sg_table->data_pages.pages, in tmc_alloc_data_pages()
297 sg_table->data_pages.nr_pages, in tmc_alloc_data_pages()
329 sg_table->data_pages.nr_pages = nr_dpages; in tmc_alloc_sg_table()
357 struct tmc_pages *data = &table->data_pages; in tmc_sg_table_sync_data_range()
395 struct tmc_pages *data_pages = &sg_table->data_pages; in tmc_sg_table_get_data() local
406 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data()
425 tmc_pages = &sg_table->data_pages; in tmc_sg_daddr_to_vaddr()
[all …]
Dcoresight-tmc.h254 struct tmc_pages data_pages; member
328 return (unsigned long)sg_table->data_pages.nr_pages << PAGE_SHIFT; in tmc_sg_table_buf_size()
Dcoresight-tmc-etf.c408 buf->data_pages = pages; in tmc_alloc_etf_buffer()
530 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
Dcoresight-priv.h103 void **data_pages; member
Dcoresight-etb10.c391 buf->data_pages = pages; in etb_alloc_buffer()
534 buf_ptr = buf->data_pages[cur] + offset; in etb_update_buffer()
Dcoresight-catu.c214 data_daddr = catu_table->data_pages.daddrs[sys_pidx] + in catu_populate_table()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c373 static unsigned long vmw_mob_calculate_pt_pages(unsigned long data_pages) in vmw_mob_calculate_pt_pages() argument
375 unsigned long data_size = data_pages * PAGE_SIZE; in vmw_mob_calculate_pt_pages()
392 struct vmw_mob *vmw_mob_create(unsigned long data_pages) in vmw_mob_create() argument
399 mob->num_pages = vmw_mob_calculate_pt_pages(data_pages); in vmw_mob_create()
Dvmwgfx_drv.h1279 extern struct vmw_mob *vmw_mob_create(unsigned long data_pages);
/drivers/target/
Dtarget_core_user.c152 struct xarray data_pages; member
509 XA_STATE(xas, &udev->data_pages, 0); in tcmu_get_empty_block()
532 if (xa_store(&udev->data_pages, dpi + i, page, GFP_NOIO)) { in tcmu_get_empty_block()
735 page = xa_load(&udev->data_pages, dpi); in tcmu_copy_data()
1636 xa_init(&udev->data_pages); in tcmu_alloc_device()
1670 xa_for_each_range(&udev->data_pages, dpi, page, first, last) { in tcmu_blocks_release()
1671 xa_erase(&udev->data_pages, dpi); in tcmu_blocks_release()
1843 page = xa_load(&udev->data_pages, dpi); in tcmu_try_get_data_page()
/drivers/md/
Draid5-cache.c903 int data_pages, int parity_pages) in r5l_log_stripe() argument
912 * data_pages) + in r5l_log_stripe()
996 int data_pages, parity_pages; in r5l_write_stripe() local
1031 data_pages = write_disks - parity_pages; in r5l_write_stripe()
1050 ret = r5l_log_stripe(log, sh, data_pages, parity_pages); in r5l_write_stripe()
1074 ret = r5l_log_stripe(log, sh, data_pages, parity_pages); in r5l_write_stripe()