Searched refs:ctxs (Results 1 – 9 of 9) sorted by relevance
| /linux/samples/damon/ |
| H A D | mtier.c | 53 static struct damon_ctx *ctxs[2]; variable 188 ctxs[0] = ctx; in damon_sample_mtier_start() 191 damon_destroy_ctx(ctxs[0]); in damon_sample_mtier_start() 194 ctxs[1] = ctx; in damon_sample_mtier_start() 195 err = damon_start(ctxs, 2, true); in damon_sample_mtier_start() 199 damon_destroy_ctx(ctxs[0]); in damon_sample_mtier_stop() 200 damon_destroy_ctx(ctxs[1]); in damon_sample_mtier_stop() 206 damon_stop(ctxs, 2); in damon_sample_mtier_enable_store() 207 damon_destroy_ctx(ctxs[0]); in damon_sample_mtier_enable_store() 208 damon_destroy_ctx(ctxs[ in damon_sample_mtier_enable_store() [all...] |
| /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]) 979 ctxs = cfg.ethnl.rss_get({'header': {'dev-name': cfg.ifname}}, dump=True) [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()
|
| /linux/lib/crypto/tests/ |
| H A D | hash-test-template.h | 303 struct hash_irq_test2_hash_ctx ctxs[IRQ_TEST_NUM_BUFFERS]; in test_hash_alignment_consistency() 315 for (ctx = &state->ctxs[0]; ctx < &state->ctxs[ARRAY_SIZE(state->ctxs)]; in test_hash_ctx_zeroization() 320 if (WARN_ON_ONCE(ctx == &state->ctxs[ARRAY_SIZE(state->ctxs)])) { 368 struct hash_irq_test2_hash_ctx ctxs[IRQ_TEST_NUM_BUFFERS]; global() member
|
| /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 flush_busy_ctx() 1806 struct blk_mq_ctx *ctx = hctx->ctxs[bitnr]; in dispatch_rq_from_ctx() 4050 hctx->ctxs = kmalloc_array_node(nr_cpu_ids, sizeof(void *), in blk_mq_alloc_hctx() 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_alloc_ctxs() local 4356 ctxs = kzalloc_obj(*ctxs); in blk_mq_alloc_ctxs() 4357 if (!ctxs) in blk_mq_alloc_ctxs() 4360 ctxs->queue_ctx = alloc_percpu(struct blk_mq_ctx); in blk_mq_alloc_ctxs() [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/kernel/ |
| H A D | workqueue.c | 7178 LIST_HEAD(ctxs); in workqueue_apply_unbound_cpumask() 7195 list_add_tail(&ctx->list, &ctxs); in workqueue_apply_unbound_cpumask() 7198 list_for_each_entry_safe(ctx, n, &ctxs, list) { in workqueue_apply_unbound_cpumask()
|