Searched refs:num_hops (Results 1 – 5 of 5) sorted by relevance
109 size_t num_hops; in tb_path_discover() local127 num_hops = 0; in tb_path_discover()148 num_hops++; in tb_path_discover()157 path->path_length = num_hops; in tb_path_discover()160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover()169 for (i = 0; i < num_hops; i++) { in tb_path_discover()234 size_t num_hops; in tb_path_alloc() local245 num_hops = abs(tb_route_length(tb_route(src->sw)) - in tb_path_alloc()248 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc()257 for (i = 0; i < num_hops; i++) { in tb_path_alloc()[all …]
748 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_v11_0_xgmi_get_topology_info()763 topology->nodes[i].num_hops = topology_info_output->nodes[i].num_hops; in psp_v11_0_xgmi_get_topology_info()790 topology_info_input->nodes[i].num_hops = topology->nodes[i].num_hops; in psp_v11_0_xgmi_set_topology_info()
73 uint8_t num_hops; member
116 uint8_t num_hops; member
322 return top->nodes[i].num_hops; in amdgpu_xgmi_get_hops_count()