/net/bridge/ |
H A D | br_nf_core.c | 38 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) argument
|
/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 | 54 u32 old, tmp; local 57 old = *address; 58 tmp = (old & mask) ^ new; 59 } while (cmpxchg(address, old, tmp) != old);
|
H A D | nf_conntrack_proto.c | 213 struct nf_conntrack_l3proto *old; local 222 old = rcu_dereference_protected(nf_ct_l3protos[proto->l3proto], 224 if (old != &nf_conntrack_l3proto_generic) {
|
H A D | nf_synproxy_core.c | 188 u32 *ptr, old; local 217 old = *ptr; 222 old = *ptr; 227 old, *ptr, 0);
|
/net/core/ |
H A D | sysctl_net_core.c | 180 unsigned int old, *ptr; local 186 old = *ptr; 189 *ptr = old;
|
H A D | dst.c | 294 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) argument 299 u32 *old_p = __DST_METRICS_PTR(old); 305 prev = cmpxchg(&dst->_metrics, old, new); 307 if (prev != old) { 319 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) argument 324 prev = cmpxchg(&dst->_metrics, old, new); 325 if (prev == old) 326 kfree(__DST_METRICS_PTR(old));
|
H A D | netprio_cgroup.c | 39 struct netprio_map *old, *new; local 43 old = rtnl_dereference(dev->priomap); 44 if (old && old->priomap_len > target_idx) 69 if (old) 70 memcpy(new->priomap, old->priomap, 71 old->priomap_len * sizeof(old->priomap[0])); 77 if (old) 78 kfree_rcu(old, rc 259 struct netprio_map *old; local [all...] |
/net/sched/ |
H A D | sch_mq.c | 81 struct Qdisc *qdisc, *old; local 86 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); 87 if (old) 88 qdisc_destroy(old); 149 struct Qdisc **old) 157 *old = dev_graft_qdisc(dev_queue, new); 148 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("%s(sch %p,[qdisc %p],new %p,old %p)\n", 61 __func__, 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 | 170 struct Qdisc *qdisc, *old; local 176 old = dev_graft_qdisc(qdisc->dev_queue, qdisc); 177 if (old) 178 qdisc_destroy(old); 198 struct Qdisc **old) 209 *old = dev_graft_qdisc(dev_queue, new); 197 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 | 202 struct Qdisc *child, *old; local 209 old = q->queues[i]; 212 if (old != &noop_qdisc) { 213 qdisc_tree_decrease_qlen(old, 214 old->q.qlen); 215 qdisc_destroy(old); 263 struct Qdisc **old) 272 *old = q->queues[band]; 274 qdisc_tree_decrease_qlen(*old, (*old) 262 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_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 | 218 struct Qdisc *new, struct Qdisc **old) 231 *old = cl->qdisc; 217 drr_graft_class(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old) argument
|
H A D | sch_tbf.c | 498 struct Qdisc **old) 506 *old = q->qdisc; 508 qdisc_tree_decrease_qlen(*old, (*old)->q.qlen); 509 qdisc_reset(*old); 497 tbf_graft(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/openvswitch/ |
H A D | vport.c | 349 struct vport_portids *old, *vport_portids; local 354 old = ovsl_dereference(vport->upcall_portids); 367 if (old) 368 kfree_rcu(old, rcu);
|
/net/mac80211/ |
H A D | key.c | 254 struct ieee80211_key *old, 260 /* caller must provide at least one old/new */ 261 if (WARN_ON(!new && !old)) 267 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx); 269 if (old) 270 idx = old->conf.keyidx; 283 defunikey = old && 284 old == key_mtx_dereference(sdata->local, 286 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 | 699 struct ieee80211_sta_rates *old; local 707 old = rcu_dereference_protected(pubsta->rates, true); 709 if (old) 710 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/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 | 870 static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) argument 873 int old_baud_rate = tty_termios_baud_rate(old); 881 BT_DBG("tty %p termios %p", tty, old); 887 if ((old->c_cflag & CRTSCTS) && !(new->c_cflag & CRTSCTS)) 891 if (((old->c_cflag & PARENB) != (new->c_cflag & PARENB)) || 892 ((old->c_cflag & PARODD) != (new->c_cflag & PARODD))) { 912 if (old->c_cc[VSTOP] != new->c_cc[VSTOP]) { 921 if (old->c_cc[VSTART] != new->c_cc[VSTART]) { 931 if ((old->c_cflag & CSTOPB) != (new->c_cflag & CSTOPB)) 943 if ((old [all...] |
/net/ceph/ |
H A D | mon_client.c | 359 struct ceph_monmap *monmap = NULL, *old = monc->monmap; local 384 kfree(old);
|