Home
last modified time | relevance | path

Searched refs:gnode (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dltable.c51 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t))))
61 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1))))
157 i = cast_int(n - gnode(t, 0)); /* key index in hash table */ in findindex()
179 if (!ttisnil(gval(gnode(t, i)))) { /* a non-nil value? */ in luaH_next()
180 setobj2s(L, key, gkey(gnode(t, i))); in luaH_next()
181 setobj2s(L, key+1, gval(gnode(t, i))); in luaH_next()
293 Node *n = gnode(t, i); in setnodevector()
300 t->lastfree = gnode(t, size); /* all positions are free */ in setnodevector()
H A Dltable.h13 #define gnode(t,i) (&(t)->node[i]) macro
H A Dlgc.c94 #define gnodelast(h) gnode(h, cast(size_t, sizenode(h)))
360 for (n = gnode(h, 0); n < limit; n++) { in traverseweakvalue()
392 for (n = gnode(h, 0); n < limit; n++) { in traverseephemeron()
421 for (n = gnode(h, 0); n < limit; n++) { /* traverse hash part */ in traversestrongtable()
629 for (n = gnode(h, 0); n < limit; n++) { in clearkeys()
653 for (n = gnode(h, 0); n < limit; n++) { in clearvalues()