/linux/drivers/edac/ |
A D | edac_pci.c | 103 struct edac_pci_ctl_info *rover; in add_edac_pci_to_global_list() local 110 rover = find_edac_pci_by_dev(pci->dev); in add_edac_pci_to_global_list() 111 if (unlikely(rover != NULL)) in add_edac_pci_to_global_list() 116 rover = list_entry(item, struct edac_pci_ctl_info, link); in add_edac_pci_to_global_list() 118 if (rover->pci_idx >= pci->pci_idx) { in add_edac_pci_to_global_list() 119 if (unlikely(rover->pci_idx == pci->pci_idx)) in add_edac_pci_to_global_list() 133 dev_name(rover->dev), edac_dev_name(rover), in add_edac_pci_to_global_list() 134 rover->mod_name, rover->ctl_name, rover->pci_idx); in add_edac_pci_to_global_list() 140 "\tduplicate pci_idx %d in %s()\n", rover->pci_idx, in add_edac_pci_to_global_list()
|
A D | edac_device.c | 276 struct edac_device_ctl_info *rover; in add_edac_dev_to_global_list() local 281 rover = find_edac_device_by_dev(edac_dev->dev); in add_edac_dev_to_global_list() 282 if (unlikely(rover != NULL)) in add_edac_dev_to_global_list() 287 rover = list_entry(item, struct edac_device_ctl_info, link); in add_edac_dev_to_global_list() 289 if (rover->dev_idx >= edac_dev->dev_idx) { in add_edac_dev_to_global_list() 290 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) in add_edac_dev_to_global_list() 304 dev_name(rover->dev), edac_dev_name(rover), in add_edac_dev_to_global_list() 305 rover->mod_name, rover->ctl_name, rover->dev_idx); in add_edac_dev_to_global_list() 311 " duplicate dev_idx %d in %s()\n", rover->dev_idx, in add_edac_dev_to_global_list()
|
/linux/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, prandom_u32(), 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/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/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/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/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/net/netlink/ |
A D | af_netlink.c | 826 s32 rover = -4096; in netlink_autobind() local 836 if (rover == -4096) in netlink_autobind() 838 rover = S32_MIN + prandom_u32_max(-4096 - S32_MIN); in netlink_autobind() 839 else if (rover >= -4096) in netlink_autobind() 840 rover = -4097; in netlink_autobind() 841 portid = rover--; in netlink_autobind()
|
/linux/drivers/infiniband/core/ |
A D | cma.c | 3613 unsigned int rover; in cma_alloc_any_port() local 3620 rover = prandom_u32() % remaining + low; in cma_alloc_any_port() 3622 if (last_used_port != rover) { in cma_alloc_any_port() 3626 bind_list = cma_ps_find(net, ps, (unsigned short)rover); in cma_alloc_any_port() 3629 ret = cma_alloc_port(ps, id_priv, rover); in cma_alloc_any_port() 3640 last_used_port = rover; in cma_alloc_any_port() 3645 rover++; in cma_alloc_any_port() 3646 if ((rover < low) || (rover > high)) in cma_alloc_any_port() 3647 rover = low; in cma_alloc_any_port()
|
/linux/net/sctp/ |
A D | socket.c | 8326 unsigned int rover; in sctp_get_port_local() local 8330 rover = prandom_u32() % remaining + low; in sctp_get_port_local() 8333 rover++; in sctp_get_port_local() 8334 if ((rover < low) || (rover > high)) in sctp_get_port_local() 8335 rover = low; in sctp_get_port_local() 8336 if (inet_is_local_reserved_port(net, rover)) in sctp_get_port_local() 8338 index = sctp_phashfn(net, rover); in sctp_get_port_local() 8342 if ((pp->port == rover) && in sctp_get_port_local() 8360 snum = rover; in sctp_get_port_local()
|