Home
last modified time | relevance | path

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

/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()