Lines Matching refs:modname
158 * sockparams_create(int family, int type, int protocol, char *modname,
165 * modname: Name of the module associated with the socket type. The
184 * devpath and modname are freed upon failure.
187 sockparams_create(int family, int type, int protocol, char *modname,
200 if (modname == NULL && devpath == NULL) {
234 if (modname != NULL) {
235 sp->sp_smod_name = modname;
238 modname = kmem_zalloc(size, kmflags);
239 if (modname == NULL) {
243 sp->sp_smod_name = modname;
259 if (modname != NULL)
260 kmem_free(modname, strlen(modname) + 1);