Searched refs:aux_pages (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/kernel/events/ |
D | ring_buffer.c | 591 addr = rb->aux_pages[from >> PAGE_SHIFT]; in perf_output_copy_aux() 636 struct page *page = virt_to_page(rb->aux_pages[idx]); in rb_free_aux_page() 665 kfree(rb->aux_pages); in __rb_free_aux() 702 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux() 704 if (!rb->aux_pages) in rb_alloc_aux() 719 rb->aux_pages[rb->aux_nr_pages] = page_address(page++); in rb_alloc_aux() 730 struct page *page = virt_to_page(rb->aux_pages[0]); in rb_alloc_aux() 736 rb->aux_priv = event->pmu->setup_aux(event, rb->aux_pages, nr_pages, in rb_alloc_aux() 957 return virt_to_page(rb->aux_pages[aux_pgoff]); in perf_mmap_to_page()
|
D | internal.h | 54 void **aux_pages; member
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 186 u32 npages, aux_slots, pg_size, aux_pages = 0, aux_size = 0; in bnxt_qplib_alloc_init_hwq() local 204 aux_pages = (aux_slots * aux_size) / pg_size; in bnxt_qplib_alloc_init_hwq() 206 aux_pages++; in bnxt_qplib_alloc_init_hwq() 211 npages = (depth * stride) / pg_size + aux_pages; in bnxt_qplib_alloc_init_hwq()
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_main.c | 385 u64 aux_pages; in mthca_init_icm() local 388 err = mthca_SET_ICM_SIZE(mdev, icm_size, &aux_pages); in mthca_init_icm() 396 (unsigned long long) aux_pages << 2); in mthca_init_icm() 398 mdev->fw.arbel.aux_icm = mthca_alloc_icm(mdev, aux_pages, in mthca_init_icm()
|
D | mthca_cmd.h | 282 int mthca_SET_ICM_SIZE(struct mthca_dev *dev, u64 icm_size, u64 *aux_pages);
|
D | mthca_cmd.c | 1584 int mthca_SET_ICM_SIZE(struct mthca_dev *dev, u64 icm_size, u64 *aux_pages) in mthca_SET_ICM_SIZE() argument 1586 int ret = mthca_cmd_imm(dev, icm_size, aux_pages, 0, in mthca_SET_ICM_SIZE() 1596 *aux_pages = ALIGN(*aux_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> in mthca_SET_ICM_SIZE()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.h | 250 int mlx4_SET_ICM_SIZE(struct mlx4_dev *dev, u64 icm_size, u64 *aux_pages);
|
D | fw.c | 2579 int mlx4_SET_ICM_SIZE(struct mlx4_dev *dev, u64 icm_size, u64 *aux_pages) in mlx4_SET_ICM_SIZE() argument 2581 int ret = mlx4_cmd_imm(dev, icm_size, aux_pages, 0, 0, in mlx4_SET_ICM_SIZE() 2591 *aux_pages = ALIGN(*aux_pages, PAGE_SIZE / MLX4_ICM_PAGE_SIZE) >> in mlx4_SET_ICM_SIZE()
|
D | main.c | 1646 u64 aux_pages; in mlx4_init_icm() local 1650 err = mlx4_SET_ICM_SIZE(dev, icm_size, &aux_pages); in mlx4_init_icm() 1658 (unsigned long long) aux_pages << 2); in mlx4_init_icm() 1660 priv->fw.aux_icm = mlx4_alloc_icm(dev, aux_pages, in mlx4_init_icm()
|