/linux-6.6.21/net/devlink/ |
D | core.c | 215 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/ |
D | xarray.rst | 115 如果你使用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/ |
D | lima_ctx.c | 87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
|
/linux-6.6.21/drivers/infiniband/sw/siw/ |
D | siw_main.c | 320 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/ |
D | post_act.c | 59 xa_init_flags(&post_act->ids, XA_FLAGS_ALLOC1); in mlx5e_tc_post_act_init()
|
/linux-6.6.21/include/linux/ |
D | idr.h | 316 xa_init_flags(&ida->xa, IDA_INIT_FLAGS); in ida_init()
|
D | radix-tree.h | 84 #define INIT_RADIX_TREE(root, mask) xa_init_flags(root, mask)
|
D | xarray.h | 378 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/ |
D | spectrum_port_range.c | 181 xa_init_flags(&pr_core->prr_xa, XA_FLAGS_ALLOC); in mlxsw_sp_port_range_init()
|
/linux-6.6.21/fs/cachefiles/ |
D | daemon.c | 115 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/ |
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-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_pool.c | 109 xa_init_flags(&pool->xa, XA_FLAGS_ALLOC); in rxe_pool_init()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 522 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/ |
D | ivpu_drv.c | 520 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/ |
D | mapping.c | 214 xa_init_flags(&ctx->xarray, XA_FLAGS_ALLOC1); in mapping_create()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_irq.c | 20 xa_init_flags(&pf->irq_tracker.entries, XA_FLAGS_ALLOC); in ice_init_irq_tracker()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | restrack.c | 35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init()
|
/linux-6.6.21/drivers/gpu/drm/tegra/ |
D | uapi.c | 141 xa_init_flags(&context->mappings, XA_FLAGS_ALLOC1); in tegra_drm_ioctl_channel_open()
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | main.c | 238 xa_init_flags(&ictx->objects, XA_FLAGS_ALLOC1 | XA_FLAGS_ACCOUNT); in iommufd_fops_open()
|
D | io_pagetable.c | 657 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/ |
D | list_lru.c | 370 xa_init_flags(&lru->xa, XA_FLAGS_LOCK_IRQ); in memcg_init_list_lru()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/crypto/ |
D | ipsec.c | 550 xa_init_flags(&nn->xa_ipsec, XA_FLAGS_ALLOC); in nfp_net_ipsec_init()
|
/linux-6.6.21/Documentation/core-api/ |
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-6.6.21/sound/soc/sof/ |
D | ipc4.c | 703 xa_init_flags(&ipc4_data->fw_lib_xa, XA_FLAGS_ALLOC); in sof_ipc4_init()
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ |
D | cm.c | 490 xa_init_flags(&dev->sriov.pv_id_table, XA_FLAGS_ALLOC); in mlx4_ib_cm_paravirt_init()
|