Lines Matching refs:tok
67 struct nstoken *tok = NULL; in test_xdp_flowtable() local
81 tok = open_netns(RX_NETNS_NAME); in test_xdp_flowtable()
82 if (!ASSERT_OK_PTR(tok, "setns")) in test_xdp_flowtable()
115 close_netns(tok); in test_xdp_flowtable()
116 tok = open_netns(TX_NETNS_NAME); in test_xdp_flowtable()
117 if (!ASSERT_OK_PTR(tok, "setns")) in test_xdp_flowtable()
125 close_netns(tok); in test_xdp_flowtable()
126 tok = open_netns(RX_NETNS_NAME); in test_xdp_flowtable()
127 if (!ASSERT_OK_PTR(tok, "setns")) in test_xdp_flowtable()
143 close_netns(tok); in test_xdp_flowtable()
144 tok = open_netns(TX_NETNS_NAME); in test_xdp_flowtable()
145 if (!ASSERT_OK_PTR(tok, "setns")) in test_xdp_flowtable()
151 close_netns(tok); in test_xdp_flowtable()
152 tok = open_netns(RX_NETNS_NAME); in test_xdp_flowtable()
153 if (!ASSERT_OK_PTR(tok, "setns")) in test_xdp_flowtable()
164 if (tok) in test_xdp_flowtable()
165 close_netns(tok); in test_xdp_flowtable()