Home
last modified time | relevance | path

Searched refs:pinst (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/kernel/
Dpadata.c178 struct padata_instance *pinst = ps->pinst; in padata_do_parallel() local
188 if (!(pinst->flags & PADATA_INIT) || pinst->flags & PADATA_INVALID) in padata_do_parallel()
206 if ((pinst->flags & PADATA_RESET)) in padata_do_parallel()
227 queue_work(pinst->parallel_wq, &pw->pw_work); in padata_do_parallel()
286 struct padata_instance *pinst = pd->ps->pinst; in padata_reorder() local
323 queue_work_on(cb_cpu, pinst->serial_wq, &squeue->work); in padata_reorder()
340 queue_work(pinst->serial_wq, &pd->reorder_work); in padata_reorder()
425 static int padata_setup_cpumasks(struct padata_instance *pinst) in padata_setup_cpumasks() argument
435 cpumask_copy(attrs->cpumask, pinst->cpumask.pcpu); in padata_setup_cpumasks()
436 err = apply_workqueue_attrs(pinst->parallel_wq, attrs); in padata_setup_cpumasks()
[all …]
/linux-6.12.1/crypto/
Dpcrypt.c311 static int pcrypt_sysfs_add(struct padata_instance *pinst, const char *name) in pcrypt_sysfs_add() argument
315 pinst->kobj.kset = pcrypt_kset; in pcrypt_sysfs_add()
316 ret = kobject_add(&pinst->kobj, NULL, "%s", name); in pcrypt_sysfs_add()
318 kobject_uevent(&pinst->kobj, KOBJ_ADD); in pcrypt_sysfs_add()
323 static int pcrypt_init_padata(struct padata_instance **pinst, const char *name) in pcrypt_init_padata() argument
327 *pinst = padata_alloc(name); in pcrypt_init_padata()
328 if (!*pinst) in pcrypt_init_padata()
331 ret = pcrypt_sysfs_add(*pinst, name); in pcrypt_init_padata()
333 padata_free(*pinst); in pcrypt_init_padata()
/linux-6.12.1/include/linux/
Dpadata.h120 struct padata_instance *pinst; member
184 extern void padata_free(struct padata_instance *pinst);
185 extern struct padata_shell *padata_alloc_shell(struct padata_instance *pinst);
191 extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Dpadata.rst44 struct padata_shell *padata_alloc_shell(struct padata_instance *pinst);
56 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
136 void padata_free(struct padata_instance *pinst);
/linux-6.12.1/arch/powerpc/kvm/
Demulate.c197 ppc_inst_t pinst; in kvmppc_emulate_instruction() local
205 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &pinst); in kvmppc_emulate_instruction()
206 inst = ppc_inst_val(pinst); in kvmppc_emulate_instruction()
Dbooke.c1018 ppc_inst_t pinst; in kvmppc_handle_exit() local
1038 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &pinst); in kvmppc_handle_exit()
1039 last_inst = ppc_inst_val(pinst); in kvmppc_handle_exit()
1044 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &pinst); in kvmppc_handle_exit()
1045 last_inst = ppc_inst_val(pinst); in kvmppc_handle_exit()
Dbook3s_paired_singles.c624 ppc_inst_t pinst; in kvmppc_emulate_paired_single() local
636 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &pinst); in kvmppc_emulate_paired_single()
637 inst = ppc_inst_val(pinst); in kvmppc_emulate_paired_single()
Dbook3s_hv.c1538 ppc_inst_t pinst; in kvmppc_emulate_doorbell_instr() local
1540 if (kvmppc_get_last_inst(vcpu, INST_GENERIC, &pinst) != EMULATE_DONE) in kvmppc_emulate_doorbell_instr()
1542 inst = ppc_inst_val(pinst); in kvmppc_emulate_doorbell_instr()
2074 ppc_inst_t pinst; in kvmppc_handle_nested_exit() local
2081 r = kvmppc_get_last_inst(vcpu, INST_GENERIC, &pinst); in kvmppc_handle_nested_exit()
2082 vcpu->arch.emul_inst = ppc_inst_val(pinst); in kvmppc_handle_nested_exit()
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
D4965.c332 dma_addr_t pinst; in il4965_load_bsm() local
355 pinst = il->ucode_init.p_addr >> 4; in il4965_load_bsm()
360 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il4965_load_bsm()
417 dma_addr_t pinst; in il4965_set_ucode_ptrs() local
421 pinst = il->ucode_code.p_addr >> 4; in il4965_set_ucode_ptrs()
425 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il4965_set_ucode_ptrs()
D3945.c2560 dma_addr_t pinst; in il3945_load_bsm() local
2580 pinst = il->ucode_init.p_addr; in il3945_load_bsm()
2585 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il3945_load_bsm()
D3945-mac.c2054 dma_addr_t pinst; in il3945_set_ucode_ptrs() local
2058 pinst = il->ucode_code.p_addr; in il3945_set_ucode_ptrs()
2062 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il3945_set_ucode_ptrs()
/linux-6.12.1/Documentation/core-api/
Dpadata.rst36 struct padata_shell *padata_alloc_shell(struct padata_instance *pinst);
48 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
151 void padata_free(struct padata_instance *pinst);