Home
last modified time | relevance | path

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

123

/linux-6.6.21/net/devlink/
Dcore.c215 xa_init_flags(&devlink->ports, XA_FLAGS_ALLOC); in devlink_alloc_ns()
216 xa_init_flags(&devlink->params, XA_FLAGS_ALLOC); in devlink_alloc_ns()
217 xa_init_flags(&devlink->snapshot_ids, XA_FLAGS_ALLOC); in devlink_alloc_ns()
/linux-6.6.21/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.6.21/drivers/gpu/drm/lima/
Dlima_ctx.c87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_main.c320 xa_init_flags(&sdev->qp_xa, XA_FLAGS_ALLOC1); in siw_device_create()
321 xa_init_flags(&sdev->mem_xa, XA_FLAGS_ALLOC1); in siw_device_create()
/linux-6.6.21/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.6.21/include/linux/
Didr.h316 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.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_port_range.c181 xa_init_flags(&pr_core->prr_xa, XA_FLAGS_ALLOC); in mlxsw_sp_port_range_init()
/linux-6.6.21/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.6.21/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.6.21/drivers/infiniband/sw/rxe/
Drxe_pool.c109 xa_init_flags(&pool->xa, XA_FLAGS_ALLOC); in rxe_pool_init()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_main.c522 xa_init_flags(&dev->qp_xa, XA_FLAGS_ALLOC1); in erdma_ib_device_add()
523 xa_init_flags(&dev->cq_xa, XA_FLAGS_ALLOC1); in erdma_ib_device_add()
/linux-6.6.21/drivers/accel/ivpu/
Divpu_drv.c520 xa_init_flags(&vdev->context_xa, XA_FLAGS_ALLOC); in ivpu_dev_init()
521 xa_init_flags(&vdev->submitted_jobs_xa, XA_FLAGS_ALLOC1); in ivpu_dev_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmapping.c214 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_irq.c20 xa_init_flags(&pf->irq_tracker.entries, XA_FLAGS_ALLOC); in ice_init_irq_tracker()
/linux-6.6.21/drivers/infiniband/core/
Drestrack.c35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init()
/linux-6.6.21/drivers/gpu/drm/tegra/
Duapi.c141 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
/linux-6.6.21/drivers/iommu/iommufd/
Dmain.c238 xa_init_flags(&ictx->objects, XA_FLAGS_ALLOC1 | XA_FLAGS_ACCOUNT); in iommufd_fops_open()
Dio_pagetable.c657 xa_init_flags(&iopt->domains, XA_FLAGS_ACCOUNT); in iopt_init_table()
658 xa_init_flags(&iopt->access_list, XA_FLAGS_ALLOC); in iopt_init_table()
/linux-6.6.21/mm/
Dlist_lru.c370 xa_init_flags(&lru->xa, XA_FLAGS_LOCK_IRQ); in memcg_init_list_lru()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/crypto/
Dipsec.c550 xa_init_flags(&nn->xa_ipsec, XA_FLAGS_ALLOC); in nfp_net_ipsec_init()
/linux-6.6.21/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.6.21/sound/soc/sof/
Dipc4.c703 xa_init_flags(&ipc4_data->fw_lib_xa, XA_FLAGS_ALLOC); in sof_ipc4_init()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dcm.c490 xa_init_flags(&dev->sriov.pv_id_table, XA_FLAGS_ALLOC); in mlx4_ib_cm_paravirt_init()

123