Home
last modified time | relevance | path

Searched refs:hops (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/thunderbolt/
Dpath.c160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover()
161 if (!path->hops) { in tb_path_discover()
191 path->hops[i].in_port = p; in tb_path_discover()
192 path->hops[i].in_hop_index = h; in tb_path_discover()
193 path->hops[i].in_counter_index = -1; in tb_path_discover()
194 path->hops[i].out_port = out_port; in tb_path_discover()
195 path->hops[i].next_hop_index = next_hop; in tb_path_discover()
248 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc()
249 if (!path->hops) { in tb_path_alloc()
287 path->hops[i].in_hop_index = in_hopid; in tb_path_alloc()
[all …]
Dtunnel.c103 path->hops[0].initial_credits = 7; in tb_pci_init_path()
104 path->hops[1].initial_credits = 16; in tb_pci_init_path()
275 paths[TB_DP_VIDEO_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate()
276 paths[TB_DP_AUX_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate()
277 paths[TB_DP_AUX_PATH_IN]->hops[last].next_hop_index); in tb_dp_activate()
280 paths[TB_DP_VIDEO_PATH_OUT]->hops[last].next_hop_index, in tb_dp_activate()
281 paths[TB_DP_AUX_PATH_IN]->hops[0].in_hop_index, in tb_dp_activate()
282 paths[TB_DP_AUX_PATH_OUT]->hops[last].next_hop_index); in tb_dp_activate()
312 path->hops[i].initial_credits = 1; in tb_dp_init_aux_path()
317 u32 nfc_credits = path->hops[0].in_port->config.nfc_credits; in tb_dp_init_video_path()
[all …]
Dtb.h236 struct tb_path_hop *hops; member
/Linux-v5.4/net/ipv6/
Dexthdrs.c871 int hops; in ipv6_push_rthdr0() local
878 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0()
880 if (hops > 1) in ipv6_push_rthdr0()
882 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr0()
884 phdr->addr[hops - 1] = **addr_p; in ipv6_push_rthdr0()
896 int plen, hops; in ipv6_push_rthdr4() local
904 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
906 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr4()
911 if (sr_ihdr->hdrlen > hops * 2) { in ipv6_push_rthdr4()
914 tlvs_offset = (1 + hops * 2) << 3; in ipv6_push_rthdr4()
[all …]
/Linux-v5.4/arch/s390/kernel/
Ddis.c491 int start, end, opsize, hops, i; in show_code() local
516 for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { in show_code()
529 hops = 0; in show_code()
530 while (start < end && hops < 8) { in show_code()
552 hops++; in show_code()
/Linux-v5.4/net/decnet/
Ddn_neigh.c244 lp->visit_ct = cb->hops & 0x3f; in dn_long_output()
287 sp->forward = cb->hops & 0x3f; in dn_short_output()
329 sp->forward = cb->hops & 0x3f; in dn_phase3_output()
Ddn_route.c558 cb->hops = *ptr++; /* Visit Count */ in dn_route_rx_long()
586 cb->hops = *ptr & 0x3f; in dn_route_rx_short()
755 cb->hops = 0; in dn_output()
790 if (++cb->hops > 30) in dn_forward()
/Linux-v5.4/include/net/
Ddn.h155 __u16 hops; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-rapidio153 (RO) number of hops on the path to the switch
/Linux-v5.4/net/batman-adv/
Ddistributed-arp-table.c79 __u8 hops; member
1540 __u8 hops; in batadv_dat_check_dhcp() member
/Linux-v5.4/drivers/staging/gdm724x/
Dgdm_lte.c587 u8 hops; /* used by relay agents only */ in gdm_lte_netif_rx() member
/Linux-v5.4/net/ipv4/
Dipconfig.c609 u8 hops; /* Used only by gateways */ member
/Linux-v5.4/Documentation/core-api/
Dworkqueue.rst179 hops through different CPUs.