Home
last modified time | relevance | path

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

12

/linux/Documentation/translations/zh_CN/core-api/
A Dxarray.rst114 如果你使用DEFINE_XARRAY_ALLOC()来定义XArray,或者通过向xa_init_flags()传递 ``XA_FLAGS_ALLOC``
206 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH);
230 如果你要从中断或softirq上下文中修改XArray,你需要使用xa_init_flags()初始化数组,传递
/linux/drivers/gpu/drm/lima/
A Dlima_ctx.c87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
/linux/drivers/infiniband/sw/siw/
A 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/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dpost_act.c58 xa_init_flags(&post_act->ids, XA_FLAGS_ALLOC1); in mlx5e_tc_post_act_init()
/linux/include/linux/
A Didr.h314 xa_init_flags(&ida->xa, IDA_INIT_FLAGS); in ida_init()
A Dradix-tree.h84 #define INIT_RADIX_TREE(root, mask) xa_init_flags(root, mask)
A Dxarray.h376 static inline void xa_init_flags(struct xarray *xa, gfp_t flags) in xa_init_flags() function
393 xa_init_flags(xa, 0); in xa_init()
/linux/drivers/infiniband/hw/cxgb4/
A 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/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dmapping.c214 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
/linux/drivers/infiniband/core/
A Drestrack.c35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init()
A Drdma_core.c768 xa_init_flags(&ufile->idr, XA_FLAGS_ALLOC); in setup_ufile_idr_uobject()
A Ddevice.c599 xa_init_flags(&device->client_data, XA_FLAGS_ALLOC); in _ib_alloc_device()
601 xa_init_flags(&device->compat_devs, XA_FLAGS_ALLOC); in _ib_alloc_device()
/linux/drivers/iommu/
A Dioasid.c107 xa_init_flags(&ia_data->xa, XA_FLAGS_ALLOC); in ioasid_alloc_allocator()
/linux/drivers/gpu/drm/tegra/
A Duapi.c115 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
A Ddrm.c108 xa_init_flags(&fpriv->contexts, XA_FLAGS_ALLOC1); in tegra_drm_open()
/linux/Documentation/core-api/
A 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/drivers/gpu/drm/i915/gem/
A Di915_gem_context.c1674 xa_init_flags(&file_priv->proto_context_xa, XA_FLAGS_ALLOC); in i915_gem_context_open()
1677 xa_init_flags(&file_priv->context_xa, XA_FLAGS_ALLOC1); in i915_gem_context_open()
1680 xa_init_flags(&file_priv->vm_xa, XA_FLAGS_ALLOC1); in i915_gem_context_open()
/linux/drivers/infiniband/hw/mlx4/
A Dcm.c489 xa_init_flags(&dev->sriov.pv_id_table, XA_FLAGS_ALLOC); in mlx4_ib_cm_paravirt_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dpci_irq.c477 xa_init_flags(&pool->irqs, XA_FLAGS_ALLOC); in irq_pool_alloc()
/linux/drivers/gpu/drm/scheduler/
A Dsched_main.c601 xa_init_flags(&job->dependencies, XA_FLAGS_ALLOC); in drm_sched_job_init()
/linux/mm/
A Dswap_state.c675 xa_init_flags(&space->i_pages, XA_FLAGS_LOCK_IRQ); in init_swap_address_space()
/linux/drivers/block/rnbd/
A Drnbd-srv.c293 xa_init_flags(&srv_sess->index_idr, XA_FLAGS_ALLOC); in create_sess()
/linux/drivers/infiniband/hw/mlx5/
A Dsrq_cmd.c761 xa_init_flags(&table->array, XA_FLAGS_LOCK_IRQ); in mlx5_init_srq_table()
/linux/drivers/infiniband/hw/qedr/
A Dmain.c342 xa_init_flags(&dev->srqs, XA_FLAGS_LOCK_IRQ); in qedr_alloc_resources()
/linux/fs/
A Dinode.c373 xa_init_flags(&mapping->i_pages, XA_FLAGS_LOCK_IRQ | XA_FLAGS_ACCOUNT); in __address_space_init_once()

Completed in 50 milliseconds

12