Home
last modified time | relevance | path

Searched refs:co (Results 1 – 25 of 90) sorted by relevance

1234

/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_conn.c178 smb_co_rele(struct smb_connobj *co) in smb_co_rele() argument
183 SMB_CO_LOCK(co); in smb_co_rele()
184 if (co->co_usecount > 1) { in smb_co_rele()
185 co->co_usecount--; in smb_co_rele()
186 SMB_CO_UNLOCK(co); in smb_co_rele()
189 ASSERT(co->co_usecount == 1); in smb_co_rele()
190 co->co_usecount = 0; in smb_co_rele()
197 ASSERT(SLIST_EMPTY(&co->co_children)); in smb_co_rele()
217 old_flags = co->co_flags; in smb_co_rele()
218 co->co_flags |= SMBO_GONE; in smb_co_rele()
[all …]
H A Dsmb_rq.c123 smb_rq_init(struct smb_rq *rqp, struct smb_connobj *co, uchar_t cmd, in smb_rq_init() argument
132 error = smb_rq_getenv(co, &rqp->sr_vc, &rqp->sr_share); in smb_rq_init()
410 smb_rq_getenv(struct smb_connobj *co, in smb_rq_getenv() argument
417 if (co->co_flags & SMBO_GONE) { in smb_rq_getenv()
423 switch (co->co_level) { in smb_rq_getenv()
425 ssp = CPTOSS(co); in smb_rq_getenv()
426 if ((co->co_flags & SMBO_GONE) || in smb_rq_getenv()
427 co->co_parent == NULL) { in smb_rq_getenv()
432 co = co->co_parent; in smb_rq_getenv()
435 vcp = CPTOVC(co); in smb_rq_getenv()
[all …]
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dattr_on.c69 (attr_set)(attr_t at, short co, void *opts)
72 __m_trace("attr_set(%x, %d, %p)", at, co, opts);
75 stdscr->_fg._co = co;
82 (color_set)(short co, void *opts)
85 __m_trace("color_set(%d, %p)", co, opts);
88 stdscr->_fg._co = co;
94 (attr_get)(attr_t *at, short *co, void *opts)
97 __m_trace("attr_get(%p, %p, %p)", at, co, opts);
103 if (co != (short *) 0)
104 *co = stdscr->_fg._co;
H A Dchgat.c47 (chgat)(int n, attr_t at, short co, const void *opts)
52 __m_trace("chgat(%d, %x, %d, %p)", n, at, co, opts);
55 code = wchgat(stdscr, n, at, co, opts);
61 (mvchgat)(int y, int x, int n, attr_t at, short co, const void *opts)
66 __m_trace("mvchgat(%d, %d, %d, %x, %d, %p)", y, x, n, at, co, opts);
70 code = wchgat(stdscr, n, at, co, opts);
77 WINDOW *w, int y, int x, int n, attr_t at, short co, const void *opts)
84 w, y, x, n, at, co, opts
89 code = wchgat(w, n, at, co, opts);
H A Dwattr_on.c75 wattr_set(WINDOW *w, attr_t at, short co, void *opts) in wattr_set() argument
78 __m_trace("wattr_set(%p, %x, %d, %p)", w, at, co, opts); in wattr_set()
81 w->_fg._co = co; in wattr_set()
90 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) in wattr_get() argument
93 __m_trace("wattr_get(%p, %p, %p, %p)", w, at, co, opts); in wattr_get()
99 if (co != (short *) 0) in wattr_get()
100 *co = w->_fg._co; in wattr_get()
108 wcolor_set(WINDOW *w, short co, void *opts) in wcolor_set() argument
111 __m_trace("wcolor_set(%p, %d, %p)", w, co, opts); in wcolor_set()
114 w->_fg._co = co; in wcolor_set()
H A Dgetwin.c53 short co; local
57 if (fscanf(fp, "%d,%d,%hx,%hd,", &y, &x, &at, &co) < 4)
63 if (wattr_set(w, at, co, (void *) 0) == ERR)
141 short co; local
145 co = w->_line[y][x]._co;
155 if (w->_line[y][i]._at != at || w->_line[y][i]._co != co)
163 (void) fprintf(fp, "%d,%d,%#x,%d,%s\n", y, x, at, co, mbs);
H A Dsetcchar.c47 setcchar(cchar_t *cc, const wchar_t *wcs, attr_t at, short co, const void *opts) in setcchar() argument
52 __m_trace("setcchar(%p, %p, %x, %d, %p)", cc, wcs, at, co, opts); in setcchar()
55 i = __m_wcs_cc(wcs, at, co, cc); in setcchar()
H A Dgetcchar.c47 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) in getcchar() argument
52 __m_trace("getcchar(%p, %p, %p, %p, %p)", c, wcs, at, co, opts); in getcchar()
59 *co = (short) c->_co; in getcchar()
H A Dwchgat.c47 wchgat(WINDOW *w, int n, attr_t at, short co, const void *opts) in wchgat() argument
53 __m_trace("wchgat(%p, %d, %x, %d, %p)", w, n, at, co, opts); in wchgat()
68 cp->_co = co; in wchgat()
H A Dattron.c91 (COLOR_PAIR)(short co) in chtype()
96 __m_trace("COLOR_PAIR(%d)", co); in chtype()
99 ch = (chtype)(co) << __COLOR_SHIFT; in chtype()
H A Dslk.c142 slk_attr_set(const attr_t at, short co, void *opts) in slk_attr_set() argument
147 __m_trace("slk_attr_set(%x, %d, %p)", at, co, opts); in slk_attr_set()
151 code = wattr_set(__m_screen->_slk._w, at, co, opts); in slk_attr_set()
157 slk_color(short co) in slk_color() argument
162 __m_trace("slk_color(%d)", co); in slk_color()
166 code = wcolor_set(__m_screen->_slk._w, co, (void *) 0); in slk_color()
/titanic_50/usr/src/uts/common/pcmcia/cis/
H A Dcis_handlers.c152 cis_tuple_handler(cistpl_callout_t *co, cistpl_t *tp, uint32_t flags, in cis_tuple_handler() argument
166 while (co->type != (cisdata_t)CISTPL_END) { in cis_tuple_handler()
167 if (co->type == tp->type && in cis_tuple_handler()
169 (tp->type == CISTPL_FUNCE && co->subtype == subtype))) { in cis_tuple_handler()
172 cis_return_name(co, (cistpl_get_tuple_name_t *)arg); in cis_tuple_handler()
175 return ((*co->handler) (co, tp, flags, arg)); in cis_tuple_handler()
178 co++; in cis_tuple_handler()
189 cis_return_name(co, (cistpl_get_tuple_name_t *)arg); in cis_tuple_handler()
220 cis_no_tuple_handler(cistpl_callout_t *co, cistpl_t *tp, in cis_no_tuple_handler() argument
224 tp->flags |= co->flags; /* XXX - is = the right thing here? */ in cis_no_tuple_handler()
[all …]
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwattr_on.c75 wattr_set(WINDOW *w, attr_t at, short co, void *opts) in wattr_set() argument
77 w->_fg._co = co; in wattr_set()
87 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) in wattr_get() argument
92 if (co != NULL) in wattr_get()
93 *co = w->_fg._co; in wattr_get()
102 wcolor_set(WINDOW *w, short co, void *opts) in wcolor_set() argument
104 w->_fg._co = co; in wcolor_set()
H A Dattr_on.c72 attr_set(attr_t at, short co, void *opts) in attr_set() argument
74 (void) wattr_set(stdscr, at, co, opts); in attr_set()
82 color_set(short co, void *opts) in color_set() argument
84 (void) wcolor_set(stdscr, co, opts); in color_set()
92 attr_get(attr_t *at, short *co, void *opts) in attr_get() argument
94 (void) wattr_get(stdscr, at, co, opts); in attr_get()
H A Dchgat.c52 chgat(int n, attr_t at, short co, const void *opts) in chgat() argument
56 code = wchgat(stdscr, n, at, co, opts); in chgat()
64 mvchgat(int y, int x, int n, attr_t at, short co, const void *opts) in mvchgat() argument
69 code = wchgat(stdscr, n, at, co, opts); in mvchgat()
78 short co, const void *opts) in mvwchgat() argument
83 code = wchgat(w, n, at, co, opts); in mvwchgat()
H A Dsetcchar.c54 short co, const void *opts) in setcchar() argument
61 cc->_co = co; in setcchar()
67 cc->_co = co; in setcchar()
71 i = __m_wcs_cc(wcs, at, co, cc); in setcchar()
H A Dgetwin.c56 short co; in get_cc() local
60 if (fscanf(fp, "%d,%d,%hx,%hd,", &y, &x, &at, &co) < 4) in get_cc()
66 if (wattr_set(w, at, co, (void *) 0) == ERR) in get_cc()
134 short co; in put_cc() local
138 co = w->_line[y][x]._co; in put_cc()
148 if (w->_line[y][i]._at != at || w->_line[y][i]._co != co) in put_cc()
156 (void) fprintf(fp, "%d,%d,%#x,%d,%s\n", y, x, at, co, mbs); in put_cc()
H A Dgetcchar.c53 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) in getcchar() argument
61 *co = (short) c->_co; in getcchar()
H A Dattron.c70 COLOR_PAIR(int co) in COLOR_PAIR() argument
74 ch = co << __COLOR_SHIFT; in COLOR_PAIR()
H A Dwchgat.c53 wchgat(WINDOW *w, int n, attr_t at, short co, const void *opts) in wchgat() argument
70 cp->_co = co; in wchgat()
H A Dslk.c127 slk_attr_set(const attr_t at, short co, void *opts) in slk_attr_set() argument
132 code = wattr_set(__m_screen->_slk._w, at, co, opts); in slk_attr_set()
138 slk_color(short co) in slk_color() argument
143 code = wcolor_set(__m_screen->_slk._w, co, (void *) 0); in slk_color()
/titanic_50/usr/src/lib/librstp/common/
H A DREADME.authors1 Alex Rozin <alexr@nbase.co.il>
2 Michael Rozhavsky <mike@nbase.co.il>
H A DREADME.CVS.HOWTO10 cvs -z3 -d:pserver:anonymous@cvs.rstplib.sourceforge.net:/cvsroot/rstplib co modulename
22 cvs -z3 -d:ext:developername@cvs.rstplib.sourceforge.net:/cvsroot/rstplib co modulename
/titanic_50/usr/src/cmd/rpcsvc/
H A Dspray.c70 spraycumul *co; in main() local
134 if ((co = sprayproc_get_1(NULL, clnt)) == NULL) { in main()
138 cumul = *co; in main()
/titanic_50/usr/src/cmd/mdb/common/modules/nsmb/
H A Dnsmb.c72 smb_connobj_t co; /* copy of the list element */ member
103 smbw->size = sizeof (smbw->u.co); in smb_co_walk_init()
121 psz = sizeof (smbw->u.co); in smb_co_walk_init()
122 if (mdb_vread(&smbw->u.co, psz, smbw->pp) != psz) { in smb_co_walk_init()
130 wsp->walk_addr = (uintptr_t)smbw->u.co.co_children.slh_first; in smb_co_walk_init()
200 wsp->walk_addr = (uintptr_t)smbw->u.co.co_next.sle_next; in smb_co_walk_step()

1234