Lines Matching refs:newaf
198 struct so_accf *newaf;
247 * attached properly, 'newaf' is NULLed to avoid a free()
250 newaf = malloc(sizeof(*newaf), M_ACCF, M_WAITOK |
254 newaf->so_accept_filter_str = malloc(len, M_ACCF,
256 strcpy(newaf->so_accept_filter_str, afap->af_name);
276 newaf->so_accept_filter_arg =
278 if (newaf->so_accept_filter_arg == NULL) {
283 newaf->so_accept_filter = afp;
284 so->so_accf = newaf;
286 newaf = NULL;
289 if (newaf != NULL) {
290 if (newaf->so_accept_filter_str != NULL)
291 free(newaf->so_accept_filter_str, M_ACCF);
292 free(newaf, M_ACCF);