Lines Matching refs:tool_ctx
212 struct tool_ctx *tc;
245 struct tool_ctx *tc;
250 struct tool_ctx *tc;
258 struct tool_ctx { struct
294 struct tool_ctx *tc = ctx; in tool_link_event() argument
312 struct tool_ctx *tc = ctx; in tool_db_event()
333 struct tool_ctx *tc = (struct tool_ctx *)arg; in tool_link_event_handler()
350 struct tool_ctx *tc = (struct tool_ctx *)arg; in tool_db_event_handler()
394 tool_fn_read(struct tool_ctx *tc, struct sysctl_req *req, in tool_fn_read()
406 tool_fn_write(struct tool_ctx *tc, struct sysctl_oid *oidp, in tool_fn_write()
643 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_peer_port_number()
660 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_local_port_number()
675 tool_init_peers(struct tool_ctx *tc) in tool_init_peers()
689 tool_clear_peers(struct tool_ctx *tc) in tool_clear_peers()
701 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_link_handle()
730 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_peer_link_handle()
750 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_peer_link_event_handle()
803 tool_setup_mw(struct tool_ctx *tc, unsigned int pidx, unsigned int widx, in tool_setup_mw()
870 tool_free_mw(struct tool_ctx *tc, int pidx, int widx) in tool_free_mw()
925 struct tool_ctx *tc = inmw->tc; in tool_mw_trans_write()
985 static void tool_clear_mws(struct tool_ctx *tc) in tool_clear_mws()
998 tool_init_mws(struct tool_ctx *tc) in tool_init_mws()
1040 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_db_handle()
1061 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_db_valid_mask_handle()
1076 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_db_mask_handle()
1097 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_peer_db_handle()
1115 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_peer_db_mask_handle()
1136 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_db_event_handle()
1161 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_spad_handle()
1187 struct tool_ctx *tc = (struct tool_ctx *)arg1; in sysctl_peer_spad_handle()
1211 tool_init_spads(struct tool_ctx *tc) in tool_init_spads()
1242 tool_clear_spads(struct tool_ctx *tc) in tool_clear_spads()
1258 tool_check_ntb(struct tool_ctx *tc) in tool_check_ntb()
1279 tool_clear_data(struct tool_ctx *tc) in tool_clear_data()
1287 tool_init_ntb(struct tool_ctx *tc) in tool_init_ntb()
1294 tool_clear_ntb(struct tool_ctx *tc) in tool_clear_ntb()
1306 tool_setup_sysctl(struct tool_ctx *tc) in tool_setup_sysctl()
1427 struct tool_ctx *tc = device_get_softc(dev); in ntb_tool_attach()
1465 struct tool_ctx *tc = device_get_softc(dev); in ntb_tool_detach()
1489 sizeof(struct tool_ctx));