Lines Matching refs:tool_ctx

208 	struct tool_ctx *tc;
233 struct tool_ctx *tc;
239 struct tool_ctx *tc;
244 struct tool_ctx *tc;
256 struct tool_ctx {
291 struct tool_ctx *tc = ctx;
306 struct tool_ctx *tc = ctx;
320 struct tool_ctx *tc = ctx;
341 static ssize_t tool_fn_read(struct tool_ctx *tc, char __user *ubuf,
359 static ssize_t tool_fn_write(struct tool_ctx *tc,
408 struct tool_ctx *tc = filep->private_data;
425 struct tool_ctx *tc = peer->tc;
439 static int tool_init_peers(struct tool_ctx *tc)
465 struct tool_ctx *tc = filep->private_data;
492 struct tool_ctx *tc = peer->tc;
514 struct tool_ctx *tc = peer->tc;
569 static int tool_setup_mw(struct tool_ctx *tc, int pidx, int widx,
619 static void tool_free_mw(struct tool_ctx *tc, int pidx, int widx)
804 static int tool_setup_peer_mw(struct tool_ctx *tc, int pidx, int widx,
847 static void tool_free_peer_mw(struct tool_ctx *tc, int widx)
958 static int tool_init_mws(struct tool_ctx *tc)
1006 static void tool_clear_mws(struct tool_ctx *tc)
1028 struct tool_ctx *tc = filep->private_data;
1036 struct tool_ctx *tc = filep->private_data;
1049 struct tool_ctx *tc = filep->private_data;
1061 struct tool_ctx *tc = filep->private_data;
1069 struct tool_ctx *tc = filep->private_data;
1082 struct tool_ctx *tc = filep->private_data;
1090 struct tool_ctx *tc = filep->private_data;
1103 struct tool_ctx *tc = filep->private_data;
1113 struct tool_ctx *tc = filep->private_data;
1128 struct tool_ctx *tc = filep->private_data;
1233 static int tool_init_spads(struct tool_ctx *tc)
1318 struct tool_ctx *tc = filep->private_data;
1326 struct tool_ctx *tc = filep->private_data;
1339 struct tool_ctx *tc = filep->private_data;
1351 struct tool_ctx *tc = filep->private_data;
1363 struct tool_ctx *tc = filep->private_data;
1378 struct tool_ctx *tc = filep->private_data;
1397 static int tool_init_msgs(struct tool_ctx *tc)
1438 static struct tool_ctx *tool_create_data(struct ntb_dev *ntb)
1440 struct tool_ctx *tc;
1460 static void tool_clear_data(struct tool_ctx *tc)
1467 static int tool_init_ntb(struct tool_ctx *tc)
1472 static void tool_clear_ntb(struct tool_ctx *tc)
1478 static void tool_setup_dbgfs(struct tool_ctx *tc)
1600 static void tool_clear_dbgfs(struct tool_ctx *tc)
1607 struct tool_ctx *tc;
1649 struct tool_ctx *tc = ntb->ctx;