Home
last modified time | relevance | path

Searched refs:aux_pages (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/kernel/events/
Dring_buffer.c591 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()
Dinternal.h54 void **aux_pages; member
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c186 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/
Dmthca_main.c385 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()
Dmthca_cmd.h282 int mthca_SET_ICM_SIZE(struct mthca_dev *dev, u64 icm_size, u64 *aux_pages);
Dmthca_cmd.c1584 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/
Dfw.h250 int mlx4_SET_ICM_SIZE(struct mlx4_dev *dev, u64 icm_size, u64 *aux_pages);
Dfw.c2579 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()
Dmain.c1646 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()