/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcorolib.c | 21 if (!lua_checkstack(co, narg)) { in auxresume() 25 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 29 lua_xmove(L, co, narg); in auxresume() 30 status = lua_resume(co, L, narg); in auxresume() 32 int nres = lua_gettop(co); in auxresume() 49 lua_State *co = lua_tothread(L, 1); in luaB_coresume() local 52 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 68 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 104 lua_State *co = lua_tothread(L, 1); in luaB_costatus() local 108 switch (lua_status(co)) { in luaB_costatus() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_command.c | 474 xhci_command_t co; in xhci_command_enable_slot() local 479 xhci_command_init(&co); in xhci_command_enable_slot() 511 xhci_command_fini(&co); in xhci_command_enable_slot() 519 xhci_command_t co; in xhci_command_disable_slot() local 523 xhci_command_init(&co); in xhci_command_disable_slot() 550 xhci_command_t co; in xhci_command_set_address() local 586 xhci_command_t co; in xhci_command_configure_endpoint() local 634 xhci_command_t co; in xhci_command_evaluate_context() local 678 xhci_command_t co; in xhci_command_reset_endpoint() local 736 xhci_command_t co; in xhci_command_set_tr_dequeue() local [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_conn.c | 189 SMB_CO_LOCK(co); in smb_co_rele() 196 if (co->co_level == SMBL_VC && co->co_usecount == 2) { in smb_co_rele() 201 co->co_usecount--; in smb_co_rele() 202 SMB_CO_UNLOCK(co); in smb_co_rele() 235 SMB_CO_UNLOCK(co); in smb_co_rele() 238 co->co_gone(co); in smb_co_rele() 259 if (co->co_free) { in smb_co_rele() 260 co->co_free(co); in smb_co_rele() 286 SMB_CO_LOCK(co); in smb_co_kill() 289 SMB_CO_UNLOCK(co); in smb_co_kill() [all …]
|
H A D | smb_rq.c | 135 error = smb_rq_getenv(co, &rqp->sr_vc, &rqp->sr_share); in smb_rq_init() 492 smb_rq_getenv(struct smb_connobj *co, in smb_rq_getenv() argument 499 if (co->co_flags & SMBO_GONE) { in smb_rq_getenv() 505 switch (co->co_level) { in smb_rq_getenv() 507 ssp = CPTOSS(co); in smb_rq_getenv() 508 if ((co->co_flags & SMBO_GONE) || in smb_rq_getenv() 509 co->co_parent == NULL) { in smb_rq_getenv() 514 co = co->co_parent; in smb_rq_getenv() 517 vcp = CPTOVC(co); in smb_rq_getenv() 518 if ((co->co_flags & SMBO_GONE) || in smb_rq_getenv() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | attr_on.c | 67 (attr_set)(attr_t at, short co, void *opts) 70 __m_trace("attr_set(%x, %d, %p)", at, co, opts); 73 stdscr->_fg._co = co; 80 (color_set)(short co, void *opts) 83 __m_trace("color_set(%d, %p)", co, opts); 86 stdscr->_fg._co = co; 92 (attr_get)(attr_t *at, short *co, void *opts) 95 __m_trace("attr_get(%p, %p, %p)", at, co, opts); 101 if (co != (short *) 0) 102 *co = stdscr->_fg._co;
|
H A D | chgat.c | 45 (chgat)(int n, attr_t at, short co, const void *opts) 50 __m_trace("chgat(%d, %x, %d, %p)", n, at, co, opts); 53 code = wchgat(stdscr, n, at, co, opts); 59 (mvchgat)(int y, int x, int n, attr_t at, short co, const void *opts) 64 __m_trace("mvchgat(%d, %d, %d, %x, %d, %p)", y, x, n, at, co, opts); 68 code = wchgat(stdscr, n, at, co, opts); 75 WINDOW *w, int y, int x, int n, attr_t at, short co, const void *opts) 82 w, y, x, n, at, co, opts 87 code = wchgat(w, n, at, co, opts);
|
H A D | wattr_on.c | 73 wattr_set(WINDOW *w, attr_t at, short co, void *opts) in wattr_set() argument 76 __m_trace("wattr_set(%p, %x, %d, %p)", w, at, co, opts); in wattr_set() 79 w->_fg._co = co; in wattr_set() 88 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) in wattr_get() argument 91 __m_trace("wattr_get(%p, %p, %p, %p)", w, at, co, opts); in wattr_get() 97 if (co != (short *) 0) in wattr_get() 98 *co = w->_fg._co; in wattr_get() 106 wcolor_set(WINDOW *w, short co, void *opts) in wcolor_set() argument 109 __m_trace("wcolor_set(%p, %d, %p)", w, co, opts); in wcolor_set() 112 w->_fg._co = co; in wcolor_set()
|
H A D | getwin.c | 51 short co; local 55 if (fscanf(fp, "%d,%d,%hx,%hd,", &y, &x, &at, &co) < 4) 61 if (wattr_set(w, at, co, (void *) 0) == ERR) 139 short co; local 143 co = w->_line[y][x]._co; 153 if (w->_line[y][i]._at != at || w->_line[y][i]._co != co) 161 (void) fprintf(fp, "%d,%d,%#x,%d,%s\n", y, x, at, co, mbs);
|
H A D | setcchar.c | 45 setcchar(cchar_t *cc, const wchar_t *wcs, attr_t at, short co, const void *opts) in setcchar() argument 50 __m_trace("setcchar(%p, %p, %x, %d, %p)", cc, wcs, at, co, opts); in setcchar() 53 i = __m_wcs_cc(wcs, at, co, cc); in setcchar()
|
H A D | getcchar.c | 45 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) in getcchar() argument 50 __m_trace("getcchar(%p, %p, %p, %p, %p)", c, wcs, at, co, opts); in getcchar() 57 *co = (short) c->_co; in getcchar()
|
H A D | wchgat.c | 45 wchgat(WINDOW *w, int n, attr_t at, short co, const void *opts) in wchgat() argument 51 __m_trace("wchgat(%p, %d, %x, %d, %p)", w, n, at, co, opts); in wchgat() 66 cp->_co = co; in wchgat()
|
H A D | attron.c | 89 (COLOR_PAIR)(short co) in chtype() 94 __m_trace("COLOR_PAIR(%d)", co); in chtype() 97 ch = (chtype)(co) << __COLOR_SHIFT; in chtype()
|
H A D | slk.c | 134 slk_attr_set(const attr_t at, short co, void *opts) in slk_attr_set() argument 139 __m_trace("slk_attr_set(%x, %d, %p)", at, co, opts); in slk_attr_set() 143 code = wattr_set(__m_screen->_slk._w, at, co, opts); in slk_attr_set() 149 slk_color(short co) in slk_color() argument 154 __m_trace("slk_color(%d)", co); in slk_color() 158 code = wcolor_set(__m_screen->_slk._w, co, NULL); in slk_color()
|
/illumos-gate/usr/src/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 164 while (co->type != (cisdata_t)CISTPL_END) { in cis_tuple_handler() 165 if (co->type == tp->type && in cis_tuple_handler() 173 return ((*co->handler) (co, tp, flags, arg)); in cis_tuple_handler() 176 co++; in cis_tuple_handler() 288 return (cis_no_tuple_handler(co, tp, flags, arg)); in cistpl_vers_1_handler() 295 return (cis_no_tuple_handler(co, tp, flags, arg)); in cistpl_vers_1_handler() 354 return (cis_no_tuple_handler(co, tp, flags, arg)); in cistpl_config_handler() 361 return (cis_no_tuple_handler(co, tp, flags, arg)); in cistpl_config_handler() 440 return (cis_no_tuple_handler(co, tp, flags, arg)); in cistpl_device_handler() 447 return (cis_no_tuple_handler(co, tp, flags, arg)); in cistpl_device_handler() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wattr_on.c | 73 wattr_set(WINDOW *w, attr_t at, short co, void *opts) in wattr_set() argument 75 w->_fg._co = co; in wattr_set() 85 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) in wattr_get() argument 90 if (co != NULL) in wattr_get() 91 *co = w->_fg._co; in wattr_get() 100 wcolor_set(WINDOW *w, short co, void *opts) in wcolor_set() argument 102 w->_fg._co = co; in wcolor_set()
|
H A D | attr_on.c | 70 attr_set(attr_t at, short co, void *opts) in attr_set() argument 72 (void) wattr_set(stdscr, at, co, opts); in attr_set() 80 color_set(short co, void *opts) in color_set() argument 82 (void) wcolor_set(stdscr, co, opts); in color_set() 90 attr_get(attr_t *at, short *co, void *opts) in attr_get() argument 92 (void) wattr_get(stdscr, at, co, opts); in attr_get()
|
H A D | chgat.c | 50 chgat(int n, attr_t at, short co, const void *opts) in chgat() argument 54 code = wchgat(stdscr, n, at, co, opts); in chgat() 62 mvchgat(int y, int x, int n, attr_t at, short co, const void *opts) in mvchgat() argument 67 code = wchgat(stdscr, n, at, co, opts); in mvchgat() 76 short co, const void *opts) in mvwchgat() argument 81 code = wchgat(w, n, at, co, opts); in mvwchgat()
|
H A D | setcchar.c | 52 short co, const void *opts) in setcchar() argument 59 cc->_co = co; in setcchar() 65 cc->_co = co; in setcchar() 69 i = __m_wcs_cc(wcs, at, co, cc); in setcchar()
|
H A D | getwin.c | 54 short co; in get_cc() local 58 if (fscanf(fp, "%d,%d,%hx,%hd,", &y, &x, &at, &co) < 4) in get_cc() 64 if (wattr_set(w, at, co, (void *) 0) == ERR) in get_cc() 132 short co; in put_cc() local 136 co = w->_line[y][x]._co; in put_cc() 146 if (w->_line[y][i]._at != at || w->_line[y][i]._co != co) in put_cc() 154 (void) fprintf(fp, "%d,%d,%#x,%d,%s\n", y, x, at, co, mbs); in put_cc()
|
H A D | getcchar.c | 51 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) in getcchar() argument 59 *co = (short) c->_co; in getcchar()
|
H A D | attron.c | 68 COLOR_PAIR(int co) in COLOR_PAIR() argument 72 ch = co << __COLOR_SHIFT; in COLOR_PAIR()
|
H A D | wchgat.c | 51 wchgat(WINDOW *w, int n, attr_t at, short co, const void *opts) in wchgat() argument 68 cp->_co = co; in wchgat()
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | README.authors | 1 Alex Rozin <alexr@nbase.co.il> 2 Michael Rozhavsky <mike@nbase.co.il>
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | spray.c | 68 spraycumul *co; in main() local 132 if ((co = sprayproc_get_1(NULL, clnt)) == NULL) { in main() 136 cumul = *co; in main()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nsmb/ |
H A D | nsmb.c | 79 smb_connobj_t co; /* copy of the list element */ member 111 smbw->size = sizeof (smbw->u.co); in smb_co_walk_init() 132 psz = sizeof (smbw->u.co); in smb_co_walk_init() 133 if (mdb_vread(&smbw->u.co, psz, smbw->pp) != psz) { in smb_co_walk_init() 141 wsp->walk_addr = (uintptr_t)smbw->u.co.co_children.slh_first; in smb_co_walk_init() 229 wsp->walk_addr = (uintptr_t)smbw->u.co.co_next.sle_next; in smb_co_walk_step()
|