Searched refs:rover (Results 1 – 5 of 5) sorted by relevance
/net/rds/ |
D | bind.c | 98 u16 rover, last; in rds_add_bound() local 102 rover = be16_to_cpu(*port); in rds_add_bound() 103 if (rover == RDS_FLAG_PROBE_PORT) in rds_add_bound() 105 last = rover; in rds_add_bound() 107 rover = max_t(u16, get_random_u16(), 2); in rds_add_bound() 108 last = rover - 1; in rds_add_bound() 112 if (rover == 0) in rds_add_bound() 113 rover++; in rds_add_bound() 115 if (rover == RDS_FLAG_PROBE_PORT) in rds_add_bound() 117 __rds_create_bind_key(key, addr, cpu_to_be16(rover), in rds_add_bound() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_lblc.c | 108 int rover; /* rover for expire check */ member 264 for (i = 0, j = tbl->rover; i < IP_VS_LBLC_TAB_SIZE; i++) { in ip_vs_lblc_full_check() 279 tbl->rover = j; in ip_vs_lblc_full_check() 320 for (i = 0, j = tbl->rover; i < IP_VS_LBLC_TAB_SIZE; i++) { in ip_vs_lblc_check_expire() 336 tbl->rover = j; in ip_vs_lblc_check_expire() 366 tbl->rover = 0; in ip_vs_lblc_init_svc()
|
D | ip_vs_lblcr.c | 278 int rover; /* rover for expire check */ member 429 for (i = 0, j = tbl->rover; i < IP_VS_LBLCR_TAB_SIZE; i++) { in ip_vs_lblcr_full_check() 443 tbl->rover = j; in ip_vs_lblcr_full_check() 484 for (i = 0, j = tbl->rover; i < IP_VS_LBLCR_TAB_SIZE; i++) { in ip_vs_lblcr_check_expire() 500 tbl->rover = j; in ip_vs_lblcr_check_expire() 529 tbl->rover = 0; in ip_vs_lblcr_init_svc()
|
/net/netlink/ |
D | af_netlink.c | 827 s32 rover = -4096; in netlink_autobind() local 837 if (rover == -4096) in netlink_autobind() 839 rover = S32_MIN + prandom_u32_max(-4096 - S32_MIN); in netlink_autobind() 840 else if (rover >= -4096) in netlink_autobind() 841 rover = -4097; in netlink_autobind() 842 portid = rover--; in netlink_autobind()
|
/net/sctp/ |
D | socket.c | 8350 unsigned int rover; in sctp_get_port_local() local 8354 rover = prandom_u32_max(remaining) + low; in sctp_get_port_local() 8357 rover++; in sctp_get_port_local() 8358 if ((rover < low) || (rover > high)) in sctp_get_port_local() 8359 rover = low; in sctp_get_port_local() 8360 if (inet_is_local_reserved_port(net, rover)) in sctp_get_port_local() 8362 index = sctp_phashfn(net, rover); in sctp_get_port_local() 8366 if ((pp->port == rover) && in sctp_get_port_local() 8384 snum = rover; in sctp_get_port_local()
|