/net/ipv4/ |
D | tcp_westwood.c | 62 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local 64 w->bk = 0; in tcp_westwood_init() 65 w->bw_ns_est = 0; in tcp_westwood_init() 66 w->bw_est = 0; in tcp_westwood_init() 67 w->accounted = 0; in tcp_westwood_init() 68 w->cumul_ack = 0; in tcp_westwood_init() 69 w->reset_rtt_min = 1; in tcp_westwood_init() 70 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init() 71 w->rtt_win_sx = tcp_time_stamp; in tcp_westwood_init() 72 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init() [all …]
|
D | tcp_cong.c | 308 void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w) in tcp_cong_avoid_ai() argument 310 if (tp->snd_cwnd_cnt >= w) { in tcp_cong_avoid_ai()
|
D | fib_semantics.c | 1291 int w; in fib_select_multipath() local 1316 w = jiffies % fi->fib_power; in fib_select_multipath() 1321 w -= nexthop_nh->nh_power; in fib_select_multipath() 1322 if (w <= 0) { in fib_select_multipath()
|
/net/ipv6/ |
D | ip6_fib.c | 50 struct fib6_walker w; member 68 static int fib6_walk(struct fib6_walker *w); 69 static int fib6_walk_continue(struct fib6_walker *w); 81 #define FOR_WALKERS(w) list_for_each_entry(w, &fib6_walkers, lh) argument 83 static void fib6_walker_link(struct fib6_walker *w) in fib6_walker_link() argument 86 list_add(&w->lh, &fib6_walkers); in fib6_walker_link() 90 static void fib6_walker_unlink(struct fib6_walker *w) in fib6_walker_unlink() argument 93 list_del(&w->lh); in fib6_walker_unlink() 274 static int fib6_dump_node(struct fib6_walker *w) in fib6_dump_node() argument 279 for (rt = w->leaf; rt; rt = rt->dst.rt6_next) { in fib6_dump_node() [all …]
|
D | route.c | 492 static void rt6_probe_deferred(struct work_struct *w) in rt6_probe_deferred() argument 496 container_of(w, struct __rt6_probe_work, work); in rt6_probe_deferred() 501 kfree(w); in rt6_probe_deferred()
|
D | addrconf.c | 178 static void addrconf_dad_work(struct work_struct *w); 3382 static void addrconf_dad_work(struct work_struct *w) in addrconf_dad_work() argument 3384 struct inet6_ifaddr *ifp = container_of(to_delayed_work(w), in addrconf_dad_work() 3842 static void addrconf_verify_work(struct work_struct *w) in addrconf_verify_work() argument
|
/net/core/ |
D | utils.c | 132 int w = 0; in in4_pton() local 146 if (w == 0) in in4_pton() 148 *d++ = w & 0xff; in in4_pton() 149 w = 0; in in4_pton() 158 w = (w * 10) + c; in in4_pton() 159 if ((w & 0xffff) > 255) { in in4_pton() 199 int w = 0; in in6_pton() local 217 *d++ = (w >> 8) & 0xff; in in6_pton() 218 *d++ = w & 0xff; in in6_pton() 220 w = 0; in in6_pton() [all …]
|
/net/netfilter/ |
D | xt_time.c | 79 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/ceph/crush/ |
D | mapper.c | 142 __u64 w = crush_hash32_4(bucket->h.hash,x, bucket->h.items[i], in bucket_list_choose() local 144 w &= 0xffff; in bucket_list_choose() 148 bucket->sum_weights[i], w); in bucket_list_choose() 149 w *= bucket->sum_weights[i]; in bucket_list_choose() 150 w = w >> 16; in bucket_list_choose() 152 if (w < bucket->item_weights[i]) in bucket_list_choose() 193 __u32 w; in bucket_tree_choose() local 202 w = bucket->node_weights[n]; in bucket_tree_choose() 204 bucket->h.id) * (__u64)w; in bucket_tree_choose() 652 int *w; in crush_do_rule() local [all …]
|
/net/nfc/hci/ |
D | llc_shdlc.c | 51 u8 w; /* window size */ member 109 #define SHDLC_T1_VALUE_MS(w) ((5 * w) / 4) argument 253 msecs_to_jiffies(SHDLC_T1_VALUE_MS(shdlc->w))); in llc_shdlc_rcv_i_frame() 408 u8 w = SHDLC_MAX_WINDOW; in llc_shdlc_rcv_u_frame() local 424 w = skb->data[0]; in llc_shdlc_rcv_u_frame() 430 if ((w <= SHDLC_MAX_WINDOW) && in llc_shdlc_rcv_u_frame() 432 shdlc->w = w; in llc_shdlc_rcv_u_frame() 540 shdlc->w - llc_shdlc_w_used(shdlc->ns, shdlc->dnr), in llc_shdlc_handle_send_queue() 543 while (shdlc->send_q.qlen && shdlc->ack_pending_q.qlen < shdlc->w && in llc_shdlc_handle_send_queue() 778 shdlc->w = SHDLC_MAX_WINDOW; in llc_shdlc_init()
|
/net/tipc/ |
D | bcast.c | 886 int w = n / WSIZE; in tipc_nmap_add() local 889 if ((nm_ptr->map[w] & mask) == 0) { in tipc_nmap_add() 891 nm_ptr->map[w] |= mask; in tipc_nmap_add() 901 int w = n / WSIZE; in tipc_nmap_remove() local 904 if ((nm_ptr->map[w] & mask) != 0) { in tipc_nmap_remove() 905 nm_ptr->map[w] &= ~mask; in tipc_nmap_remove() 921 int w; in tipc_nmap_diff() local 926 for (w = 0; w < stop; w++) { in tipc_nmap_diff() 927 map = nm_a->map[w] ^ (nm_a->map[w] & nm_b->map[w]); in tipc_nmap_diff() 928 nm_diff->map[w] = map; in tipc_nmap_diff()
|
D | msg.h | 91 static inline void msg_set_word(struct tipc_msg *m, u32 w, u32 val) in msg_set_word() argument 93 m->hdr[w] = htonl(val); in msg_set_word() 96 static inline u32 msg_bits(struct tipc_msg *m, u32 w, u32 pos, u32 mask) in msg_bits() argument 98 return (msg_word(m, w) >> pos) & mask; in msg_bits() 101 static inline void msg_set_bits(struct tipc_msg *m, u32 w, in msg_set_bits() argument 106 m->hdr[w] &= ~htonl(mask); in msg_set_bits() 107 m->hdr[w] |= htonl(val); in msg_set_bits()
|
/net/sched/ |
D | cls_api.c | 406 struct tcf_walker w; member 485 arg.w.fn = tcf_node_dump; in tc_dump_tfilter() 488 arg.w.stop = 0; in tc_dump_tfilter() 489 arg.w.skip = cb->args[1] - 1; in tc_dump_tfilter() 490 arg.w.count = 0; in tc_dump_tfilter() 491 tp->ops->walk(tp, &arg.w); in tc_dump_tfilter() 492 cb->args[1] = arg.w.count + 1; in tc_dump_tfilter() 493 if (arg.w.stop) in tc_dump_tfilter()
|
D | sch_api.c | 1059 struct qdisc_walker w; member 1064 static int check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w); 1073 arg.w.stop = arg.w.skip = arg.w.count = 0; in check_loop() 1074 arg.w.fn = check_loop_fn; in check_loop() 1077 q->ops->cl_ops->walk(q, &arg.w); in check_loop() 1078 return arg.w.stop ? -ELOOP : 0; in check_loop() 1082 check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w) in check_loop_fn() argument 1086 struct check_loop_arg *arg = (struct check_loop_arg *)w; in check_loop_fn() 1712 struct qdisc_walker w; member 1740 arg.w.fn = qdisc_class_dump; in tc_dump_tclass_qdisc() [all …]
|
D | Kconfig | 396 tristate "Universal 32bit comparisons w/ hashing (U32)"
|
/net/nfc/ |
D | netlink.c | 1464 struct work_struct w; member 1470 struct urelease_work *w = container_of(work, struct urelease_work, w); in nfc_urelease_event_work() local 1474 pr_debug("portid %d\n", w->portid); in nfc_urelease_event_work() 1484 if (dev->genl_data.poll_req_portid == w->portid) { in nfc_urelease_event_work() 1498 kfree(w); in nfc_urelease_event_work() 1505 struct urelease_work *w; in nfc_genl_rcv_nl_event() local 1512 w = kmalloc(sizeof(*w), GFP_ATOMIC); in nfc_genl_rcv_nl_event() 1513 if (w) { in nfc_genl_rcv_nl_event() 1514 INIT_WORK((struct work_struct *) w, nfc_urelease_event_work); in nfc_genl_rcv_nl_event() 1515 w->portid = n->portid; in nfc_genl_rcv_nl_event() [all …]
|
/net/bridge/netfilter/ |
D | ebtables.c | 89 ebt_do_watcher(const struct ebt_entry_watcher *w, struct sk_buff *skb, in ebt_do_watcher() argument 92 par->target = w->u.watcher; in ebt_do_watcher() 93 par->targinfo = w->data; in ebt_do_watcher() 94 w->u.watcher->target(skb, par); in ebt_do_watcher() 390 ebt_check_watcher(struct ebt_entry_watcher *w, struct xt_tgchk_param *par, in ebt_check_watcher() argument 395 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher() 399 left - sizeof(struct ebt_entry_watcher) < w->watcher_size) in ebt_check_watcher() 402 watcher = xt_request_find_target(NFPROTO_BRIDGE, w->u.name, 0); in ebt_check_watcher() 405 w->u.watcher = watcher; in ebt_check_watcher() 408 par->targinfo = w->data; in ebt_check_watcher() [all …]
|
/net/mac80211/ |
D | main.c | 665 int n_suites = 0, r = 0, w = 0; in ieee80211_init_cipher_suites() local 717 suites[w++] = WLAN_CIPHER_SUITE_CCMP; in ieee80211_init_cipher_suites() 718 suites[w++] = WLAN_CIPHER_SUITE_TKIP; in ieee80211_init_cipher_suites() 721 suites[w++] = WLAN_CIPHER_SUITE_WEP40; in ieee80211_init_cipher_suites() 722 suites[w++] = WLAN_CIPHER_SUITE_WEP104; in ieee80211_init_cipher_suites() 726 suites[w++] = WLAN_CIPHER_SUITE_AES_CMAC; in ieee80211_init_cipher_suites() 729 suites[w++] = cs[r].cipher; in ieee80211_init_cipher_suites() 744 suites[w++] = suite; in ieee80211_init_cipher_suites() 749 local->hw.wiphy->n_cipher_suites = w; in ieee80211_init_cipher_suites()
|
/net/dsa/ |
D | slave.c | 325 static void dsa_slave_get_wol(struct net_device *dev, struct ethtool_wolinfo *w) in dsa_slave_get_wol() argument 331 ds->drv->get_wol(ds, p->port, w); in dsa_slave_get_wol() 334 static int dsa_slave_set_wol(struct net_device *dev, struct ethtool_wolinfo *w) in dsa_slave_set_wol() argument 341 ret = ds->drv->set_wol(ds, p->port, w); in dsa_slave_set_wol()
|
/net/ceph/ |
D | osdmap.c | 1201 u32 w; in decode_new_up_state_weight() local 1205 w = ceph_decode_32(p); in decode_new_up_state_weight() 1207 pr_info("osd%d weight 0x%x %s\n", osd, w, in decode_new_up_state_weight() 1208 w == CEPH_OSD_IN ? "(in)" : in decode_new_up_state_weight() 1209 (w == CEPH_OSD_OUT ? "(out)" : "")); in decode_new_up_state_weight() 1210 map->osd_weight[osd] = w; in decode_new_up_state_weight() 1216 if (w) { in decode_new_up_state_weight()
|
/net/decnet/ |
D | dn_fib.c | 456 int w; in dn_fib_select_multipath() local 475 w = jiffies % fi->fib_power; in dn_fib_select_multipath() 479 if ((w -= nh->nh_power) <= 0) { in dn_fib_select_multipath()
|
/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 594 __be32 *w = (__be32 *) cur_wchunk; in rpcrdma_count_chunks() local 595 if (*w++ != xdr_zero) in rpcrdma_count_chunks() 597 cur_wchunk = (struct rpcrdma_write_chunk *) w; in rpcrdma_count_chunks()
|
/net/irda/ |
D | irlap_frame.c | 1163 int w, x, y, z; in irlap_recv_frmr_frame() local 1183 w = frame[3] & 0x01; in irlap_recv_frmr_frame() 1188 if (w) { in irlap_recv_frmr_frame()
|
/net/batman-adv/ |
D | bat_iv_ogm.c | 872 uint8_t *w; in batadv_iv_ogm_slide_own_bcast_window() local 886 w = &orig_node->bat_iv.bcast_own_sum[if_num]; in batadv_iv_ogm_slide_own_bcast_window() 887 *w = bitmap_weight(word, BATADV_TQ_LOCAL_WINDOW_SIZE); in batadv_iv_ogm_slide_own_bcast_window()
|
/net/xfrm/ |
D | xfrm_state.c | 921 struct xfrm_state_walk *w; in xfrm_state_lookup_byspi() local 924 list_for_each_entry(w, &net->xfrm.state_all, all) { in xfrm_state_lookup_byspi() 925 x = container_of(w, struct xfrm_state, km); in xfrm_state_lookup_byspi()
|