Home
last modified time | relevance | path

Searched refs:xa_init_flags (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dxarray.rst115 如果你使用DEFINE_XARRAY_ALLOC()来定义XArray,或者通过向xa_init_flags()传递 ``XA_FLAGS_ALLOC``
207 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH);
231 如果你要从中断或softirq上下文中修改XArray,你需要使用xa_init_flags()初始化数组,传递
/linux-6.1.9/drivers/gpu/drm/lima/
Dlima_ctx.c87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_drm_client.c26 xa_init_flags(&clients->xarray, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ); in i915_drm_clients_init()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_act.c59 xa_init_flags(&post_act->ids, XA_FLAGS_ALLOC1); in mlx5e_tc_post_act_init()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_main.c349 xa_init_flags(&sdev->qp_xa, XA_FLAGS_ALLOC1); in siw_device_create()
350 xa_init_flags(&sdev->mem_xa, XA_FLAGS_ALLOC1); in siw_device_create()
/linux-6.1.9/include/linux/
Didr.h314 xa_init_flags(&ida->xa, IDA_INIT_FLAGS); in ida_init()
Dradix-tree.h84 #define INIT_RADIX_TREE(root, mask) xa_init_flags(root, mask)
Dxarray.h378 static inline void xa_init_flags(struct xarray *xa, gfp_t flags) in xa_init_flags() function
395 xa_init_flags(xa, 0); in xa_init()
/linux-6.1.9/fs/cachefiles/
Ddaemon.c115 xa_init_flags(&cache->reqs, XA_FLAGS_ALLOC); in cachefiles_daemon_open()
116 xa_init_flags(&cache->ondemand_ids, XA_FLAGS_ALLOC1); in cachefiles_daemon_open()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Ddevice.c1049 xa_init_flags(&devp->cqs, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
1050 xa_init_flags(&devp->qps, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
1051 xa_init_flags(&devp->mrs, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
1052 xa_init_flags(&devp->hwtids, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
1053 xa_init_flags(&devp->atids, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
1054 xa_init_flags(&devp->stids, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_main.c503 xa_init_flags(&dev->qp_xa, XA_FLAGS_ALLOC1); in erdma_ib_device_add()
504 xa_init_flags(&dev->cq_xa, XA_FLAGS_ALLOC1); in erdma_ib_device_add()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmapping.c214 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
/linux-6.1.9/drivers/iommu/
Dioasid.c106 xa_init_flags(&ia_data->xa, XA_FLAGS_ALLOC); in ioasid_alloc_allocator()
/linux-6.1.9/drivers/infiniband/core/
Drestrack.c35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init()
Drdma_core.c768 xa_init_flags(&ufile->idr, XA_FLAGS_ALLOC); in setup_ufile_idr_uobject()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_pool.c109 xa_init_flags(&pool->xa, XA_FLAGS_ALLOC); in rxe_pool_init()
/linux-6.1.9/drivers/gpu/drm/tegra/
Duapi.c141 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
/linux-6.1.9/mm/
Dlist_lru.c370 xa_init_flags(&lru->xa, XA_FLAGS_LOCK_IRQ); in memcg_init_list_lru()
Dswap_state.c675 xa_init_flags(&space->i_pages, XA_FLAGS_LOCK_IRQ); in init_swap_address_space()
/linux-6.1.9/Documentation/core-api/
Dxarray.rst144 initialise it by passing ``XA_FLAGS_ALLOC`` to xa_init_flags(),
254 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH);
279 you need to initialise the array using xa_init_flags(), passing
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c493 xa_init_flags(&pool->irqs, XA_FLAGS_ALLOC); in irq_pool_alloc()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dcm.c490 xa_init_flags(&dev->sriov.pv_id_table, XA_FLAGS_ALLOC); in mlx4_ib_cm_paravirt_init()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_context.c1732 xa_init_flags(&file_priv->proto_context_xa, XA_FLAGS_ALLOC); in i915_gem_context_open()
1735 xa_init_flags(&file_priv->context_xa, XA_FLAGS_ALLOC1); in i915_gem_context_open()
1738 xa_init_flags(&file_priv->vm_xa, XA_FLAGS_ALLOC1); in i915_gem_context_open()
/linux-6.1.9/drivers/gpu/drm/scheduler/
Dsched_main.c605 xa_init_flags(&job->dependencies, XA_FLAGS_ALLOC); in drm_sched_job_init()
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv.c280 xa_init_flags(&srv_sess->index_idr, XA_FLAGS_ALLOC); in create_sess()

12