Lines Matching refs:new
395 struct dccp_feat_entry *new; in dccp_feat_clone_entry() local
401 new = kmemdup(original, sizeof(struct dccp_feat_entry), gfp_any()); in dccp_feat_clone_entry()
402 if (new == NULL) in dccp_feat_clone_entry()
405 if (type == FEAT_SP && dccp_feat_clone_sp_val(&new->val, in dccp_feat_clone_entry()
408 kfree(new); in dccp_feat_clone_entry()
411 return new; in dccp_feat_clone_entry()
487 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_change() local
489 if (new == NULL) in dccp_feat_push_change()
492 new->feat_num = feat; in dccp_feat_push_change()
493 new->is_local = local; in dccp_feat_push_change()
494 new->state = FEAT_INITIALISING; in dccp_feat_push_change()
495 new->needs_confirm = false; in dccp_feat_push_change()
496 new->empty_confirm = false; in dccp_feat_push_change()
497 new->val = *fval; in dccp_feat_push_change()
498 new->needs_mandatory = mandatory; in dccp_feat_push_change()
515 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_confirm() local
517 if (new == NULL) in dccp_feat_push_confirm()
520 new->feat_num = feat; in dccp_feat_push_confirm()
521 new->is_local = local; in dccp_feat_push_confirm()
522 new->state = FEAT_STABLE; /* transition in 6.6.2 */ in dccp_feat_push_confirm()
523 new->needs_confirm = true; in dccp_feat_push_confirm()
524 new->empty_confirm = (fval == NULL); in dccp_feat_push_confirm()
525 new->val.nn = 0; /* zeroes the whole structure */ in dccp_feat_push_confirm()
526 if (!new->empty_confirm) in dccp_feat_push_confirm()
527 new->val = *fval; in dccp_feat_push_confirm()
528 new->needs_mandatory = false; in dccp_feat_push_confirm()
557 struct dccp_feat_entry *entry, *new; in dccp_feat_clone_list() local
561 new = dccp_feat_clone_entry(entry); in dccp_feat_clone_list()
562 if (new == NULL) in dccp_feat_clone_list()
564 list_add_tail(&new->node, to); in dccp_feat_clone_list()