/net/ipv6/ |
H A D | output_core.c | 12 int old, new; local 29 old = atomic_read(&ipv6_fragmentation_id); 30 new = old + 1; 33 } while (atomic_cmpxchg(&ipv6_fragmentation_id, old, new) != old);
|
/net/netfilter/ |
H A D | nf_conntrack_extend.c | 75 struct nf_ct_ext *old, *new; local 82 old = ct->ext; 83 if (!old) 86 if (__nf_ct_ext_exist(old, id)) 93 newoff = ALIGN(old->len, t->align); 97 new = __krealloc(old, newlen, gfp); 101 if (new != old) { 103 if (!__nf_ct_ext_exist(old, i)) 110 (void *)old + old [all...] |
H A D | nf_conntrack_labels.c | 58 u32 old, tmp; local 61 old = *address; 62 tmp = (old & mask) ^ new; 63 } while (cmpxchg(address, old, tmp) != old);
|
H A D | nf_conntrack_proto.c | 219 struct nf_conntrack_l3proto *old; local 228 old = rcu_dereference_protected(nf_ct_l3protos[proto->l3proto], 230 if (old != &nf_conntrack_l3proto_generic) {
|
/net/sched/ |
H A D | sch_mq.c | 145 struct Qdisc **old) 153 *old = dev_graft_qdisc(dev_queue, new); 144 mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_dsmark.c | 56 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); 71 *old = p->q; 73 qdisc_tree_decrease_qlen(*old, (*old)->q.qlen); 74 qdisc_reset(*old); 55 dsmark_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_mqprio.c | 196 struct Qdisc **old) 207 *old = dev_graft_qdisc(dev_queue, new); 195 mqprio_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_multiq.c | 230 struct Qdisc *child, *old; local 237 old = q->queues[i]; 240 if (old != &noop_qdisc) { 241 qdisc_tree_decrease_qlen(old, 242 old->q.qlen); 243 qdisc_destroy(old); 298 struct Qdisc **old) 307 *old = q->queues[band]; 309 qdisc_tree_decrease_qlen(*old, (*old) 297 multiq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument [all...] |
H A D | sch_prio.c | 200 struct Qdisc *child, *old; local 207 old = q->queues[i]; 210 if (old != &noop_qdisc) { 211 qdisc_tree_decrease_qlen(old, 212 old->q.qlen); 213 qdisc_destroy(old); 261 struct Qdisc **old) 270 *old = q->queues[band]; 272 qdisc_tree_decrease_qlen(*old, (*old) 260 prio_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument [all...] |
H A D | sch_red.c | 309 struct Qdisc **old) 317 *old = q->qdisc; 319 qdisc_tree_decrease_qlen(*old, (*old)->q.qlen); 320 qdisc_reset(*old); 308 red_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_tbf.c | 383 struct Qdisc **old) 391 *old = q->qdisc; 393 qdisc_tree_decrease_qlen(*old, (*old)->q.qlen); 394 qdisc_reset(*old); 382 tbf_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_atm.c | 83 struct Qdisc *new, struct Qdisc **old) 88 pr_debug("atm_tc_graft(sch %p,[qdisc %p],flow %p,new %p,old %p)\n", 89 sch, p, flow, new, old); 94 *old = flow->q; 96 if (*old) 97 qdisc_reset(*old); 207 * native ATM API. In order to send a flow to a different VC, the old 82 atm_tc_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_drr.c | 216 struct Qdisc *new, struct Qdisc **old) 229 *old = cl->qdisc; 215 drr_graft_class(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
|
/net/caif/ |
H A D | cfmuxl.c | 89 struct cflayer *old; local 93 /* Two entries with same id is wrong, so remove old layer from mux */ 94 old = get_from_id(&muxl->srvl_list, linkid); 95 if (old != NULL) 96 list_del_rcu(&old->node);
|
/net/core/ |
H A D | dst.c | 286 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) argument 291 u32 *old_p = __DST_METRICS_PTR(old); 297 prev = cmpxchg(&dst->_metrics, old, new); 299 if (prev != old) { 311 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) argument 316 prev = cmpxchg(&dst->_metrics, old, new); 317 if (prev == old) 318 kfree(__DST_METRICS_PTR(old));
|
H A D | netprio_cgroup.c | 45 struct netprio_map *old, *new; local 49 old = rtnl_dereference(dev->priomap); 50 if (old && old->priomap_len > target_idx) 75 if (old) 76 memcpy(new->priomap, old->priomap, 77 old->priomap_len * sizeof(old->priomap[0])); 83 if (old) 84 kfree_rcu(old, rc 265 struct netprio_map *old; local 303 struct netprio_map *old; local [all...] |
/net/mac80211/ |
H A D | key.c | 254 struct ieee80211_key *old, 266 if (old) 267 idx = old->conf.keyidx; 272 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx); 274 if (old) 275 idx = old->conf.keyidx; 279 defunikey = old && 280 old == key_mtx_dereference(sdata->local, 282 defmultikey = old 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...] |
H A D | rate.c | 691 struct ieee80211_sta_rates *old; local 699 old = rcu_dereference_protected(pubsta->rates, true); 701 if (old) 702 kfree_rcu(old, rcu_head);
|
H A D | rc80211_minstrel.h | 29 minstrel_ewma(int old, int new, int weight) argument 31 return (new * (EWMA_DIV - weight) + old * weight) / EWMA_DIV;
|
/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 76 struct ip_vs_dest_dst *old; local 78 old = rcu_dereference_protected(dest->dest_dst, 87 if (old) 88 call_rcu(&old->rcu_head, ip_vs_dest_dst_rcu_free); 244 /* skb to local stack, preserve old route */ 421 /* skb to local stack, preserve old route */ 867 /* fix old IP header checksum */
|
/net/atm/ |
H A D | clip.c | 248 int old; local 258 old = xchg(&clip_vcc->xoff, 0); 259 if (old) 334 int old; local 385 old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ 386 if (old) {
|
/net/bluetooth/rfcomm/ |
H A D | tty.c | 857 static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) argument 860 int old_baud_rate = tty_termios_baud_rate(old); 868 BT_DBG("tty %p termios %p", tty, old); 874 if ((old->c_cflag & CRTSCTS) && !(new->c_cflag & CRTSCTS)) 878 if (((old->c_cflag & PARENB) != (new->c_cflag & PARENB)) || 879 ((old->c_cflag & PARODD) != (new->c_cflag & PARODD))) { 899 if (old->c_cc[VSTOP] != new->c_cc[VSTOP]) { 908 if (old->c_cc[VSTART] != new->c_cc[VSTART]) { 918 if ((old->c_cflag & CSTOPB) != (new->c_cflag & CSTOPB)) 930 if ((old [all...] |
/net/bridge/ |
H A D | br_netfilter.c | 124 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) argument
|
/net/ceph/ |
H A D | mon_client.c | 332 struct ceph_monmap *monmap = NULL, *old = monc->monmap; local 357 kfree(old);
|
/net/ipv4/ |
H A D | ip_sockglue.c | 505 struct ip_options_rcu *old, *opt = NULL; local 513 old = rcu_dereference_protected(inet->inet_opt, 523 if (old) 524 icsk->icsk_ext_hdr_len -= old->opt.optlen; 533 if (old) 534 kfree_rcu(old, rcu);
|