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

1234

/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.c32 * allocate a new transport session manager
83 const char *new = "old"; local
100 /* not yet present - create a candidate for a new record and then
115 /* we can now add the new candidate to the list */
124 new = "new";
128 new,
H A Dar-connection.c33 * allocate a new client connection bundle
104 /* not yet present - create a candidate for a new record and then
131 /* second search also failed; add the new bundle */
138 _net("BUNDLE new on trans %d", trans->debug_id);
143 _leave(" = %p [new]", bundle);
196 * allocate a new connection
348 /* not yet present - create a candidate for a new connection
383 _net("CONNECT EXCL new %d on TRANS %d",
492 /* need to allocate a new connection */
493 _debug("get new con
628 const char *new = "old"; local
[all...]
/net/netfilter/
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.c52 static void replace_u32(u32 *address, u32 mask, u32 new) argument
58 tmp = (old & mask) ^ new;
H A Dnft_rbtree.c86 struct nft_rbtree_elem *new)
98 d = nft_data_cmp(&rbe->key, &new->key, set->klen);
106 rb_link_node(&new->node, parent, p);
107 rb_insert_color(&new->node, &priv->root);
85 __nft_rbtree_insert(const struct nft_set *set, struct nft_rbtree_elem *new) argument
H A Dcore.c234 void nf_ct_attach(struct sk_buff *new, const struct sk_buff *skb) argument
242 attach(new, skb);
H A Dnf_conntrack_ecache.c171 struct nf_ct_event_notifier *new)
183 rcu_assign_pointer(net->ct.nf_conntrack_event_cb, new);
193 struct nf_ct_event_notifier *new)
200 BUG_ON(notify != new);
207 struct nf_exp_event_notifier *new)
219 rcu_assign_pointer(net->ct.nf_expect_event_cb, new);
229 struct nf_exp_event_notifier *new)
236 BUG_ON(notify != new);
170 nf_conntrack_register_notifier(struct net *net, struct nf_ct_event_notifier *new) argument
192 nf_conntrack_unregister_notifier(struct net *net, struct nf_ct_event_notifier *new) argument
206 nf_ct_expect_register_notifier(struct net *net, struct nf_exp_event_notifier *new) argument
228 nf_ct_expect_unregister_notifier(struct net *net, struct nf_exp_event_notifier *new) argument
/net/sunrpc/
H A Dsvcauth.c117 * it's second argument 'new'. If this is non-null, it will
139 auth_domain_lookup(char *name, struct auth_domain *new) argument
155 if (new)
156 hlist_add_head(&new->hash, head);
158 return new;
/net/x25/
H A Dx25_facilities.c5 * randomly fail to work with new releases, misbehave and/or generally
271 struct x25_facilities *new, struct x25_dte_facilities *dte)
279 memcpy(new, ours, sizeof(*new));
293 new->reverse = theirs.reverse;
302 new->throughput = (new->throughput & 0xf0) | theirs_in;
307 new->throughput = (new->throughput & 0x0f) | theirs_out;
314 new
270 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.c48 * Add a new discovery to the cachelog, and remove any old discoveries
54 * discovered is "new" or just the same old one. They can't rely there
55 * on a binary flag (new/old), because not all discovery events are
57 * miss some new devices popping up...
60 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *new) argument
65 /* Set time of first discovery if node is new (see below) */
66 new->firststamp = new->timestamp;
83 if ((node->data.saddr == new->data.saddr) &&
84 ((node->data.daddr == new
[all...]
H A Dqos.c274 * Function irda_qos_compute_intersection (qos, new)
276 * Compute the intersection of the old QoS capabilities with new ones
279 void irda_qos_compute_intersection(struct qos_info *qos, struct qos_info *new) argument
282 IRDA_ASSERT(new != NULL, return;);
285 qos->baud_rate.bits &= new->baud_rate.bits;
286 qos->window_size.bits &= new->window_size.bits;
287 qos->min_turn_time.bits &= new->min_turn_time.bits;
288 qos->max_turn_time.bits &= new->max_turn_time.bits;
289 qos->data_size.bits &= new->data_size.bits;
290 qos->link_disc_time.bits &= new
[all...]
/net/sched/
H A Dcls_cgroup.c101 struct cls_cgroup_head *new; local
115 new = kzalloc(sizeof(*head), GFP_KERNEL);
116 if (!new)
119 tcf_exts_init(&new->exts, TCA_CGROUP_ACT, TCA_CGROUP_POLICE);
121 new->handle = head->handle;
123 new->handle = handle;
125 new->tp = tp;
142 tcf_exts_change(tp, &new->exts, &e);
143 tcf_em_tree_change(tp, &new->ematches, &t);
145 rcu_assign_pointer(tp->root, new);
[all...]
H A Dsch_mq.c148 static int mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, argument
157 *old = dev_graft_qdisc(dev_queue, new);
158 if (new)
159 new->flags |= TCQ_F_ONETXQUEUE;
H A Dsch_dsmark.c56 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);
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.c197 static int mqprio_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, argument
209 *old = dev_graft_qdisc(dev_queue, new);
211 if (new)
212 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;
/net/sctp/
H A Dtsnmap.c358 unsigned long *new; local
368 new = kzalloc(len>>3, GFP_ATOMIC);
369 if (!new)
372 bitmap_copy(new, map->tsn_map,
375 map->tsn_map = new;
/net/6lowpan/
H A Diphc.c177 struct sk_buff *new; local
180 new = skb_copy_expand(skb, sizeof(struct ipv6hdr), skb_tailroom(skb),
184 if (!new)
187 skb_push(new, sizeof(struct ipv6hdr));
188 skb_reset_network_header(new);
189 skb_copy_to_linear_data(new, hdr, sizeof(struct ipv6hdr));
191 new->protocol = htons(ETH_P_IPV6);
192 new->pkt_type = PACKET_HOST;
193 new->dev = dev;
196 new
463 struct sk_buff *new; local
[all...]
/net/batman-adv/
H A Dmulticast.c39 struct batadv_hw_addr *new; local
44 new = kmalloc(sizeof(*new), GFP_ATOMIC);
45 if (!new) {
50 ether_addr_copy(new->addr, mc_list_entry->addr);
51 hlist_add_head(&new->list, mcast_list);
564 * @mcast_flags: flags indicating the new multicast state
597 * @mcast_flags: flags indicating the new multicast state
630 * @mcast_flags: flags indicating the new multicast state
681 * is a completely new orig_nod
[all...]
/net/core/
H A Ddst.c29 * new entries from both BH and non-BH context.
300 unsigned long prev, new; local
304 new = (unsigned long) p;
305 prev = cmpxchg(&dst->_metrics, old, new);
321 unsigned long prev, new; local
323 new = ((unsigned long) dst_default_metrics) | DST_METRICS_READ_ONLY;
324 prev = cmpxchg(&dst->_metrics, old, new);
H A Dnetprio_cgroup.c39 struct netprio_map *old, *new; local
48 * Determine the new size. Let's keep it power-of-two. We start
55 sizeof(new->priomap[0]);
65 new = kzalloc(new_sz, GFP_KERNEL);
66 if (!new)
70 memcpy(new->priomap, old->priomap,
73 new->priomap_len = new_len;
75 /* install the new priomap */
76 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.c395 static void ip_nat_q931_expect(struct nf_conn *new, argument
401 nf_nat_follow_master(new, this);
406 BUG_ON(new->status & IPS_NAT_DONE_MASK);
411 new->tuplehash[!this->dir].tuple.src.u3;
412 nf_nat_setup_info(new, &range, NF_NAT_MANIP_SRC);
418 new->master->tuplehash[!this->dir].tuple.src.u3;
419 nf_nat_setup_info(new, &range, NF_NAT_MANIP_DST);
494 static void ip_nat_callforwarding_expect(struct nf_conn *new, argument
500 BUG_ON(new->status & IPS_NAT_DONE_MASK);
505 new
[all...]

Completed in 264 milliseconds

1234