Searched defs:new (Results 1 - 25 of 82) sorted by relevance

1234

/net/ipv6/
H A Doutput_core.c12 int old, new; local
30 new = old + 1;
31 if (!new)
32 new = 1;
33 } while (atomic_cmpxchg(&ipv6_fragmentation_id, old, new) != old);
34 fhdr->identification = htonl(new);
/net/rxrpc/
H A Dar-peer.c59 * allocate a new peer
109 const char *new = "old"; local
137 /* not yet present - create a candidate for a new record and then
157 /* we can now add the new candidate to the list */
164 new = "new";
168 new,
234 _leave(" = -EBUSY [new]");
H A Dar-transport.c28 * allocate a new transport session manager
79 const char *new = "old"; local
96 /* not yet present - create a candidate for a new record and then
111 /* we can now add the new candidate to the list */
120 new = "new";
124 new,
H A Dar-connection.c29 * allocate a new client connection bundle
100 /* not yet present - create a candidate for a new record and then
127 /* second search also failed; add the new bundle */
134 _net("BUNDLE new on trans %d", trans->debug_id);
139 _leave(" = %p [new]", bundle);
192 * allocate a new connection
344 /* not yet present - create a candidate for a new connection
379 _net("CONNECT EXCL new %d on TRANS %d",
486 /* need to allocate a new connection */
487 _debug("get new con
622 const char *new = "old"; local
[all...]
/net/netfilter/
H A Dnf_conntrack_ecache.c87 struct nf_ct_event_notifier *new)
99 rcu_assign_pointer(net->ct.nf_conntrack_event_cb, new);
109 struct nf_ct_event_notifier *new)
116 BUG_ON(notify != new);
123 struct nf_exp_event_notifier *new)
135 rcu_assign_pointer(net->ct.nf_expect_event_cb, new);
145 struct nf_exp_event_notifier *new)
152 BUG_ON(notify != new);
86 nf_conntrack_register_notifier(struct net *net, struct nf_ct_event_notifier *new) argument
108 nf_conntrack_unregister_notifier(struct net *net, struct nf_ct_event_notifier *new) argument
122 nf_ct_expect_register_notifier(struct net *net, struct nf_exp_event_notifier *new) argument
144 nf_ct_expect_unregister_notifier(struct net *net, struct nf_exp_event_notifier *new) argument
H A Dnf_conntrack_extend.c75 struct nf_ct_ext *old, *new; local
97 new = __krealloc(old, newlen, gfp);
98 if (!new)
101 if (new != old) {
109 t->move((void *)new + new->offset[i],
114 ct->ext = new;
117 new->offset[id] = newoff;
118 new->len = newlen;
119 memset((void *)new
[all...]
H A Dnf_conntrack_labels.c56 static void replace_u32(u32 *address, u32 mask, u32 new) argument
62 tmp = (old & mask) ^ new;
H A Dcore.c240 void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) argument
248 attach(new, skb);
/net/sunrpc/
H A Dsvcauth.c115 * it's second argument 'new'. If this is non-null, it will
137 auth_domain_lookup(char *name, struct auth_domain *new) argument
153 if (new)
154 hlist_add_head(&new->hash, head);
156 return new;
/net/x25/
H A Dx25_facilities.c5 * randomly fail to work with new releases, misbehave and/or generally
265 struct x25_facilities *new, struct x25_dte_facilities *dte)
273 memcpy(new, ours, sizeof(*new));
287 new->reverse = theirs.reverse;
296 new->throughput = (new->throughput & 0xf0) | theirs_in;
301 new->throughput = (new->throughput & 0x0f) | theirs_out;
308 new
264 x25_negotiate_facilities(struct sk_buff *skb, struct sock *sk, struct x25_facilities *new, struct x25_dte_facilities *dte) argument
[all...]
/net/dccp/ccids/lib/
H A Dloss_interval.c108 * subsequent packets as belonging to a new loss interval. This
122 /* Determine if `new_loss' does begin a new loss interval [RFC 4342, 10.2] */
131 * tfrc_lh_interval_add - Insert new record into the Loss Interval database
137 * Updates I_mean and returns 1 if a new interval has in fact been added to @lh.
142 struct tfrc_loss_interval *cur = tfrc_lh_peek(lh), *new; local
147 new = tfrc_lh_demand_next(lh);
148 if (unlikely(new == NULL)) {
153 new->li_seqno = tfrc_rx_hist_loss_prev(rh)->tfrchrx_seqno;
154 new->li_ccval = tfrc_rx_hist_loss_prev(rh)->tfrchrx_ccval;
155 new
[all...]
/net/irda/
H A Ddiscovery.c50 * Add a new discovery to the cachelog, and remove any old discoveries
56 * discovered is "new" or just the same old one. They can't rely there
57 * on a binary flag (new/old), because not all discovery events are
59 * miss some new devices popping up...
62 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *new) argument
67 /* Set time of first discovery if node is new (see below) */
68 new->firststamp = new->timestamp;
85 if ((node->data.saddr == new->data.saddr) &&
86 ((node->data.daddr == new
[all...]
H A Dqos.c276 * Function irda_qos_compute_intersection (qos, new)
278 * Compute the intersection of the old QoS capabilities with new ones
281 void irda_qos_compute_intersection(struct qos_info *qos, struct qos_info *new) argument
284 IRDA_ASSERT(new != NULL, return;);
287 qos->baud_rate.bits &= new->baud_rate.bits;
288 qos->window_size.bits &= new->window_size.bits;
289 qos->min_turn_time.bits &= new->min_turn_time.bits;
290 qos->max_turn_time.bits &= new->max_turn_time.bits;
291 qos->data_size.bits &= new->data_size.bits;
292 qos->link_disc_time.bits &= new
[all...]
/net/sched/
H A Dsch_mq.c144 static int mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, argument
153 *old = dev_graft_qdisc(dev_queue, new);
154 if (new)
155 new->flags |= TCQ_F_ONETXQUEUE;
H A Dsch_dsmark.c56 struct Qdisc *new, struct Qdisc **old)
60 pr_debug("dsmark_graft(sch %p,[qdisc %p],new %p,old %p)\n",
61 sch, p, new, old);
63 if (new == NULL) {
64 new = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops,
66 if (new == NULL)
67 new = &noop_qdisc;
72 p->q = new;
55 dsmark_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
H A Dsch_mqprio.c195 static int mqprio_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, argument
207 *old = dev_graft_qdisc(dev_queue, new);
209 if (new)
210 new->flags |= TCQ_F_ONETXQUEUE;
H A Dsch_multiq.c297 static int multiq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, argument
303 if (new == NULL)
304 new = &noop_qdisc;
308 q->queues[band] = new;
H A Dsch_prio.c260 static int prio_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, argument
266 if (new == NULL)
267 new = &noop_qdisc;
271 q->queues[band] = new;
H A Dsch_red.c308 static int red_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, argument
313 if (new == NULL)
314 new = &noop_qdisc;
318 q->qdisc = new;
/net/sctp/
H A Dtsnmap.c365 unsigned long *new; local
375 new = kzalloc(len>>3, GFP_ATOMIC);
376 if (!new)
379 bitmap_copy(new, map->tsn_map,
382 map->tsn_map = new;
/net/core/
H A Ddst.c29 * new entries from both BH and non-BH context.
292 unsigned long prev, new; local
296 new = (unsigned long) p;
297 prev = cmpxchg(&dst->_metrics, old, new);
313 unsigned long prev, new; local
315 new = ((unsigned long) dst_default_metrics) | DST_METRICS_READ_ONLY;
316 prev = cmpxchg(&dst->_metrics, old, new);
H A Dnetprio_cgroup.c45 struct netprio_map *old, *new; local
54 * Determine the new size. Let's keep it power-of-two. We start
61 sizeof(new->priomap[0]);
71 new = kzalloc(new_sz, GFP_KERNEL);
72 if (!new)
76 memcpy(new->priomap, old->priomap,
79 new->priomap_len = new_len;
81 /* install the new priomap */
82 rcu_assign_pointer(dev->priomap, new);
/net/dccp/
H A Dackvec.c193 * dccp_ackvec_add_new - Record one or more new entries in Ack Vector buffer
352 struct dccp_ackvec_parsed *new = kmalloc(sizeof(*new), GFP_ATOMIC); local
354 if (new == NULL)
356 new->vec = vec;
357 new->len = len;
358 new->nonce = nonce;
360 list_add_tail(&new->node, head);
/net/ipv4/netfilter/
H A Dnf_nat_h323.c392 static void ip_nat_q931_expect(struct nf_conn *new, argument
398 nf_nat_follow_master(new, this);
403 BUG_ON(new->status & IPS_NAT_DONE_MASK);
408 new->tuplehash[!this->dir].tuple.src.u3;
409 nf_nat_setup_info(new, &range, NF_NAT_MANIP_SRC);
415 new->master->tuplehash[!this->dir].tuple.src.u3;
416 nf_nat_setup_info(new, &range, NF_NAT_MANIP_DST);
491 static void ip_nat_callforwarding_expect(struct nf_conn *new, argument
497 BUG_ON(new->status & IPS_NAT_DONE_MASK);
502 new
[all...]
/net/mac80211/
H A Dkey.c255 struct ieee80211_key *new)
260 if (new)
261 list_add_tail(&new->list, &sdata->key_list);
264 rcu_assign_pointer(sta->ptk, new);
269 idx = new->conf.keyidx;
270 rcu_assign_pointer(sta->gtk[idx], new);
272 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx);
277 idx = new->conf.keyidx;
289 if (defunikey && !new)
251 ieee80211_key_replace(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, bool pairwise, struct ieee80211_key *old, struct ieee80211_key *new) argument
[all...]

Completed in 1456 milliseconds

1234