Searched refs:padata_instance (Results 1 – 5 of 5) sorted by relevance
/linux/kernel/ |
H A D | padata.c | 178 struct padata_instance *pinst = ps->pinst; in padata_do_parallel() 286 struct padata_instance *pinst = pd->ps->pinst; in padata_reorder() 425 static int padata_setup_cpumasks(struct padata_instance *pinst) in padata_setup_cpumasks() 589 struct padata_instance *pinst = ps->pinst; in padata_alloc_pd() 645 static void __padata_start(struct padata_instance *pinst) in __padata_start() 650 static void __padata_stop(struct padata_instance *pinst) in __padata_stop() 675 static int padata_replace(struct padata_instance *pinst) in padata_replace() 700 static bool padata_validate_cpumask(struct padata_instance *pinst, in padata_validate_cpumask() 712 static int __padata_set_cpumasks(struct padata_instance *pinst, in __padata_set_cpumasks() 751 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, in padata_set_cpumask() [all …]
|
/linux/include/linux/ |
H A D | padata.h | 120 struct padata_instance *pinst; 166 struct padata_instance { struct 183 extern struct padata_instance *padata_alloc(const char *name); argument 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/Documentation/translations/zh_CN/core-api/ |
H A D | padata.rst | 33 使用padata执行序列化作业的第一步是建立一个padata_instance结构体,以全面 38 struct padata_instance *padata_alloc(const char *name); 44 struct padata_shell *padata_alloc_shell(struct padata_instance *pinst); 47 序列化。一个padata_instance可以有一个或多个padata_shell与之相关联,每个 56 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, 136 void padata_free(struct padata_instance *pinst);
|
/linux/crypto/ |
H A D | pcrypt.c | 20 static struct padata_instance *pencrypt; 21 static struct padata_instance *pdecrypt; 311 static int pcrypt_sysfs_add(struct padata_instance *pinst, const char *name) in pcrypt_sysfs_add() 323 static int pcrypt_init_padata(struct padata_instance **pinst, const char *name) in pcrypt_init_padata()
|
/linux/Documentation/core-api/ |
H A D | padata.rst | 26 padata_instance structure for overall control of how jobs are to be run:: 30 struct padata_instance *padata_alloc(const char *name); 36 struct padata_shell *padata_alloc_shell(struct padata_instance *pinst); 39 jobs to be serialized independently. A padata_instance may have one or more 48 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, 151 void padata_free(struct padata_instance *pinst);
|