| /linux/samples/damon/ |
| H A D | mtier.c | 53 static struct damon_ctx *ctxs[2]; variable 181 ctxs[0] = ctx; in damon_sample_mtier_start() 184 damon_destroy_ctx(ctxs[0]); in damon_sample_mtier_start() 187 ctxs[1] = ctx; in damon_sample_mtier_start() 188 return damon_start(ctxs, 2, true); 193 damon_stop(ctxs, 2); in damon_sample_mtier_stop() 194 damon_destroy_ctx(ctxs[0]); in damon_sample_mtier_stop() 195 damon_destroy_ctx(ctxs[1]);
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | rss_ctx.py | 414 ctxs = cfg.ethnl.rss_get({}, dump=True) 415 tuples = [(c['header']['dev-name'], c.get('context', -1)) for c in ctxs] 421 for data in ctxs: 433 ctxs = cfg.ethnl.rss_get({'header': {'dev-name': cfg.ifname}}, dump=True) 434 tuples = [(c['header']['dev-name'], c.get('context', -1)) for c in ctxs] 442 ctxs = cfg.ethnl.rss_get({'start-context': 1}, dump=True) 443 tuples = [(c['header']['dev-name'], c.get('context', -1)) for c in ctxs] 449 ctxs = cfg.ethnl.rss_get({'header': {'dev-name': cfg.ifname}, 'start-context': 1}, dump=True) 450 ctx_tuples = set([(c['header']['dev-name'], c.get('context', -1)) for c in ctxs]) 974 ctxs [all...] |
| /linux/drivers/android/binder/ |
| H A D | context.rs | 30 let mut ctxs = KVVec::with_capacity(lock.contexts.len(), GFP_KERNEL)?; in get_all_contexts() localVariable 32 ctxs.push(ctx.clone(), GFP_KERNEL)?; in get_all_contexts() 34 Ok(ctxs) in get_all_contexts()
|
| H A D | process.rs | 1551 let ctxs = crate::context::get_all_contexts()?; in ioctl_freeze() localVariable 1552 for ctx in ctxs { in ioctl_freeze()
|
| /linux/lib/crypto/tests/ |
| H A D | hash-test-template.h | 368 struct hash_irq_test2_hash_ctx ctxs[IRQ_TEST_NUM_BUFFERS]; member 380 for (ctx = &state->ctxs[0]; ctx < &state->ctxs[ARRAY_SIZE(state->ctxs)]; in hash_irq_test2_func() 385 if (WARN_ON_ONCE(ctx == &state->ctxs[ARRAY_SIZE(state->ctxs)])) { in hash_irq_test2_func()
|
| /linux/drivers/iommu/arm/arm-smmu/ |
| H A D | qcom_iommu.c | 54 struct qcom_iommu_ctx *ctxs[]; /* indexed by asid */ member 87 return qcom_iommu->ctxs[asid]; in to_ctx() 575 WARN_ON(qcom_iommu->ctxs[asid] == NULL)) in qcom_iommu_of_xlate() 730 qcom_iommu->ctxs[ctx->asid] = ctx; in qcom_iommu_ctx_probe() 742 qcom_iommu->ctxs[ctx->asid] = NULL; in qcom_iommu_ctx_remove() 788 qcom_iommu = devm_kzalloc(dev, struct_size(qcom_iommu, ctxs, max_asid + 1), in qcom_iommu_device_probe()
|
| /linux/tools/testing/selftests/damon/ |
| H A D | sysfs.py | 241 ctxs = kdamonds.kdamonds[0].contexts 243 assert_true(len(ctxs) == len(dump), 'ctxs length', dump) 244 for idx, ctx in enumerate(ctxs):
|
| /linux/block/ |
| H A D | blk-mq.c | 1772 struct blk_mq_ctx *ctx = hctx->ctxs[bitnr]; in blk_mq_timeout_work() 1806 struct blk_mq_ctx *ctx = hctx->ctxs[bitnr]; in flush_busy_ctx() 3941 /* hctx->ctxs will be freed in queue's release handler */ in blk_mq_add_hw_queues_cpuhp() 4050 hctx->ctxs = kmalloc_array_node(nr_cpu_ids, sizeof(void *), 4052 if (!hctx->ctxs) in blk_mq_alloc_hctx() 4069 kfree(hctx->ctxs); in blk_mq_alloc_hctx() 4216 hctx->ctxs[hctx->nr_ctx++] = ctx; in blk_mq_map_swqueue() 4353 struct blk_mq_ctxs *ctxs; in blk_mq_del_queue_tag_set() 4356 ctxs = kzalloc_obj(*ctxs); in blk_mq_del_queue_tag_set() 4386 struct blk_mq_ctxs *ctxs; blk_mq_alloc_ctxs() local [all...] |
| H A D | blk-mq.h | 30 struct blk_mq_ctxs *ctxs; member
|
| H A D | blk-mq-sched.c | 202 return hctx->ctxs[idx]; in blk_mq_next_ctx()
|
| /linux/include/linux/ |
| H A D | damon.h | 1075 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive); 1076 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs);
|
| /linux/mm/damon/ |
| H A D | core.c | 1730 * @ctxs: an array of the pointers for contexts to start monitoring in damon_get_intervals_score() 1731 * @nr_ctxs: size of @ctxs in damon_get_intervals_score() 1743 int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive) 1749 if (!is_power_of_2(ctxs[i]->min_region_sz)) in damon_get_intervals_adaptation_bp() 1761 err = __damon_start(ctxs[i]); in damon_get_intervals_adaptation_bp() 1798 * @ctxs: an array of the pointers for contexts to stop monitoring 1799 * @nr_ctxs: size of @ctxs 1803 int damon_stop(struct damon_ctx **ctxs, int nr_ctxs) 1809 err = __damon_stop(ctxs[i]); in damos_quota_is_set() 1475 damon_start(struct damon_ctx ** ctxs,int nr_ctxs,bool exclusive) damon_start() argument 1535 damon_stop(struct damon_ctx ** ctxs,int nr_ctxs) damon_stop() argument
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_gt_sriov_pf_debugfs.c | 504 DEFINE_SRIOV_GT_CONFIG_DEBUGFS_ATTRIBUTE(ctxs, u32, "%llu\n");
|
| /linux/kernel/ |
| H A D | workqueue.c | 7076 LIST_HEAD(ctxs); in workqueue_apply_unbound_cpumask() 7093 list_add_tail(&ctx->list, &ctxs); in workqueue_apply_unbound_cpumask() 7096 list_for_each_entry_safe(ctx, n, &ctxs, list) { in workqueue_apply_unbound_cpumask()
|