Lines Matching refs:max_depth
64 int max_depth) {
87 int right_pad = (max_depth - depth) * 4;
297 static void do_list_tree(struct device_node* devices, uint64_t hub_id, int max_depth) {
301 do_list_device(node->fd, -1, false, node->devname, node->depth, max_depth);
302 do_list_tree(devices, node->device_id, max_depth);
359 int max_depth = 0;
364 if (depth > max_depth) max_depth = depth;
371 for (int i = 0; i < max_depth; i++) {
377 do_list_tree(devices, 0, max_depth);