• Home
  • Raw
  • Download

Lines Matching refs:new

392 	struct dccp_feat_entry *new;  in dccp_feat_clone_entry()  local
398 new = kmemdup(original, sizeof(struct dccp_feat_entry), gfp_any()); in dccp_feat_clone_entry()
399 if (new == NULL) in dccp_feat_clone_entry()
402 if (type == FEAT_SP && dccp_feat_clone_sp_val(&new->val, in dccp_feat_clone_entry()
405 kfree(new); in dccp_feat_clone_entry()
408 return new; in dccp_feat_clone_entry()
484 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_change() local
486 if (new == NULL) in dccp_feat_push_change()
489 new->feat_num = feat; in dccp_feat_push_change()
490 new->is_local = local; in dccp_feat_push_change()
491 new->state = FEAT_INITIALISING; in dccp_feat_push_change()
492 new->needs_confirm = false; in dccp_feat_push_change()
493 new->empty_confirm = false; in dccp_feat_push_change()
494 new->val = *fval; in dccp_feat_push_change()
495 new->needs_mandatory = mandatory; in dccp_feat_push_change()
512 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_confirm() local
514 if (new == NULL) in dccp_feat_push_confirm()
517 new->feat_num = feat; in dccp_feat_push_confirm()
518 new->is_local = local; in dccp_feat_push_confirm()
519 new->state = FEAT_STABLE; /* transition in 6.6.2 */ in dccp_feat_push_confirm()
520 new->needs_confirm = true; in dccp_feat_push_confirm()
521 new->empty_confirm = (fval == NULL); in dccp_feat_push_confirm()
522 new->val.nn = 0; /* zeroes the whole structure */ in dccp_feat_push_confirm()
523 if (!new->empty_confirm) in dccp_feat_push_confirm()
524 new->val = *fval; in dccp_feat_push_confirm()
525 new->needs_mandatory = false; in dccp_feat_push_confirm()
554 struct dccp_feat_entry *entry, *new; in dccp_feat_clone_list() local
558 new = dccp_feat_clone_entry(entry); in dccp_feat_clone_list()
559 if (new == NULL) in dccp_feat_clone_list()
561 list_add_tail(&new->node, to); in dccp_feat_clone_list()