Searched refs:hops (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/thunderbolt/ |
D | path.c | 41 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc() 42 if (!path->hops) { in tb_path_alloc() 60 kfree(path->hops); in tb_path_free() 68 res = tb_port_add_nfc_credits(path->hops[i].in_port, in __tb_path_deallocate_nfc() 71 tb_port_warn(path->hops[i].in_port, in __tb_path_deallocate_nfc() 82 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, in __tb_path_deactivate_hops() 83 2 * path->hops[i].in_hop_index, 2); in __tb_path_deactivate_hops() 85 tb_port_warn(path->hops[i].in_port, in __tb_path_deactivate_hops() 87 i, path->hops[i].in_hop_index); in __tb_path_deactivate_hops() 99 tb_route(path->hops[0].in_port->sw), in tb_path_deactivate() [all …]
|
D | tunnel_pci.c | 78 tunnel->path_to_up->hops[0].in_port = down; in tb_pci_alloc() 79 tunnel->path_to_up->hops[0].in_hop_index = 8; in tb_pci_alloc() 80 tunnel->path_to_up->hops[0].in_counter_index = -1; in tb_pci_alloc() 81 tunnel->path_to_up->hops[0].out_port = tb_upstream_port(up->sw)->remote; in tb_pci_alloc() 82 tunnel->path_to_up->hops[0].next_hop_index = 8; in tb_pci_alloc() 84 tunnel->path_to_up->hops[1].in_port = tb_upstream_port(up->sw); in tb_pci_alloc() 85 tunnel->path_to_up->hops[1].in_hop_index = 8; in tb_pci_alloc() 86 tunnel->path_to_up->hops[1].in_counter_index = -1; in tb_pci_alloc() 87 tunnel->path_to_up->hops[1].out_port = up; in tb_pci_alloc() 88 tunnel->path_to_up->hops[1].next_hop_index = 8; in tb_pci_alloc() [all …]
|
D | tb.h | 190 struct tb_path_hop *hops; member
|
/Linux-v4.19/net/ipv6/ |
D | exthdrs.c | 875 int hops; in ipv6_push_rthdr0() local 882 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0() 884 if (hops > 1) in ipv6_push_rthdr0() 886 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr0() 888 phdr->addr[hops - 1] = **addr_p; in ipv6_push_rthdr0() 900 int plen, hops; in ipv6_push_rthdr4() local 908 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4() 910 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr4() 915 if (sr_ihdr->hdrlen > hops * 2) { in ipv6_push_rthdr4() 918 tlvs_offset = (1 + hops * 2) << 3; in ipv6_push_rthdr4() [all …]
|
/Linux-v4.19/arch/s390/kernel/ |
D | dis.c | 492 int start, end, opsize, hops, i; in show_code() local 517 for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { in show_code() 530 hops = 0; in show_code() 531 while (start < end && hops < 8) { in show_code() 553 hops++; in show_code()
|
/Linux-v4.19/net/decnet/ |
D | dn_neigh.c | 244 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()
|
D | dn_route.c | 566 cb->hops = *ptr++; /* Visit Count */ in dn_route_rx_long() 594 cb->hops = *ptr & 0x3f; in dn_route_rx_short() 763 cb->hops = 0; in dn_output() 798 if (++cb->hops > 30) in dn_forward()
|
/Linux-v4.19/include/net/ |
D | dn.h | 155 __u16 hops; member
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-bus-rapidio | 153 (RO) number of hops on the path to the switch
|
/Linux-v4.19/drivers/staging/gdm724x/ |
D | gdm_lte.c | 587 u8 hops; /* used by relay agents only */ in gdm_lte_netif_rx() member
|
/Linux-v4.19/net/ipv4/ |
D | ipconfig.c | 605 u8 hops; /* Used only by gateways */ member
|
/Linux-v4.19/Documentation/core-api/ |
D | workqueue.rst | 179 hops through different CPUs.
|