/linux/Documentation/translations/zh_CN/core-api/ |
A D | xarray.rst | 114 如果你使用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 D | lima_ctx.c | 87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
|
/linux/drivers/infiniband/sw/siw/ |
A D | siw_main.c | 349 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 D | post_act.c | 58 xa_init_flags(&post_act->ids, XA_FLAGS_ALLOC1); in mlx5e_tc_post_act_init()
|
/linux/include/linux/ |
A D | idr.h | 314 xa_init_flags(&ida->xa, IDA_INIT_FLAGS); in ida_init()
|
A D | radix-tree.h | 84 #define INIT_RADIX_TREE(root, mask) xa_init_flags(root, mask)
|
A D | xarray.h | 376 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 D | device.c | 1049 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 D | mapping.c | 214 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
|
/linux/drivers/infiniband/core/ |
A D | restrack.c | 35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init()
|
A D | rdma_core.c | 768 xa_init_flags(&ufile->idr, XA_FLAGS_ALLOC); in setup_ufile_idr_uobject()
|
A D | device.c | 599 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 D | ioasid.c | 107 xa_init_flags(&ia_data->xa, XA_FLAGS_ALLOC); in ioasid_alloc_allocator()
|
/linux/drivers/gpu/drm/tegra/ |
A D | uapi.c | 115 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
|
A D | drm.c | 108 xa_init_flags(&fpriv->contexts, XA_FLAGS_ALLOC1); in tegra_drm_open()
|
/linux/Documentation/core-api/ |
A D | xarray.rst | 144 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 D | i915_gem_context.c | 1674 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 D | cm.c | 489 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 D | pci_irq.c | 477 xa_init_flags(&pool->irqs, XA_FLAGS_ALLOC); in irq_pool_alloc()
|
/linux/drivers/gpu/drm/scheduler/ |
A D | sched_main.c | 601 xa_init_flags(&job->dependencies, XA_FLAGS_ALLOC); in drm_sched_job_init()
|
/linux/mm/ |
A D | swap_state.c | 675 xa_init_flags(&space->i_pages, XA_FLAGS_LOCK_IRQ); in init_swap_address_space()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv.c | 293 xa_init_flags(&srv_sess->index_idr, XA_FLAGS_ALLOC); in create_sess()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | srq_cmd.c | 761 xa_init_flags(&table->array, XA_FLAGS_LOCK_IRQ); in mlx5_init_srq_table()
|
/linux/drivers/infiniband/hw/qedr/ |
A D | main.c | 342 xa_init_flags(&dev->srqs, XA_FLAGS_LOCK_IRQ); in qedr_alloc_resources()
|
/linux/fs/ |
A D | inode.c | 373 xa_init_flags(&mapping->i_pages, XA_FLAGS_LOCK_IRQ | XA_FLAGS_ACCOUNT); in __address_space_init_once()
|