Searched refs:pinst (Results 1 – 1 of 1) sorted by relevance
311 static int pcrypt_sysfs_add(struct padata_instance *pinst, const char *name) in pcrypt_sysfs_add() argument315 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() argument327 *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()