Home
last modified time | relevance | path

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

/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/ipv4/
Dsysctl_net_ipv4.c80 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
87 *low = data[0]; in inet_get_ping_group_range_table()
93 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high) in set_ping_group_range() argument
97 data[0] = low; in set_ping_group_range()
110 kgid_t low, high; in ipv4_ping_group_range() local
119 inet_get_ping_group_range_table(table, &low, &high); in ipv4_ping_group_range()
120 urange[0] = from_kgid_munged(user_ns, low); in ipv4_ping_group_range()
125 low = make_kgid(user_ns, urange[0]); in ipv4_ping_group_range()
127 if (!gid_valid(low) || !gid_valid(high) || in ipv4_ping_group_range()
128 (urange[1] < urange[0]) || gid_lt(high, low)) { in ipv4_ping_group_range()
[all …]
Dinet_connection_sock.c43 void inet_get_local_port_range(int *low, int *high) in inet_get_local_port_range() argument
50 *low = sysctl_local_ports.range[0]; in inet_get_local_port_range()
116 int remaining, rover, low, high; in inet_csk_get_port() local
119 inet_get_local_port_range(&low, &high); in inet_csk_get_port()
120 remaining = (high - low) + 1; in inet_csk_get_port()
121 smallest_rover = rover = net_random() % remaining + low; in inet_csk_get_port()
141 if (atomic_read(&hashinfo->bsockets) > (high - low) + 1 && in inet_csk_get_port()
158 rover = low; in inet_csk_get_port()
Dinet_hashtables.c492 int i, remaining, low, high, port; in __inet_hash_connect() local
497 inet_get_local_port_range(&low, &high); in __inet_hash_connect()
498 remaining = (high - low) + 1; in __inet_hash_connect()
502 port = low + (i + offset) % remaining; in __inet_hash_connect()
Dping.c236 static void inet_get_ping_group_range_net(struct net *net, kgid_t *low, in inet_get_ping_group_range_net() argument
245 *low = data[0]; in inet_get_ping_group_range_net()
257 kgid_t low, high; in ping_init_sock() local
263 inet_get_ping_group_range_net(net, &low, &high); in ping_init_sock()
264 if (gid_lte(low, group) && gid_lte(group, high)) in ping_init_sock()
273 if (gid_lte(low, gid) && gid_lte(gid, high)) in ping_init_sock()
Desp4.c243 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp_output()
263 XFRM_SKB_CB(skb)->seq.output.low); in esp_output()
Dudp.c216 int low, high, remaining; in udp_lib_get_port() local
221 inet_get_local_port_range(&low, &high); in udp_lib_get_port()
222 remaining = (high - low) + 1; in udp_lib_get_port()
225 first = (((u64)rand * remaining) >> 32) + low; in udp_lib_get_port()
245 if (low <= snum && snum <= high && in udp_lib_get_port()
Dah4.c211 ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in ah_output()
DKconfig576 keeping network elements load as low as possible.
/net/ieee802154/
DKconfig4 IEEE Std 802.15.4 defines a low data rate, low power and low
/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.c203 int low = 0; in nameseq_find_subseq() local
207 while (low <= high) { in nameseq_find_subseq()
208 mid = (low + high) / 2; in nameseq_find_subseq()
212 low = mid + 1; in nameseq_find_subseq()
231 int low = 0; in nameseq_locate_subseq() local
235 while (low <= high) { in nameseq_locate_subseq()
236 mid = (low + high) / 2; in nameseq_locate_subseq()
240 low = mid + 1; in nameseq_locate_subseq()
244 return low; in nameseq_locate_subseq()
/net/bluetooth/
DKconfig16 Bluetooth is low-cost, low-power, short-range wireless technology.
/net/xfrm/
Dxfrm_input.c122 seq = XFRM_SKB_CB(skb)->seq.input.low; in xfrm_input()
190 XFRM_SKB_CB(skb)->seq.input.low = seq; in xfrm_input()
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()
408 XFRM_SKB_CB(skb)->seq.output.low = ++replay_esn->oseq; in xfrm_replay_overflow_esn()
Dxfrm_state.c1499 int xfrm_alloc_spi(struct xfrm_state *x, u32 low, u32 high) in xfrm_alloc_spi() argument
1505 __be32 minspi = htonl(low); in xfrm_alloc_spi()
1528 for (h=0; h<high-low+1; h++) { in xfrm_alloc_spi()
1529 spi = low + net_random()%(high-low+1); in xfrm_alloc_spi()
/net/dcb/
DKconfig12 requirements (highly reliable, no drops vs. best effort vs. low
/net/ipv6/
Desp6.c235 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp6_output()
255 XFRM_SKB_CB(skb)->seq.output.low); in esp6_output()
Dah6.c413 ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in ah6_output()
/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/sctp/
Dsocket.c5903 int low, high, remaining, index; in sctp_get_port_local() local
5906 inet_get_local_port_range(&low, &high); in sctp_get_port_local()
5907 remaining = (high - low) + 1; in sctp_get_port_local()
5908 rover = net_random() % remaining + low; in sctp_get_port_local()
5912 if ((rover < low) || (rover > high)) in sctp_get_port_local()
5913 rover = low; in sctp_get_port_local()