Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachclock.h63 #define TODOP_GET(top) ((top)->tod_get(top)) argument
64 #define TODOP_SET(top, ts) ((top)->tod_set(top, ts)) argument
65 #define TODOP_SETWD(top, nsec) ((top)->tod_set_watchdog_timer(top, nsec)) argument
66 #define TODOP_CLRWD(top) ((top)->tod_clear_watchdog_timer(top)) argument
67 #define TODOP_SETWAKE(top, nsec) ((top)->tod_set_wake_alarm(top, nsec)) argument
68 #define TODOP_CLRWAKE(top) ((top)->tod_clear_wake_alarm(top)) argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashview.c50 if (!top || top->frozen) in hashview()
52 else if (top == bot) in hashview()
53 bot = top->scope; in hashview()
56 if (top->scope) in hashview()
60 sx = &top->table[top->size]; in hashview()
61 sp = &top->table[0]; in hashview()
69 top->scope = bot; in hashview()
73 else if (bot = top->scope) in hashview()
75 sx = &top->table[top->size]; in hashview()
76 sp = &top->table[0]; in hashview()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlapi.c104 if (res && ci->top < L->top + size) in lua_checkstack()
105 ci->top = L->top + size; /* adjust frame top */ in lua_checkstack()
120 setobj2s(to, to->top++, from->top + i); in lua_xmove()
187 L->top--; in lua_remove()
300 setobjs2s(L, L->top, L->top - 1); in lua_arith()
613 luaV_gettable(L, gt, L->top - 1, L->top - 1); in lua_getglobal()
622 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_gettable()
633 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_getfield()
740 luaV_settable(L, gt, L->top - 1, L->top - 2); in lua_setglobal()
751 luaV_settable(L, t, L->top - 2, L->top - 1); in lua_settable()
[all …]
H A Dlvm.c296 StkId top = L->top; in luaV_concat() local
298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
299 if (!call_binTM(L, top-2, top-1, top-2, TM_CONCAT)) in luaV_concat()
300 luaG_concaterror(L, top-2, top-1); in luaV_concat()
519 L->top = ci->top; /* restore top */ in luaV_finishOp()
524 L->top = ci->top; /* correct top */ in luaV_finishOp()
529 L->top = ci->top; /* adjust results */ in luaV_finishOp()
726 L->top = ci->top; /* restore top */ in luaV_execute()
807 oci->top = L->top = ofunc + (L->top - nfunc); /* correct top */ in luaV_execute()
824 if (b) L->top = ci->top; in luaV_execute()
[all …]
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
H A Dldo.c103 L->top = oldtop + 1; in seterrorobj()
149 L->top = (L->top - oldstack) + L->stack; in correctstack()
153 ci->top = (ci->top - oldstack) + L->stack; in correctstack()
203 if (lim < ci->top) lim = ci->top; in stackinuse()
225 ptrdiff_t top = savestack(L, L->top); in luaD_hook() local
232 ci->top = L->top + LUA_MINSTACK; in luaD_hook()
242 L->top = restorestack(L, top); in luaD_hook()
316 ci->top = L->top + LUA_MINSTACK; in luaD_precall()
352 L->top = ci->top; in luaD_precall()
386 L->top = res; in luaD_poscall()
[all …]
/illumos-gate/usr/src/common/ficl/
H A Dstack.c137 stack->top -= n; in ficlStackDrop()
152 stack->top[-n] = c; in ficlStackStore()
161 return (stack->top[0]); in ficlStackGetTop()
178 stack->top += size; in ficlStackLink()
265 *++stack->top = c; in ficlStackPush()
274 *++stack->top = c; in ficlStackPushPointer()
283 *++stack->top = c; in ficlStackPushInteger()
292 *++stack->top = c; in ficlStackPushUnsigned()
318 *++stack->top = c; in ficlStackPushFloat()
356 cell = stack->top; in ficlStackRoll()
[all …]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dchk.c39 _chk_top(MENU *m, int *top, ITEM *current) in _chk_top() argument
41 if (Y(current) < *top) { in _chk_top()
42 *top = Y(current); in _chk_top()
44 if (Y(current) >= *top + Height(m)) { in _chk_top()
45 *top = Y(current) - Height(m) + 1; in _chk_top()
56 _chk_current(MENU *m, int *top, ITEM *current) in _chk_current() argument
58 if (Y(current) < *top) { in _chk_current()
59 *top = Y(current); in _chk_current()
61 if (Y(current) >= *top + Height(m)) { in _chk_current()
62 *top = min(Y(current), Rows(m) - Height(m)); in _chk_current()
H A Ddriver.c40 int top; in menu_driver() local
54 top = Top(m); in menu_driver()
102 if (--top < 0) { in menu_driver()
103 ++top; in menu_driver()
111 if (++top > Rows(m) - Height(m)) { in menu_driver()
112 --top; in menu_driver()
120 n = min(Height(m), top); in menu_driver()
122 top -= n; in menu_driver()
135 top += n; in menu_driver()
246 _chk_top(m, &top, current); in menu_driver()
[all …]
H A Dtopitem.c37 set_top_row(MENU *m, int top) in set_top_row() argument
48 if (top < 0 || top > Rows(m) - Height(m)) { in set_top_row()
51 if (top != Top(m)) { in set_top_row()
57 current = IthItem(m, RowMajor(m) ? top * Cols(m) : top); in set_top_row()
60 _affect_change(m, top, current); in set_top_row()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/json/
H A Dtst.general.d.out172 sel |top|
176 sel |top.mid|
178 sel |top.centre|
180 sel |top.mid.legs|
184 sel |top.mid.array|
186 sel |top.number|
188 sel |top.array|
190 sel |top.array[0]|
192 sel |top.array[1]|
194 sel |top.array[2]|
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprinthash_live.c24 iphtent_t entry, *top, *node; local
50 top = NULL;
55 entry.ipe_snext = top;
56 top = malloc(sizeof(*top));
57 if (top == NULL)
59 bcopy(&entry, top, sizeof(entry));
62 while (top != NULL) {
63 node = top;
65 top = node->ipe_snext;
H A Dprintpool_live.c24 ip_pool_node_t entry, *top, *node; local
50 top = NULL;
55 entry.ipn_next = top;
56 top = malloc(sizeof(*top));
57 if (top == NULL)
59 bcopy(&entry, top, sizeof(entry));
62 while (top != NULL) {
63 node = top;
65 top = node->ipn_next;
/illumos-gate/usr/src/uts/common/io/ral/
H A Dral_rate.c89 for (i = 0, top = RAL_RSSADAPT_BKT0; in ral_rssadapt_choose()
91 i++, top <<= RAL_RSSADAPT_BKTPOWER) { in ral_rssadapt_choose()
93 if (len <= top) in ral_rssadapt_choose()
153 uint32_t i, thridx, top; in ral_rssadapt_lower_rate() local
160 for (i = 0, top = RAL_RSSADAPT_BKT0; in ral_rssadapt_lower_rate()
162 i++, top <<= RAL_RSSADAPT_BKTPOWER) { in ral_rssadapt_lower_rate()
164 if (id->id_len <= top) in ral_rssadapt_lower_rate()
182 int i, top; in ral_rssadapt_raise_rate() local
186 for (i = 0, top = RAL_RSSADAPT_BKT0; in ral_rssadapt_raise_rate()
188 i++, top <<= RAL_RSSADAPT_BKTPOWER) { in ral_rssadapt_raise_rate()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h198 #define TODOP_GET(top) ((top).tod_get()) argument
199 #define TODOP_SET(top, ts) ((top).tod_set(ts)) argument
200 #define TODOP_SETWD(top, nsec) ((top).tod_set_watchdog_timer(nsec)) argument
201 #define TODOP_CLRWD(top) ((top).tod_clear_watchdog_timer()) argument
202 #define TODOP_SETWAKE(top, ts) ((top).tod_set_power_alarm(ts)) argument
203 #define TODOP_CLRWAKE(top) ((top).tod_clear_power_alarm()) argument
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dscrreg.c45 (setscrreg)(top, bottom)
46 int top, bottom;
49 __m_trace("setscrreg(%d, %d)", top, bottom);
52 if (top < 0 || bottom < top || stdscr->_maxy <= bottom)
56 stdscr->_top = top;
H A Dwscrreg.c45 wsetscrreg(w, top, bottom) in wsetscrreg() argument
47 int top, bottom;
50 __m_trace("wsetscrreg(%p, %d, %d)", w, top, bottom);
53 if (top < 0 || bottom < top || w->_maxy <= bottom)
57 w->_top = top;
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_queue.c92 vq->top = vqn; in vq_put()
103 Vuid_q_node *vqn = vq->top; in vq_get()
111 vq->top = vqn->next; in vq_get()
113 if (vq->top != VUID_Q_NODE_NULL) in vq_get()
126 if (vq->top == VUID_Q_NODE_NULL) in vq_peek()
141 vqn->next = vq->top; in vq_putback()
145 if (vq->top != VUID_Q_NODE_NULL) in vq_putback()
146 vq->top->prev = vqn; in vq_putback()
148 vq->top = vqn; in vq_putback()
174 vq->top->firm_event.time); in vq_compress()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c122 __rec_fpipe(t, top) in __rec_fpipe() argument
124 recno_t top;
143 for (nrec = t->bt_nrecs; nrec < top;) {
160 if (nrec < top) {
178 __rec_vpipe(t, top) in __rec_vpipe() argument
180 recno_t top;
217 if (nrec < top) {
235 __rec_fmap(t, top) in __rec_fmap() argument
237 recno_t top;
285 __rec_vmap(t, top) in __rec_vmap() argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dldap.c544 if (*top == NULL)
547 *top = sm_rpool_malloc_x(rpool, sizeof **top);
548 (*top)->lrl_cnt = 0;
549 (*top)->lrl_size = 0;
553 if ((*top)->lrl_cnt >= (*top)->lrl_size)
564 oldsizeb = (*top)->lrl_size * sizeof *((*top)->lrl_data);
565 (*top)->lrl_size *= 2;
568 (*top)->lrl_size * sizeof *((*top)->lrl_data));
579 m = (*top)->lrl_cnt - 1;
616 moveb = ((*top)->lrl_cnt - insertat) * sizeof *((*top)->lrl_data);
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_conv.c67 indx_t i, top; local
86 top = NEXTINDEX(h);
88 for (i = 0; i < top; i++) {
103 for (i = 0; i < top; i++) {
135 indx_t i, top; local
147 top = NEXTINDEX(h);
149 for (i = 0; i < top; i++) {
164 for (i = 0; i < top; i++) {
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscrreg.c50 setscrreg(int top, int bottom) in setscrreg() argument
52 if (top < 0 || bottom < top || stdscr->_maxy <= bottom) in setscrreg()
56 stdscr->_top = (short) top; in setscrreg()
H A Dwscrreg.c48 wsetscrreg(WINDOW *w, int top, int bottom) in wsetscrreg() argument
50 if (top < 0 || bottom < top || w->_maxy <= bottom) in wsetscrreg()
54 w->_top = (short) top; in wsetscrreg()
/illumos-gate/usr/src/cmd/look/
H A Dlook.c38 long top,bot,mid; in main() local
86 top = ftell(dfile); in main()
88 mid = (top+bot)/2; in main()
101 if(top<=mid) in main()
103 top = mid; in main()
113 while(ftell(dfile)<top) { in main()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dcommon.c121 unsigned long long top; in mmap_avail_at() local
125 top = bottom; in mmap_avail_at()
135 && desc->BaseAddr <= top in mmap_avail_at()
136 && desc->BaseAddr + desc->Length > top) in mmap_avail_at()
138 top = desc->BaseAddr + desc->Length; in mmap_avail_at()
146 if (top > 0xFFFFFFFF) in mmap_avail_at()
147 top = 0xFFFFFFFF; in mmap_avail_at()
149 return (unsigned long) top - bottom; in mmap_avail_at()

12345678910>>...18