Searched refs:cb_cpu (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ ! |
D | padata.rst | 99 struct padata_priv *padata, int *cb_cpu); 101 ps和padata结构体必须如上所述进行设置;cb_cpu指向作业完成后用于最终回调的首选CPU; 102 它必须在当前实例的CPU掩码中(如果不是,cb_cpu指针将被更新为指向实际选择的CPU)。 104 在其他地方正在搞乱实例的CPU掩码,而当cb_cpu不在串行cpumask中、并行或串行cpumasks
|
/linux-6.1.9/crypto/ ! |
D | pcrypt.c | 33 unsigned int cb_cpu; member 117 err = padata_do_parallel(ictx->psenc, padata, &ctx->cb_cpu); in pcrypt_aead_encrypt() 164 err = padata_do_parallel(ictx->psdec, padata, &ctx->cb_cpu); in pcrypt_aead_decrypt() 182 ctx->cb_cpu = cpumask_first(cpu_online_mask); in pcrypt_aead_init_tfm() 184 ctx->cb_cpu = cpumask_next(ctx->cb_cpu, cpu_online_mask); in pcrypt_aead_init_tfm()
|
/linux-6.1.9/kernel/ ! |
D | padata.c | 168 struct padata_priv *padata, int *cb_cpu) in padata_do_parallel() argument 183 if (!cpumask_test_cpu(*cb_cpu, pd->cpumask.cbcpu)) { in padata_do_parallel() 188 cpu_index = *cb_cpu % cpumask_weight(pd->cpumask.cbcpu); in padata_do_parallel() 194 *cb_cpu = cpu; in padata_do_parallel() 203 padata->cb_cpu = *cb_cpu; in padata_do_parallel() 279 int cb_cpu; in padata_reorder() local 308 cb_cpu = padata->cb_cpu; in padata_reorder() 309 squeue = per_cpu_ptr(pd->squeue, cb_cpu); in padata_reorder() 315 queue_work_on(cb_cpu, pinst->serial_wq, &squeue->work); in padata_reorder()
|
/linux-6.1.9/include/linux/ ! |
D | padata.h | 39 int cb_cpu; member 190 struct padata_priv *padata, int *cb_cpu);
|
/linux-6.1.9/Documentation/core-api/ ! |
D | padata.rst | 102 struct padata_priv *padata, int *cb_cpu); 104 The ps and padata structures must be set up as described above; cb_cpu 106 done; it must be in the current instance's CPU mask (if not the cb_cpu pointer 110 instance's CPU mask, while -EINVAL is a complaint about cb_cpu not being in the
|