/linux-6.3-rc2/drivers/edac/ |
A D | edac_pci.c | 99 struct edac_pci_ctl_info *rover; in add_edac_pci_to_global_list() local 106 rover = find_edac_pci_by_dev(pci->dev); in add_edac_pci_to_global_list() 107 if (unlikely(rover != NULL)) in add_edac_pci_to_global_list() 112 rover = list_entry(item, struct edac_pci_ctl_info, link); in add_edac_pci_to_global_list() 114 if (rover->pci_idx >= pci->pci_idx) { in add_edac_pci_to_global_list() 115 if (unlikely(rover->pci_idx == pci->pci_idx)) in add_edac_pci_to_global_list() 129 dev_name(rover->dev), edac_dev_name(rover), in add_edac_pci_to_global_list() 130 rover->mod_name, rover->ctl_name, rover->pci_idx); in add_edac_pci_to_global_list() 136 "\tduplicate pci_idx %d in %s()\n", rover->pci_idx, in add_edac_pci_to_global_list()
|
A D | edac_device.c | 249 struct edac_device_ctl_info *rover; in add_edac_dev_to_global_list() local 254 rover = find_edac_device_by_dev(edac_dev->dev); in add_edac_dev_to_global_list() 255 if (unlikely(rover != NULL)) in add_edac_dev_to_global_list() 260 rover = list_entry(item, struct edac_device_ctl_info, link); in add_edac_dev_to_global_list() 262 if (rover->dev_idx >= edac_dev->dev_idx) { in add_edac_dev_to_global_list() 263 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) in add_edac_dev_to_global_list() 277 dev_name(rover->dev), edac_dev_name(rover), in add_edac_dev_to_global_list() 278 rover->mod_name, rover->ctl_name, rover->dev_idx); in add_edac_dev_to_global_list() 284 " duplicate dev_idx %d in %s()\n", rover->dev_idx, in add_edac_dev_to_global_list()
|
/linux-6.3-rc2/net/rds/ |
A 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() 126 rs->rs_bound_port = cpu_to_be16(rover); in rds_add_bound() [all …]
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | cpumap.c | 39 int rover; /* Child node iterator */ member 225 node->child_start = node->child_end = node->rover = in build_cpuinfo_tree() 283 node->rover = in build_cpuinfo_tree() 304 node->rover++; in increment_rover() 305 if (node->rover <= node->child_end) in increment_rover() 308 node->rover = node->child_start; in increment_rover() 342 new_index = t->nodes[index].rover; in iterate_cpu()
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A 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()
|
A 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()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/ |
A D | l2t.c | 227 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e() 233 d->rover = e + 1; in alloc_l2e() 453 d->rover = &d->l2tab[1]; /* entry 0 is not used */ in t3_init_l2t()
|
A D | l2t.h | 75 struct l2t_entry *rover; /* starting point for next allocation */ member
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | l2t.c | 61 struct l2t_entry *rover; /* starting point for next allocation */ member 272 for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) in alloc_l2e() 279 d->rover = e + 1; in alloc_l2e() 649 d->rover = d->l2tab; in t4_init_l2t()
|
/linux-6.3-rc2/net/netlink/ |
A D | af_netlink.c | 839 s32 rover = -4096; in netlink_autobind() local 849 if (rover == -4096) in netlink_autobind() 851 rover = S32_MIN + get_random_u32_below(-4096 - S32_MIN); in netlink_autobind() 852 else if (rover >= -4096) in netlink_autobind() 853 rover = -4097; in netlink_autobind() 854 portid = rover--; in netlink_autobind()
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | cma.c | 3699 unsigned int rover; in cma_alloc_any_port() local 3706 rover = get_random_u32_inclusive(low, remaining + low - 1); in cma_alloc_any_port() 3708 if (last_used_port != rover) { in cma_alloc_any_port() 3712 bind_list = cma_ps_find(net, ps, (unsigned short)rover); in cma_alloc_any_port() 3715 ret = cma_alloc_port(ps, id_priv, rover); in cma_alloc_any_port() 3726 last_used_port = rover; in cma_alloc_any_port() 3731 rover++; in cma_alloc_any_port() 3732 if ((rover < low) || (rover > high)) in cma_alloc_any_port() 3733 rover = low; in cma_alloc_any_port()
|
/linux-6.3-rc2/net/sctp/ |
A D | socket.c | 8323 unsigned int rover; in sctp_get_port_local() local 8327 rover = get_random_u32_below(remaining) + low; in sctp_get_port_local() 8330 rover++; in sctp_get_port_local() 8331 if ((rover < low) || (rover > high)) in sctp_get_port_local() 8332 rover = low; in sctp_get_port_local() 8333 if (inet_is_local_reserved_port(net, rover)) in sctp_get_port_local() 8335 index = sctp_phashfn(net, rover); in sctp_get_port_local() 8339 if ((pp->port == rover) && in sctp_get_port_local() 8357 snum = rover; in sctp_get_port_local()
|