Lines Matching defs:new
171 struct sk_buff *new;
173 new = alloc_skb(len, gfp_mask);
174 if (new == NULL)
177 NETLINK_CB(new).portid = NETLINK_CB(skb).portid;
178 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group;
179 NETLINK_CB(new).creds = NETLINK_CB(skb).creds;
181 skb_put_data(new, skb->data, len);
182 return new;
1652 int old, new = !!is_new, subscriptions;
1655 subscriptions = nlk->subscriptions - old + new;
1656 __assign_bit(group - 1, nlk->groups, new);
2102 struct listeners *new, *old;
2109 new = kzalloc(sizeof(*new) + NLGRPSZ(groups), GFP_ATOMIC);
2110 if (!new)
2113 memcpy(new->masks, old->masks, NLGRPSZ(tbl->groups));
2114 rcu_assign_pointer(tbl->listeners, new);
2133 * @groups: The new number of groups.