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