Lines Matching refs:newsp
420 struct sockparams *newsp = NULL;
435 newsp = sockparams_create(family, type,
439 newsp = sockparams_create(family, type,
444 if (newsp == NULL) {
452 ASSERT(newsp->sp_smod_info == NULL);
453 newsp->sp_smod_info =
454 smod_lookup_byname(newsp->sp_smod_name);
455 if (newsp->sp_smod_info == NULL) {
457 sockparams_destroy(newsp);
477 sockparams_destroy(newsp);
479 *errorp = sof_sockparams_init(newsp);
482 sockparams_destroy(newsp);
485 SOCKPARAMS_INC_REF(newsp);
486 list_insert_tail(&sp_ephem_list, newsp);
489 sp = newsp;