Searched refs:lua_upvalueindex (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zcp_iter.c | 50 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1)); in zcp_clones_iter() 51 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); in zcp_clones_iter() 100 lua_replace(state, lua_upvalueindex(2)); in zcp_clones_iter() 157 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1)); in zcp_snapshots_iter() 158 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); in zcp_snapshots_iter() 189 lua_replace(state, lua_upvalueindex(2)); in zcp_snapshots_iter() 254 uint64_t dsobj = lua_tonumber(state, lua_upvalueindex(1)); in zcp_children_iter() 255 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); in zcp_children_iter() 290 lua_replace(state, lua_upvalueindex(2)); in zcp_children_iter() 351 nvlist_t **props = lua_touserdata(state, lua_upvalueindex(1)); in zcp_props_iter() [all …]
|
H A D | zcp_synctask.c | 487 zcp_synctask_info_t *info = lua_touserdata(state, lua_upvalueindex(1)); in zcp_synctask_wrapper() 488 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcorolib.c | 67 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); in luaB_auxwrap()
|
H A D | lstrlib.c | 672 const char *s = lua_tolstring(L, lua_upvalueindex(1), &ls); in gmatch_aux() 673 const char *p = lua_tolstring(L, lua_upvalueindex(2), &lp); in gmatch_aux() 680 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux() 690 lua_replace(L, lua_upvalueindex(3)); in gmatch_aux()
|
H A D | lua.h | 39 #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) macro
|