Lines Matching refs:fetch_int
110 static int fetch_int(struct sysfs_directory *sdir, const char *name)
221 info->root_path_cost = fetch_int(sdir, "root_path_cost");
235 info->root_port = fetch_int(sdir, "root_port");
236 info->stp_enabled = fetch_int(sdir, "stp_state");
237 info->topology_change = fetch_int(sdir, "topology_change");
238 info->topology_change_detected = fetch_int(sdir, "topology_change_detected");
308 info->port_no = fetch_int(sdir, "port_no");
309 info->port_id = fetch_int(sdir, "port_id");
310 info->designated_port = fetch_int(sdir, "designated_port");
311 info->path_cost = fetch_int(sdir, "path_cost");
312 info->designated_cost = fetch_int(sdir, "designated_cost");
313 info->state = fetch_int(sdir, "state");
314 info->top_change_ack = fetch_int(sdir, "change_ack");
315 info->config_pending = fetch_int(sdir, "config_pending");