Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Ddoorbell.c78 db->u.user_page = page; in mlx5_ib_db_map_user()
91 if (!--db->u.user_page->refcnt) { in mlx5_ib_db_unmap_user()
92 list_del(&db->u.user_page->list); in mlx5_ib_db_unmap_user()
93 ib_umem_release(db->u.user_page->umem); in mlx5_ib_db_unmap_user()
94 kfree(db->u.user_page); in mlx5_ib_db_unmap_user()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Ddoorbell.c78 db->u.user_page = page; in mlx4_ib_db_map_user()
91 if (!--db->u.user_page->refcnt) { in mlx4_ib_db_unmap_user()
92 list_del(&db->u.user_page->list); in mlx4_ib_db_unmap_user()
93 ib_umem_release(db->u.user_page->umem); in mlx4_ib_db_unmap_user()
94 kfree(db->u.user_page); in mlx4_ib_db_unmap_user()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_db.c47 db->u.user_page = page; in hns_roce_db_map_user()
61 refcount_dec(&db->u.user_page->refcount); in hns_roce_db_unmap_user()
62 if (refcount_dec_if_one(&db->u.user_page->refcount)) { in hns_roce_db_unmap_user()
63 list_del(&db->u.user_page->list); in hns_roce_db_unmap_user()
64 ib_umem_release(db->u.user_page->umem); in hns_roce_db_unmap_user()
65 kfree(db->u.user_page); in hns_roce_db_unmap_user()
Dhns_roce_device.h477 struct hns_roce_user_db_page *user_page; member
/Linux-v5.4/kernel/events/
Dring_buffer.c110 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
192 tail = READ_ONCE(rb->user_page->data_tail); in __perf_output_begin()
420 aux_tail = READ_ONCE(rb->user_page->aux_tail); in perf_aux_output_begin()
510 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head); in perf_aux_output_end()
542 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head); in perf_aux_output_skip()
739 return virt_to_page(rb->user_page); in __perf_mmap_to_page()
773 rb->user_page = perf_mmap_alloc_page(cpu); in rb_alloc()
774 if (!rb->user_page) in rb_alloc()
793 free_page((unsigned long)rb->user_page); in rb_alloc()
814 perf_mmap_free_page((unsigned long)rb->user_page); in rb_free()
[all …]
Dinternal.h56 struct perf_event_mmap_page *user_page; member
Dcore.c5353 userpg = rb->user_page; in perf_event_init_userpage()
5397 userpg = rb->user_page; in perf_event_update_userpage()
5748 aux_offset = READ_ONCE(rb->user_page->aux_offset); in perf_mmap()
5749 aux_size = READ_ONCE(rb->user_page->aux_size); in perf_mmap()
/Linux-v5.4/include/linux/mlx5/
Ddriver.h728 struct mlx5_ib_user_db_page *user_page; member
/Linux-v5.4/include/linux/mlx4/
Ddevice.h675 struct mlx4_ib_user_db_page *user_page; member