Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/mlx5/
Ddoorbell.c84 db->u.user_page = page; in mlx5_ib_db_map_user()
97 if (!--db->u.user_page->refcnt) { in mlx5_ib_db_unmap_user()
98 list_del(&db->u.user_page->list); in mlx5_ib_db_unmap_user()
99 mmdrop(db->u.user_page->mm); in mlx5_ib_db_unmap_user()
100 ib_umem_release(db->u.user_page->umem); in mlx5_ib_db_unmap_user()
101 kfree(db->u.user_page); in mlx5_ib_db_unmap_user()
/Linux-v6.1/drivers/infiniband/hw/mlx4/
Ddoorbell.c80 db->u.user_page = page; in mlx4_ib_db_map_user()
93 if (!--db->u.user_page->refcnt) { in mlx4_ib_db_unmap_user()
94 list_del(&db->u.user_page->list); in mlx4_ib_db_unmap_user()
95 ib_umem_release(db->u.user_page->umem); in mlx4_ib_db_unmap_user()
96 kfree(db->u.user_page); in mlx4_ib_db_unmap_user()
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_db.c46 db->u.user_page = page; in hns_roce_db_map_user()
60 refcount_dec(&db->u.user_page->refcount); in hns_roce_db_unmap_user()
61 if (refcount_dec_if_one(&db->u.user_page->refcount)) { in hns_roce_db_unmap_user()
62 list_del(&db->u.user_page->list); in hns_roce_db_unmap_user()
63 ib_umem_release(db->u.user_page->umem); in hns_roce_db_unmap_user()
64 kfree(db->u.user_page); in hns_roce_db_unmap_user()
Dhns_roce_device.h393 struct hns_roce_user_db_page *user_page; member
/Linux-v6.1/kernel/events/
Dring_buffer.c110 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
195 tail = READ_ONCE(rb->user_page->data_tail); in __perf_output_begin()
425 aux_tail = READ_ONCE(rb->user_page->aux_tail); in perf_aux_output_begin()
515 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head); in perf_aux_output_end()
547 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head); in perf_aux_output_skip()
782 return virt_to_page(rb->user_page); in __perf_mmap_to_page()
825 rb->user_page = perf_mmap_alloc_page(cpu); in rb_alloc()
826 if (!rb->user_page) in rb_alloc()
845 perf_mmap_free_page(rb->user_page); in rb_alloc()
858 perf_mmap_free_page(rb->user_page); in rb_free()
[all …]
Dinternal.h57 struct perf_event_mmap_page *user_page; member
Dcore.c5843 userpg = rb->user_page; in perf_event_init_userpage()
5887 userpg = rb->user_page; in perf_event_update_userpage()
6249 aux_offset = READ_ONCE(rb->user_page->aux_offset); in perf_mmap()
6250 aux_size = READ_ONCE(rb->user_page->aux_size); in perf_mmap()
/Linux-v6.1/include/linux/mlx5/
Ddriver.h812 struct mlx5_ib_user_db_page *user_page; member
/Linux-v6.1/include/linux/mlx4/
Ddevice.h674 struct mlx4_ib_user_db_page *user_page; member