Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c236 return tmc_pages_get_offset(&sg_table->data_pages, addr); in tmc_sg_get_data_page_offset()
250 tmc_pages_free(&sg_table->data_pages, sg_table->dev, DMA_FROM_DEVICE); in tmc_free_data_pages()
291 rc = tmc_pages_alloc(&sg_table->data_pages, in tmc_alloc_data_pages()
295 sg_table->data_vaddr = vmap(sg_table->data_pages.pages, in tmc_alloc_data_pages()
296 sg_table->data_pages.nr_pages, in tmc_alloc_data_pages()
328 sg_table->data_pages.nr_pages = nr_dpages; in tmc_alloc_sg_table()
356 struct tmc_pages *data = &table->data_pages; in tmc_sg_table_sync_data_range()
394 struct tmc_pages *data_pages = &sg_table->data_pages; in tmc_sg_table_get_data() local
405 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data()
424 tmc_pages = &sg_table->data_pages; in tmc_sg_daddr_to_vaddr()
[all …]
Dcoresight-tmc.h254 struct tmc_pages data_pages; member
328 return sg_table->data_pages.nr_pages << PAGE_SHIFT; in tmc_sg_table_buf_size()
Dcoresight-priv.h108 void **data_pages; member
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-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()
/Linux-v6.1/kernel/events/
Dring_buffer.c239 handle->addr = rb->data_pages[handle->page] + offset; in __perf_output_begin()
784 return virt_to_page(rb->data_pages[pgoff - 1]); in __perf_mmap_to_page()
830 rb->data_pages[i] = perf_mmap_alloc_page(cpu); in rb_alloc()
831 if (!rb->data_pages[i]) in rb_alloc()
843 perf_mmap_free_page(rb->data_pages[i]); in rb_alloc()
860 perf_mmap_free_page(rb->data_pages[i]); in rb_free()
927 rb->data_pages[0] = all_buf + PAGE_SIZE; in rb_alloc()
Dinternal.h58 void *data_pages[]; member
153 handle->addr = rb->data_pages[handle->page]; \
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c370 static unsigned long vmw_mob_calculate_pt_pages(unsigned long data_pages) in vmw_mob_calculate_pt_pages() argument
372 unsigned long data_size = data_pages * PAGE_SIZE; in vmw_mob_calculate_pt_pages()
389 struct vmw_mob *vmw_mob_create(unsigned long data_pages) in vmw_mob_create() argument
396 mob->num_pages = vmw_mob_calculate_pt_pages(data_pages); in vmw_mob_create()
Dvmwgfx_drv.h1310 extern struct vmw_mob *vmw_mob_create(unsigned long data_pages);
/Linux-v6.1/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.c630 base = buf->data_pages[0]; in pt_config_buffer()
752 p = virt_to_page(buf->data_pages[buf->nr_pages]); in topa_insert_pages()
1245 struct page *p = virt_to_page(buf->data_pages[0]); in pt_buffer_try_single()
1320 buf->data_pages = pages; in pt_buffer_setup_aux()
/Linux-v6.1/fs/ceph/
Daddr.c873 struct page **pages = NULL, **data_pages; in ceph_writepages_start() local
1066 data_pages = pages; in ceph_writepages_start()
1088 data_pages, len, 0, in ceph_writepages_start()
1094 data_pages = pages + i; in ceph_writepages_start()
1118 osd_req_op_extent_osd_data_pages(req, op_idx, data_pages, len, in ceph_writepages_start()
1131 data_pages = pages; in ceph_writepages_start()
1139 memcpy(pages, data_pages + i, in ceph_writepages_start()
1141 memset(data_pages + i, 0, in ceph_writepages_start()
/Linux-v6.1/drivers/target/
Dtarget_core_user.c152 struct xarray data_pages; member
510 XA_STATE(xas, &udev->data_pages, 0); in tcmu_get_empty_block()
533 if (xa_store(&udev->data_pages, dpi + i, page, GFP_NOIO)) { in tcmu_get_empty_block()
736 page = xa_load(&udev->data_pages, dpi); in tcmu_copy_data()
1637 xa_init(&udev->data_pages); in tcmu_alloc_device()
1671 xa_for_each_range(&udev->data_pages, dpi, page, first, last) { in tcmu_blocks_release()
1672 xa_erase(&udev->data_pages, dpi); in tcmu_blocks_release()
1844 page = xa_load(&udev->data_pages, dpi); in tcmu_try_get_data_page()
/Linux-v6.1/drivers/md/
Draid5-cache.c902 int data_pages, int parity_pages) in r5l_log_stripe() argument
911 * data_pages) + in r5l_log_stripe()
995 int data_pages, parity_pages; in r5l_write_stripe() local
1030 data_pages = write_disks - parity_pages; in r5l_write_stripe()
1049 ret = r5l_log_stripe(log, sh, data_pages, parity_pages); in r5l_write_stripe()
1073 ret = r5l_log_stripe(log, sh, data_pages, parity_pages); in r5l_write_stripe()
/Linux-v6.1/fs/btrfs/
Draid56.c996 const int data_pages = rbio->nr_data * rbio->stripe_npages; in alloc_rbio_parity_pages() local
999 ret = btrfs_alloc_page_array(rbio->nr_pages - data_pages, in alloc_rbio_parity_pages()
1000 rbio->stripe_pages + data_pages); in alloc_rbio_parity_pages()