Home
last modified time | relevance | path

Searched refs:low (Results 1 – 25 of 27) sorted by relevance

12

/net/dccp/ccids/lib/
Dtfrc_equation.c597 u32 try, low = 0, high = TFRC_CALC_X_ARRSIZE - 1; in tfrc_binsearch() local
599 while (low < high) { in tfrc_binsearch()
600 try = (low + high) / 2; in tfrc_binsearch()
604 low = try + 1; in tfrc_binsearch()
/net/ieee802154/
DKconfig4 IEEE Std 802.15.4 defines a low data rate, low power and low
/net/ipv4/
Dsysctl_net_ipv4.c92 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high) in inet_get_ping_group_range_table() argument
101 *low = data[0]; in inet_get_ping_group_range_table()
107 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range() argument
113 data[0] = low; in set_ping_group_range()
126 kgid_t low, high; in ipv4_ping_group_range() local
135 inet_get_ping_group_range_table(table, &low, &high); in ipv4_ping_group_range()
136 urange[0] = from_kgid_munged(user_ns, low); in ipv4_ping_group_range()
141 low = make_kgid(user_ns, urange[0]); in ipv4_ping_group_range()
143 if (!gid_valid(low) || !gid_valid(high) || in ipv4_ping_group_range()
144 (urange[1] < urange[0]) || gid_lt(high, low)) { in ipv4_ping_group_range()
[all …]
Dinet_connection_sock.c34 void inet_get_local_port_range(struct net *net, int *low, int *high) in inet_get_local_port_range() argument
41 *low = net->ipv4.ip_local_ports.range[0]; in inet_get_local_port_range()
104 int i, low, high, attempt_half; in inet_csk_get_port() local
123 inet_get_local_port_range(net, &low, &high); in inet_csk_get_port()
125 if (high - low < 4) in inet_csk_get_port()
128 int half = low + (((high - low) >> 2) << 1); in inet_csk_get_port()
133 low = half; in inet_csk_get_port()
135 remaining = high - low; in inet_csk_get_port()
145 smallest_port = low; /* avoid compiler warning */ in inet_csk_get_port()
148 port = low + offset; in inet_csk_get_port()
Dinet_hashtables.c552 int ret, i, low, high; in __inet_hash_connect() local
572 inet_get_local_port_range(net, &low, &high); in __inet_hash_connect()
574 remaining = high - low; in __inet_hash_connect()
584 port = low + offset; in __inet_hash_connect()
Dping.c242 static void inet_get_ping_group_range_net(struct net *net, kgid_t *low, in inet_get_ping_group_range_net() argument
251 *low = data[0]; in inet_get_ping_group_range_net()
263 kgid_t low, high; in ping_init_sock() local
269 inet_get_ping_group_range_net(net, &low, &high); in ping_init_sock()
270 if (gid_lte(low, group) && gid_lte(group, high)) in ping_init_sock()
277 if (gid_lte(low, gid) && gid_lte(gid, high)) in ping_init_sock()
Desp4.c251 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp_output()
279 seqno = cpu_to_be64(XFRM_SKB_CB(skb)->seq.output.low + in esp_output()
Dudp.c249 int low, high, remaining; in udp_lib_get_port() local
254 inet_get_local_port_range(net, &low, &high); in udp_lib_get_port()
255 remaining = (high - low) + 1; in udp_lib_get_port()
258 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
278 if (low <= snum && snum <= high && in udp_lib_get_port()
Dah4.c220 ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in ah_output()
/net/wireless/
Dwext-spy.c123 memcpy(&(spydata->spy_thr_low), &(threshold->low), in iw_handler_set_thrspy()
150 memcpy(&(threshold->low), &(spydata->spy_thr_low), in iw_handler_get_thrspy()
178 memcpy(&(threshold.low), &(spydata->spy_thr_low), in iw_send_thrspy_event()
/net/tipc/
Dname_table.c180 int low = 0; in nameseq_find_subseq() local
184 while (low <= high) { in nameseq_find_subseq()
185 mid = (low + high) / 2; in nameseq_find_subseq()
189 low = mid + 1; in nameseq_find_subseq()
208 int low = 0; in nameseq_locate_subseq() local
212 while (low <= high) { in nameseq_locate_subseq()
213 mid = (low + high) / 2; in nameseq_locate_subseq()
217 low = mid + 1; in nameseq_locate_subseq()
221 return low; in nameseq_locate_subseq()
/net/bluetooth/
DKconfig17 Bluetooth is low-cost, low-power, short-range wireless technology.
/net/dcb/
DKconfig12 requirements (highly reliable, no drops vs. best effort vs. low
/net/ieee802154/6lowpan/
Dreassembly.c376 u8 high = 0, low = 0; in lowpan_get_cb() local
380 fail |= lowpan_fetch_skb(skb, &low, 1); in lowpan_get_cb()
385 LOWPAN_FRAG_DGRAM_SIZE_HIGH_SHIFT | low; in lowpan_get_cb()
/net/xfrm/
Dxfrm_replay.c101 XFRM_SKB_CB(skb)->seq.output.low = ++x->replay.oseq; in xfrm_replay_overflow()
180 XFRM_SKB_CB(skb)->seq.output.low = ++replay_esn->oseq; in xfrm_replay_overflow_bmp()
412 XFRM_SKB_CB(skb)->seq.output.low = ++replay_esn->oseq; in xfrm_replay_overflow_esn()
Dxfrm_input.c200 seq = XFRM_SKB_CB(skb)->seq.input.low; in xfrm_input()
291 XFRM_SKB_CB(skb)->seq.input.low = seq; in xfrm_input()
Dxfrm_state.c1582 int xfrm_alloc_spi(struct xfrm_state *x, u32 low, u32 high) in xfrm_alloc_spi() argument
1588 __be32 minspi = htonl(low); in xfrm_alloc_spi()
1611 for (h = 0; h < high-low+1; h++) { in xfrm_alloc_spi()
1612 spi = low + prandom_u32()%(high-low+1); in xfrm_alloc_spi()
/net/ipv6/
Desp6.c233 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp6_output()
260 seqno = cpu_to_be64(XFRM_SKB_CB(skb)->seq.output.low + in esp6_output()
Dah6.c423 ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in ah6_output()
/net/netfilter/
Dx_tables.c774 int m, low = 0, hi = size; in xt_find_jump_offset() local
776 while (hi > low) { in xt_find_jump_offset()
777 m = (low + hi) / 2u; in xt_find_jump_offset()
782 low = m + 1; in xt_find_jump_offset()
/net/irda/
DKconfig60 bool "Fast RRs (low latency)"
/net/ax25/
DKconfig29 use a low speed TNC (a Terminal Node Controller acts as a kind of
/net/sched/
Dsch_api.c369 int low = roundup(r->mpu, 48); in __detect_linklayer() local
370 int high = roundup(low+1, 48); in __detect_linklayer()
371 int cell_low = low >> r->cell_log; in __detect_linklayer()
/net/mac80211/
DKconfig316 Setting this option to a low value (e.g. 4) allows testing the
/net/sctp/
Dsocket.c6683 int low, high, remaining, index; in sctp_get_port_local() local
6687 inet_get_local_port_range(net, &low, &high); in sctp_get_port_local()
6688 remaining = (high - low) + 1; in sctp_get_port_local()
6689 rover = prandom_u32() % remaining + low; in sctp_get_port_local()
6693 if ((rover < low) || (rover > high)) in sctp_get_port_local()
6694 rover = low; in sctp_get_port_local()

12