Home
last modified time | relevance | path

Searched refs:w (Results 1 – 14 of 14) sorted by relevance

/net/ipv4/
Dtcp_westwood.c63 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local
65 w->bk = 0; in tcp_westwood_init()
66 w->bw_ns_est = 0; in tcp_westwood_init()
67 w->bw_est = 0; in tcp_westwood_init()
68 w->accounted = 0; in tcp_westwood_init()
69 w->cumul_ack = 0; in tcp_westwood_init()
70 w->reset_rtt_min = 1; in tcp_westwood_init()
71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
72 w->rtt_win_sx = tcp_time_stamp; in tcp_westwood_init()
73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init()
[all …]
Dfib_semantics.c1179 int w; in fib_select_multipath() local
1204 w = jiffies % fi->fib_power; in fib_select_multipath()
1208 if ((w -= nh->nh_power) <= 0) { in fib_select_multipath()
/net/ipv6/
Dip6_fib.c64 struct fib6_walker_t w; member
82 static int fib6_walk(struct fib6_walker_t *w);
83 static int fib6_walk_continue(struct fib6_walker_t *w);
101 #define FOR_WALKERS(w) for ((w)=fib6_walker_list.next; (w) != &fib6_walker_list; (w)=(w)->next) argument
103 static inline void fib6_walker_link(struct fib6_walker_t *w) in fib6_walker_link() argument
106 w->next = fib6_walker_list.next; in fib6_walker_link()
107 w->prev = &fib6_walker_list; in fib6_walker_link()
108 w->next->prev = w; in fib6_walker_link()
109 w->prev->next = w; in fib6_walker_link()
113 static inline void fib6_walker_unlink(struct fib6_walker_t *w) in fib6_walker_unlink() argument
[all …]
/net/tipc/
Dbcast.h83 int w = n / WSIZE; in tipc_nmap_add() local
86 if ((nm_ptr->map[w] & mask) == 0) { in tipc_nmap_add()
88 nm_ptr->map[w] |= mask; in tipc_nmap_add()
99 int w = n / WSIZE; in tipc_nmap_remove() local
102 if ((nm_ptr->map[w] & mask) != 0) { in tipc_nmap_remove()
103 nm_ptr->map[w] &= ~mask; in tipc_nmap_remove()
128 int w; in tipc_nmap_diff() local
133 for (w = 0; w < stop; w++) { in tipc_nmap_diff()
134 map = nm_a->map[w] ^ (nm_a->map[w] & nm_b->map[w]); in tipc_nmap_diff()
135 nm_diff->map[w] = map; in tipc_nmap_diff()
Dmsg.h64 static inline void msg_set_word(struct tipc_msg *m, u32 w, u32 val) in msg_set_word() argument
66 m->hdr[w] = htonl(val); in msg_set_word()
69 static inline void msg_set_bits(struct tipc_msg *m, u32 w, in msg_set_bits() argument
74 m->hdr[w] &= ~htonl(mask); in msg_set_bits()
75 m->hdr[w] |= htonl(val); in msg_set_bits()
/net/core/
Dutils.c121 int w = 0; in in4_pton() local
135 if (w == 0) in in4_pton()
137 *d++ = w & 0xff; in in4_pton()
138 w = 0; in in4_pton()
147 w = (w * 10) + c; in in4_pton()
148 if ((w & 0xffff) > 255) { in in4_pton()
177 int w = 0; in in6_pton() local
195 *d++ = (w >> 8) & 0xff; in in6_pton()
196 *d++ = w & 0xff; in in6_pton()
198 w = 0; in in6_pton()
[all …]
/net/netfilter/
Dxt_time.c79 unsigned int v, w; in localtime_1() local
84 w = v / 60; in localtime_1()
85 r->minute = w % 60; in localtime_1()
86 r->hour = w / 60; in localtime_1()
107 unsigned int year, i, w = r->dse; in localtime_3() local
117 for (i = 0, year = DSE_FIRST; days_since_epoch[i] > w; in localtime_3()
121 w -= days_since_epoch[i]; in localtime_3()
141 i > 0 && days_since_leapyear[i] > w; --i) in localtime_3()
143 r->monthday = w - days_since_leapyear[i] + 1; in localtime_3()
146 i > 0 && days_since_year[i] > w; --i) in localtime_3()
[all …]
/net/bridge/netfilter/
Debtables.c67 ebt_do_watcher(const struct ebt_entry_watcher *w, struct sk_buff *skb, in ebt_do_watcher() argument
70 par->target = w->u.watcher; in ebt_do_watcher()
71 par->targinfo = w->data; in ebt_do_watcher()
72 w->u.watcher->target(skb, par); in ebt_do_watcher()
360 ebt_check_watcher(struct ebt_entry_watcher *w, struct xt_tgchk_param *par, in ebt_check_watcher() argument
365 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
369 left - sizeof(struct ebt_entry_watcher) < w->watcher_size) in ebt_check_watcher()
373 xt_find_target(NFPROTO_BRIDGE, w->u.name, 0), in ebt_check_watcher()
374 "ebt_%s", w->u.name); in ebt_check_watcher()
379 w->u.watcher = watcher; in ebt_check_watcher()
[all …]
/net/sched/
Dcls_api.c380 struct tcf_walker w; member
456 arg.w.fn = tcf_node_dump; in tc_dump_tfilter()
459 arg.w.stop = 0; in tc_dump_tfilter()
460 arg.w.skip = cb->args[1]-1; in tc_dump_tfilter()
461 arg.w.count = 0; in tc_dump_tfilter()
462 tp->ops->walk(tp, &arg.w); in tc_dump_tfilter()
463 cb->args[1] = arg.w.count+1; in tc_dump_tfilter()
464 if (arg.w.stop) in tc_dump_tfilter()
Dsch_api.c893 struct qdisc_walker w; member
898 static int check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w);
907 arg.w.stop = arg.w.skip = arg.w.count = 0; in check_loop()
908 arg.w.fn = check_loop_fn; in check_loop()
911 q->ops->cl_ops->walk(q, &arg.w); in check_loop()
912 return arg.w.stop ? -ELOOP : 0; in check_loop()
916 check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w) in check_loop_fn() argument
920 struct check_loop_arg *arg = (struct check_loop_arg *)w; in check_loop_fn()
1495 struct qdisc_walker w; member
1523 arg.w.fn = qdisc_class_dump; in tc_dump_tclass_qdisc()
[all …]
DKconfig269 tristate "Universal 32bit comparisons w/ hashing (U32)"
/net/decnet/
Ddn_fib.c450 int w; in dn_fib_select_multipath() local
469 w = jiffies % fi->fib_power; in dn_fib_select_multipath()
473 if ((w -= nh->nh_power) <= 0) { in dn_fib_select_multipath()
/net/sunrpc/xprtrdma/
Drpc_rdma.c585 __be32 *w = (__be32 *) cur_wchunk; in rpcrdma_count_chunks() local
586 if (*w++ != xdr_zero) in rpcrdma_count_chunks()
588 cur_wchunk = (struct rpcrdma_write_chunk *) w; in rpcrdma_count_chunks()
/net/irda/
Dirlap_frame.c1176 int w, x, y, z; in irlap_recv_frmr_frame() local
1196 w = frame[3] & 0x01; in irlap_recv_frmr_frame()
1201 if (w) { in irlap_recv_frmr_frame()