/linux-master/fs/smb/server/ |
H A D | crypto_ctx.c | 23 static struct crypto_ctx_list ctx_list; variable in typeref:struct:crypto_ctx_list 116 spin_lock(&ctx_list.ctx_lock); 117 if (!list_empty(&ctx_list.idle_ctx)) { 118 ctx = list_entry(ctx_list.idle_ctx.next, 122 spin_unlock(&ctx_list.ctx_lock); 126 if (ctx_list.avail_ctx > num_online_cpus()) { 127 spin_unlock(&ctx_list.ctx_lock); 128 wait_event(ctx_list.ctx_wait, 129 !list_empty(&ctx_list.idle_ctx)); 133 ctx_list [all...] |
/linux-master/io_uring/ |
H A D | sqpoll.h | 9 struct list_head ctx_list; member in struct:io_sq_data
|
H A D | sqpoll.c | 84 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) 157 INIT_LIST_HEAD(&sqd->ctx_list); 304 cap_entries = !list_is_singular(&sqd->ctx_list); 306 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) { 333 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) { 360 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) 374 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) 441 list_add(&ctx->sqd_list, &sqd->ctx_list);
|
/linux-master/drivers/iommu/ |
H A D | msm_iommu.h | 45 * ctx_list: list of 'struct msm_iommu_ctx_dev' 57 struct list_head ctx_list; member in struct:msm_iommu_dev 72 * node list head in ctx_list
|
H A D | msm_iommu.c | 129 list_for_each_entry(master, &iommu->ctx_list, list) 152 list_for_each_entry(master, &iommu->ctx_list, list) { 367 master = list_first_entry(&iommu->ctx_list, 407 master = list_first_entry(&iommu->ctx_list, 415 list_for_each_entry(master, &iommu->ctx_list, list) { 465 list_for_each_entry(master, &iommu->ctx_list, list) { 541 if (list_empty(&iommu->ctx_list)) 544 master = list_first_entry(&iommu->ctx_list, 606 if (list_empty(&(*iommu)->ctx_list)) { 613 list_add(&master->list, &(*iommu)->ctx_list); [all...] |
/linux-master/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_fw_vpu.c | 54 list_for_each_entry(ctx, &dev->ctx_list, list) { 69 list_for_each_entry(ctx, &dev->ctx_list, list) {
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib.h | 80 struct list_head ctx_list; member in struct:usnic_ib_dev
|
H A D | usnic_ib_main.c | 113 list_for_each_entry(ctx, &us_ibdev->ctx_list, link) { 394 INIT_LIST_HEAD(&us_ibdev->ctx_list);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_drm_client.h | 27 spinlock_t ctx_lock; /* For add/remove from ctx_list. */ 28 struct list_head ctx_list; /* List of contexts belonging to client. */ member in struct:i915_drm_client
|
H A D | i915_drm_client.c | 30 INIT_LIST_HEAD(&client->ctx_list); 145 list_for_each_entry_rcu(ctx, &client->ctx_list, client_link)
|
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_context.c | 36 } ctx_list = { variable in typeref:struct:__anon10 37 .head = LIST_HEAD_INIT(ctx_list.head), 38 .lock = __SPIN_LOCK_UNLOCKED(ctx_list.lock), 160 spin_lock(&ctx_list.lock); 170 list_add_tail_rcu(&context->list_item, &ctx_list.head); 171 spin_unlock(&ctx_list.lock); 190 spin_lock(&ctx_list.lock); 192 spin_unlock(&ctx_list.lock); 222 list_for_each_entry_rcu(sub_ctx, &ctx_list.head, list_item) { 377 list_for_each_entry_rcu(context, &ctx_list [all...] |
/linux-master/arch/sparc/mm/ |
H A D | srmmu.c | 384 struct ctx_list { struct 385 struct ctx_list *next; 386 struct ctx_list *prev; 391 static struct ctx_list *ctx_list_pool; 392 static struct ctx_list ctx_free; 393 static struct ctx_list ctx_used; 398 static inline void remove_from_ctx_list(struct ctx_list *entry) 404 static inline void add_to_ctx_list(struct ctx_list *head, struct ctx_list *entry) 416 struct ctx_list *ctx [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_binding.h | 65 * @ctx_list: List head for the context's list of bindings. 75 struct list_head ctx_list; member in struct:vmw_ctx_bindinfo
|
H A D | vmwgfx_binding.c | 290 ctx_list)->ctx; 322 list_del(&bi->ctx_list); 352 list_add(&loc->ctx_list, &cbs->list); 413 list_add_tail(&loc->ctx_list, &cbs->list); 432 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) 449 list_for_each_entry(entry, &cbs->list, ctx_list) { 524 list_for_each_entry_safe(entry, next, &from->list, ctx_list) { 547 list_for_each_entry(entry, &cbs->list, ctx_list) { 1409 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list)
|
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_core.h | 141 * @ctx_list: list of struct mtk_mdp_ctx 159 struct list_head ctx_list; member in struct:mtk_mdp_dev 172 * @list: link to ctx_list of mtk_mdp_dev
|
H A D | mtk_mdp_core.c | 80 list_for_each_entry(ctx, &mdp->ctx_list, list) { 120 INIT_LIST_HEAD(&mdp->ctx_list);
|
/linux-master/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-srv.h | 108 struct list_head ctx_list; member in struct:rtrs_srv_sess
|
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc_drv.h | 97 * @list: link to ctx_list of mtk_vcodec_enc_dev 170 * @ctx_list: list of struct mtk_vcodec_ctx 197 struct list_head ctx_list; member in struct:mtk_vcodec_enc_dev
|
H A D | mtk_vcodec_enc_drv.c | 181 list_add(&ctx->list, &dev->ctx_list); 246 INIT_LIST_HEAD(&dev->ctx_list);
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.h | 134 * @list: link to ctx_list of mtk_vcodec_dec_dev 232 * @ctx_list: list of struct mtk_vcodec_ctx 273 struct list_head ctx_list; member in struct:mtk_vcodec_dec_dev
|
H A D | mtk_vcodec_dec_drv.c | 272 list_add(&ctx->list, &dev->ctx_list); 365 INIT_LIST_HEAD(&dev->ctx_list);
|
H A D | vdec_vpu_if.c | 81 list_for_each_entry(ctx, &dec_dev->ctx_list, list) {
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xsk.c | 63 struct list_head ctx_list; member in struct:xsk_umem 248 INIT_LIST_HEAD(&umem->ctx_list); 463 if (list_empty(&umem->ctx_list)) 466 list_for_each_entry(ctx, &umem->ctx_list, list) { 534 list_add(&ctx->list, &umem->ctx_list);
|
/linux-master/drivers/infiniband/core/ |
H A D | ucma.c | 79 struct list_head ctx_list; member in struct:ucma_file 225 list_add_tail(&ctx->list, &ctx->file->ctx_list); 1670 list_add_tail(&ctx->list, &new_file->ctx_list); 1780 INIT_LIST_HEAD(&file->ctx_list); 1795 * All paths that touch ctx_list or ctx_list starting from write() are 1802 while (!list_empty(&file->ctx_list)) { 1804 &file->ctx_list, struct ucma_context, list);
|
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 217 struct list_head ctx_list; member in struct:ipu_image_convert_chan 1597 list_for_each_entry(ctx, &chan->ctx_list, list) { 2233 get_res = list_empty(&chan->ctx_list); 2235 list_add_tail(&ctx->list, &chan->ctx_list); 2384 put_res = list_empty(&chan->ctx_list); 2498 INIT_LIST_HEAD(&chan->ctx_list);
|