Home
last modified time | relevance | path

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

/crypto/
Dpcrypt.c295 static int pcrypt_sysfs_add(struct padata_instance *pinst, const char *name) in pcrypt_sysfs_add() argument
299 pinst->kobj.kset = pcrypt_kset; in pcrypt_sysfs_add()
300 ret = kobject_add(&pinst->kobj, NULL, "%s", name); in pcrypt_sysfs_add()
302 kobject_uevent(&pinst->kobj, KOBJ_ADD); in pcrypt_sysfs_add()
307 static int pcrypt_init_padata(struct padata_instance **pinst, const char *name) in pcrypt_init_padata() argument
311 *pinst = padata_alloc_possible(name); in pcrypt_init_padata()
312 if (!*pinst) in pcrypt_init_padata()
315 ret = pcrypt_sysfs_add(*pinst, name); in pcrypt_init_padata()
317 padata_free(*pinst); in pcrypt_init_padata()
322 static void pcrypt_fini_padata(struct padata_instance *pinst) in pcrypt_fini_padata() argument
[all …]