Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c238 return tmc_pages_get_offset(&sg_table->data_pages, addr); in tmc_sg_get_data_page_offset()
252 tmc_pages_free(&sg_table->data_pages, sg_table->dev, DMA_FROM_DEVICE); in tmc_free_data_pages()
293 rc = tmc_pages_alloc(&sg_table->data_pages, in tmc_alloc_data_pages()
297 sg_table->data_vaddr = vmap(sg_table->data_pages.pages, in tmc_alloc_data_pages()
298 sg_table->data_pages.nr_pages, in tmc_alloc_data_pages()
330 sg_table->data_pages.nr_pages = nr_dpages; in tmc_alloc_sg_table()
358 struct tmc_pages *data = &table->data_pages; in tmc_sg_table_sync_data_range()
396 struct tmc_pages *data_pages = &sg_table->data_pages; in tmc_sg_table_get_data() local
407 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data()
426 tmc_pages = &sg_table->data_pages; in tmc_sg_daddr_to_vaddr()
[all …]
Dcoresight-tmc.h250 struct tmc_pages data_pages; member
324 return sg_table->data_pages.nr_pages << PAGE_SHIFT; in tmc_sg_table_buf_size()
Dcoresight-priv.h103 void **data_pages; member
Dcoresight-tmc-etf.c406 buf->data_pages = pages; in tmc_alloc_etf_buffer()
528 buf_ptr = buf->data_pages[cur] + offset; in tmc_update_etf_buffer()
Dcoresight-etb10.c390 buf->data_pages = pages; in etb_alloc_buffer()
533 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()
/kernel/linux/linux-5.10/kernel/events/
Dring_buffer.c237 handle->addr = rb->data_pages[handle->page] + offset; in __perf_output_begin()
779 return virt_to_page(rb->data_pages[pgoff - 1]); in __perf_mmap_to_page()
824 rb->data_pages[i] = perf_mmap_alloc_page(cpu); in rb_alloc()
825 if (!rb->data_pages[i]) in rb_alloc()
837 perf_mmap_free_page(rb->data_pages[i]); in rb_alloc()
854 perf_mmap_free_page(rb->data_pages[i]); in rb_free()
924 rb->data_pages[0] = all_buf + PAGE_SIZE; in rb_alloc()
Dinternal.h58 void *data_pages[]; member
148 handle->addr = rb->data_pages[handle->page]; \
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c368 static unsigned long vmw_mob_calculate_pt_pages(unsigned long data_pages) in vmw_mob_calculate_pt_pages() argument
370 unsigned long data_size = data_pages * PAGE_SIZE; in vmw_mob_calculate_pt_pages()
387 struct vmw_mob *vmw_mob_create(unsigned long data_pages) in vmw_mob_create() argument
394 mob->num_pages = vmw_mob_calculate_pt_pages(data_pages); in vmw_mob_create()
Dvmwgfx_drv.h1247 extern struct vmw_mob *vmw_mob_create(unsigned long data_pages);
/kernel/linux/linux-5.10/arch/x86/events/intel/
Dpt.h87 void **data_pages; member
Dbts.c60 void **data_pages; member
111 buf->data_pages = pages; in bts_buffer_setup_aux()
Dpt.c612 base = buf->data_pages[0]; in pt_config_buffer()
734 p = virt_to_page(buf->data_pages[buf->nr_pages]); in topa_insert_pages()
1226 struct page *p = virt_to_page(buf->data_pages[0]); in pt_buffer_try_single()
1292 buf->data_pages = pages; in pt_buffer_setup_aux()
/kernel/linux/linux-5.10/fs/ceph/
Daddr.c896 struct page **pages = NULL, **data_pages; in ceph_writepages_start() local
1089 data_pages = pages; in ceph_writepages_start()
1101 data_pages, len, 0, in ceph_writepages_start()
1107 data_pages = pages + i; in ceph_writepages_start()
1128 osd_req_op_extent_osd_data_pages(req, op_idx, data_pages, len, in ceph_writepages_start()
1141 data_pages = pages; in ceph_writepages_start()
1149 memcpy(pages, data_pages + i, in ceph_writepages_start()
1151 memset(data_pages + i, 0, in ceph_writepages_start()
/kernel/linux/linux-5.10/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()