Home
last modified time | relevance | path

Searched refs:rover (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/edac/
H A Dedac_pci.c99 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()
H A Dedac_device.c249 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()
/openbmc/linux/net/rds/
H A Dbind.c98 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 …]
/openbmc/linux/arch/sparc/kernel/
H A Dcpumap.c39 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()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_lblc.c108 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()
H A Dip_vs_lblcr.c278 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c227 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()
H A Dl2t.h75 struct l2t_entry *rover; /* starting point for next allocation */ member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c61 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()
/openbmc/linux/net/netlink/
H A Daf_netlink.c823 s32 rover = -4096; in netlink_autobind() local
833 if (rover == -4096) in netlink_autobind()
835 rover = S32_MIN + get_random_u32_below(-4096 - S32_MIN); in netlink_autobind()
836 else if (rover >= -4096) in netlink_autobind()
837 rover = -4097; in netlink_autobind()
838 portid = rover--; in netlink_autobind()
/openbmc/linux/drivers/infiniband/core/
H A Dcma.c3720 unsigned int rover; in cma_alloc_any_port() local
3727 rover = get_random_u32_inclusive(low, remaining + low - 1); in cma_alloc_any_port()
3729 if (last_used_port != rover) { in cma_alloc_any_port()
3733 bind_list = cma_ps_find(net, ps, (unsigned short)rover); in cma_alloc_any_port()
3736 ret = cma_alloc_port(ps, id_priv, rover); in cma_alloc_any_port()
3747 last_used_port = rover; in cma_alloc_any_port()
3752 rover++; in cma_alloc_any_port()
3753 if ((rover < low) || (rover > high)) in cma_alloc_any_port()
3754 rover = low; in cma_alloc_any_port()
/openbmc/linux/net/sctp/
H A Dsocket.c8353 unsigned int rover; in sctp_get_port_local() local
8357 rover = get_random_u32_below(remaining) + low; in sctp_get_port_local()
8360 rover++; in sctp_get_port_local()
8361 if ((rover < low) || (rover > high)) in sctp_get_port_local()
8362 rover = low; in sctp_get_port_local()
8363 if (inet_is_local_reserved_port(net, rover)) in sctp_get_port_local()
8365 index = sctp_phashfn(net, rover); in sctp_get_port_local()
8369 if ((pp->port == rover) && in sctp_get_port_local()
8387 snum = rover; in sctp_get_port_local()