Home
last modified time | relevance | path

Searched refs:nelems (Results 1 – 13 of 13) sorted by relevance

/f-stack/freebsd/amd64/vmm/
H A Dvmm_stat.h53 int nelems; /* standalone or array */ member
61 #define VMM_STAT_FDEFINE(type, nelems, desc, func, scope) \ argument
63 { -1, nelems, desc, func, scope } \
67 #define VMM_STAT_DEFINE(type, nelems, desc, scope) \ argument
68 VMM_STAT_FDEFINE(type, nelems, desc, NULL, scope)
83 #define VMM_STAT_ARRAY(type, nelems, desc) \ argument
84 VMM_STAT_DEFINE(type, nelems, desc, VMM_STAT_SCOPE_ANY)
105 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_incr()
119 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_set()
H A Dvmm_stat.c73 if (vst_num_elems + vst->nelems >= MAX_VMM_STAT_ELEMS) { in vmm_stat_register()
79 vst_num_elems += vst->nelems; in vmm_stat_register()
137 if (index >= vst->index && index < vst->index + vst->nelems) { in vmm_stat_desc_copy()
138 if (vst->nelems > 1) { in vmm_stat_desc_copy()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlfunc.c23 Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e) { in luaF_newCclosure() argument
24 Closure *c = cast(Closure *, luaM_malloc(L, sizeCclosure(nelems))); in luaF_newCclosure()
28 c->c.nupvalues = cast_byte(nelems); in luaF_newCclosure()
33 Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e) { in luaF_newLclosure() argument
34 Closure *c = cast(Closure *, luaM_malloc(L, sizeLclosure(nelems))); in luaF_newLclosure()
38 c->l.nupvalues = cast_byte(nelems); in luaF_newLclosure()
39 while (nelems--) c->l.upvals[nelems] = NULL; in luaF_newLclosure()
H A Dlfunc.h22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems, Table *e);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems, Table *e);
H A Dlmem.h33 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
34 if ((nelems)+1 > (size)) \
H A Dlcode.h73 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
H A Dlcode.c819 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument
820 int c = (nelems - 1)/LFIELDS_PER_FLUSH + 1; in luaK_setlist()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlfunc.h23 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
24 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
H A Dlmem.h39 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
40 if ((nelems)+1 > (size)) \
H A Dlcode.h81 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);
H A Dlcode.c870 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument
871 int c = (nelems - 1)/LFIELDS_PER_FLUSH + 1; in luaK_setlist()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c364 int i, nelems, elm_pos, rv; in rpi_fw_gpio_attach() local
375 nelems = OF_getprop_alloc(gpio, "gpio-line-names", (void **)&names); in rpi_fw_gpio_attach()
376 if (nelems <= 0) in rpi_fw_gpio_attach()
381 if (names != NULL && elm_pos < nelems && in rpi_fw_gpio_attach()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dbtree.c173 zfs_btree_find_in_buf(zfs_btree_t *tree, uint8_t *buf, uint64_t nelems, in zfs_btree_find_in_buf() argument
176 uint64_t max = nelems; in zfs_btree_find_in_buf()