Lines Matching refs:lua_state
77 static LIST_HEAD(, lua_state) lua_states =
208 struct lua_state *s; in lua_detach()
225 kmem_free(s, sizeof(struct lua_state)); in lua_detach()
286 struct lua_state *s; in luaioctl()
503 struct lua_state *s; in lua_require()
669 struct lua_state *s; in klua_newstate()
673 s = kmem_zalloc(sizeof(struct lua_state), KM_SLEEP); in klua_newstate()
686 kmem_free(s, sizeof(struct lua_state)); in klua_newstate()
728 struct lua_state *s, *ns; in klua_close()
757 kmem_free(s, sizeof(struct lua_state)); in klua_close()
773 struct lua_state *s; in klua_find()