Home
last modified time | relevance | path

Searched refs:cnum (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/libpicl/
H A Dpicl2door.h76 picl_callnumber_t cnum; /* service call number */ member
81 picl_callnumber_t cnum; /* service call number */ member
89 picl_callnumber_t cnum; /* PICL_CNUM_INIT */ member
94 picl_callnumber_t cnum; /* PICL_CNUM_INIT */ member
103 picl_callnumber_t cnum; /* PICL_CNUM_FINI */ member
107 picl_callnumber_t cnum; /* PICL_CNUM_FINI */ member
114 picl_callnumber_t cnum; /* PICL_CNUM_GETROOT */ member
118 picl_callnumber_t cnum; /* PICL_CNUM_GETROOT */ member
126 picl_callnumber_t cnum; /* PICL_CNUM_GETATTRVAL */ member
132 picl_callnumber_t cnum; /* PICL_CNUM_GETATTRVAL */ member
[all …]
H A Dpicl.c121 req_cnum = ((picl_service_t *)data_ptr)->in.cnum; in post_req()
134 if (ret->in.cnum == req_cnum) in post_req()
136 else if ((ret->in.cnum == PICL_CNUM_ERROR) && in post_req()
158 req.cnum = PICL_CNUM_INIT; in handshake()
281 req_fini.cnum = PICL_CNUM_FINI; in picl_shutdown()
308 req_wait.cnum = PICL_CNUM_WAIT; in picl_wait()
336 req_root.cnum = PICL_CNUM_GETROOT; in picl_get_root()
362 req_attrval.cnum = PICL_CNUM_GETATTRVAL; in picl_get_propval()
401 req_attrvalbyname.cnum = PICL_CNUM_GETATTRVALBYNAME; in picl_get_propval_by_name()
443 inargs->cnum = PICL_CNUM_SETATTRVAL; in picl_set_propval()
[all …]
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmserver.h181 smedia_callnumber_t cnum; /* service call number */ member
186 smedia_callnumber_t cnum; /* service call number */ member
191 smedia_callnumber_t cnum; /* SMEDIA_CNUM_PING */ member
195 smedia_callnumber_t cnum; /* SMEDIA_CNUM_PING */ member
202 smedia_callnumber_t cnum; /* SMEDIA_CNUM_OPEN */ member
208 smedia_callnumber_t cnum; /* SMEDIA_CNUM_OPEN */ member
212 smedia_callnumber_t cnum; /* SMEDIA_CNUM_USCSI_CMD */ member
222 smedia_callnumber_t cnum; /* SMEDIA_CNUM_USCSI_CMD */ member
233 smedia_callnumber_t cnum; /* SMEDIA_CNUM_GET_DEVICE_INFO */ member
237 smedia_callnumber_t cnum; /* SMEDIA_CNUM_SET_SHFD */ member
[all …]
H A Dsmediad.c386 xlate_cnum(smedia_callnumber_t cnum) in xlate_cnum() argument
388 switch (cnum) { in xlate_cnum()
1561 reterror->cnum = SMEDIA_CNUM_ERROR; in door_ret_err()
2003 rmsvc.in.cnum = req->in.cnum; in client_servproc()
2005 xlate_cnum(req->in.cnum)); in client_servproc()
2011 nexpected_desc = (req->in.cnum == SMEDIA_CNUM_SET_SHFD) ? 1 : 0; in client_servproc()
2016 switch (req->in.cnum) { in client_servproc()
2018 debug(5, "client_servproc: unknown command %d\n", req->in.cnum); in client_servproc()
2033 reterror.cnum = SMEDIA_CNUM_SET_SHFD; in client_servproc()
2056 retraw_read.cnum = SMEDIA_CNUM_RAW_READ; in client_servproc()
[all …]
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c124 picld_return_error(picl_callnumber_t cnum, picl_errno_t err) in picld_return_error() argument
128 ret_error.cnum = PICL_CNUM_ERROR; in picld_return_error()
129 ret_error.in_cnum = cnum; in picld_return_error()
148 picld_return_error(req->req_init.cnum, PICL_NOTSUPPORTED); in picld_init()
150 ret_init.cnum = req->req_init.cnum; in picld_init()
165 ret.cnum = in->req_fini.cnum; in picld_fini()
176 ret.cnum = in->req_ping.cnum; in picld_ping()
263 ret.cnum = in->req_wait.cnum; in picld_wait()
290 ret.cnum = PICL_CNUM_GETROOT; in picld_getroot()
293 picld_return_error(in->in.cnum, err); in picld_getroot()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dsgen_link.c67 char *baddr, *cnum, *tstr; in sgen_callback() local
73 if ((cnum = find_ctrlr(node, minor)) == NULL) in sgen_callback()
110 di_minor_name(minor), cnum, wwn, lun64); in sgen_callback()
118 di_minor_name(minor), cnum, wwn, sl); in sgen_callback()
122 di_minor_name(minor), cnum, wwn, lun64); in sgen_callback()
137 di_minor_name(minor), cnum, buf) >= sizeof (lpath)) in sgen_callback()
156 di_minor_name(minor), cnum, buf, lun) >= sizeof (lpath)) in sgen_callback()
171 di_minor_name(minor), cnum, targ, lun) >= sizeof (lpath)) in sgen_callback()
177 free(cnum); in sgen_callback()
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c83 reqget_medium_property.cnum = SMEDIA_CNUM_GET_MEDIUM_PROPERTY; in _m_get_media_info()
99 if (reterror->cnum == SMEDIA_CNUM_ERROR) { in _m_get_media_info()
157 reqget_device_info.cnum = SMEDIA_CNUM_GET_DEVICE_INFO; in _m_get_device_info()
176 if (reterror->cnum == SMEDIA_CNUM_ERROR) { in _m_get_device_info()
260 reqraw_write.cnum = SMEDIA_CNUM_RAW_WRITE; in _m_raw_write()
278 if (reterror->cnum == SMEDIA_CNUM_ERROR) { in _m_raw_write()
322 reqraw_read.cnum = SMEDIA_CNUM_RAW_READ; in _m_raw_read()
339 if (reterror->cnum == SMEDIA_CNUM_ERROR) { in _m_raw_read()
381 reqformat.cnum = SMEDIA_CNUM_FORMAT; in _m_media_format()
397 if (reterror->cnum == SMEDIA_CNUM_ERROR) { in _m_media_format()
[all …]
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu.h87 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument
92 stxa cnum, [tmp1]ASI_MMU_CTX ;\
97 mov %g0, cnum ;\
101 sllx cnum, CTXREG_CTX_SHIFT, cnum ;\
102 srlx cnum, CTXREG_CTX_SHIFT, cnum ;\
103 or cnum, tmp1, cnum ;\
104 mov cnum, tmp1 ;\
105 sllx cnum, 32, cnum ;\
106 or cnum, tmp1, cnum ;\
109 stxa cnum, [tmp1]ASI_MMU_CTX ;\
/illumos-gate/usr/src/lib/libsmedia/library/common/
H A Dl_misc.c119 reqping.cnum = SMEDIA_CNUM_PING; in is_server_running()
137 if (retping->cnum != SMEDIA_CNUM_PING) { in is_server_running()
139 "returned = 0x%x\n", retping->cnum); in is_server_running()
173 reqping.cnum = SMEDIA_CNUM_PING; in is_server_running()
190 if (retping->cnum != SMEDIA_CNUM_PING) { in is_server_running()
192 "= 0x%x\n", retping->cnum); in is_server_running()
408 reqopen.cnum = SMEDIA_CNUM_OPEN_FD; in get_handle_from_fd()
430 if (reterror->cnum != SMEDIA_CNUM_OPEN_FD) { in get_handle_from_fd()
436 "*** door call failed *** cnum returned = 0x%x\n", reterror->cnum); in get_handle_from_fd()
/illumos-gate/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c136 int cnum; in print_bytearray() local
152 if ((s = getenv("COLUMNS")) != NULL && (cnum = atoi(s)) > 0) in print_bytearray()
153 columns = cnum; in print_bytearray()
160 cnum = PROPINFO_LEFT_MARGIN(lvl); in print_bytearray()
161 if ((nbytes * COLUMNS_PER_BYTE + cnum) > columns) { in print_bytearray()
163 cnum = 0; in print_bytearray()
166 if (cnum > columns - COLUMNS_PER_BYTE) { in print_bytearray()
168 cnum = 0; in print_bytearray()
171 cnum += COLUMNS_PER_BYTE; in print_bytearray()
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h640 uint64_t cnum:16; member
796 #define TRACE_CTXS(mutex, ptr, cnum, stolen_sfmmu, stealing_sfmmu, type) \ argument
800 (ptr)->sc_cnum = (cnum); \
808 #define TRACE_CTXS(mutex, ptr, cnum, stolen_sfmmu, stealing_sfmmu, type) argument
2022 #define SFMMU_CPU_CNUM(sfmmu, cnum, scr) \ argument
2023 CPU_ADDR(scr, cnum); /* scr = load CPU struct addr */ \
2024 ld [scr + CPU_MMU_IDX], cnum; /* cnum = mmuid */ \
2026 sllx cnum, SFMMU_MMU_CTX_SHIFT, cnum; \
2027 add scr, cnum, scr; /* scr = sfmmup->sfmmu_ctxs[id] */ \
2030 srlx scr, SFMMU_MMU_CNUM_LSHIFT, cnum; /* cnum = sfmmu cnum */
[all …]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcap.c102 conv_iter_elfcap(const elfcap_desc_t *cdp, uint_t cnum, in conv_iter_elfcap() argument
109 for (; cnum-- > 0; cdp++) { in conv_iter_elfcap()
/illumos-gate/usr/src/common/elfcap/
H A Delfcap.c564 uint_t cnum, char *str, size_t slen, elfcap_fmt_t fmt) in expand() argument
573 for (cnt = cnum; cnt > 0; cnt--) { in expand()
723 uint_t cnum) in value() argument
729 for (num = 0; num < cnum; num++) { in value()
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm.h254 int cnum; member
274 int32_t cnum; member
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dpragma.c409 int cnum = pIdx->aiColumn[i]; in sqlitePragma() local
411 sqliteVdbeAddOp(v, OP_Integer, cnum, 0); in sqlitePragma()
412 assert( pTab->nCol>cnum ); in sqlitePragma()
413 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[cnum].zName, 0); in sqlitePragma()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dfiles.c583 get_cap_group(Objcapset *ocapset, Word cnum, Ofl_desc *ofl, Is_desc *isp) in get_cap_group() argument
587 Word ccnum = cnum; in get_cap_group()
675 cnum++; in get_cap_group()
679 cgp->cg_num = cnum; in get_cap_group()
699 ofl->ofl_capsymcnt += (cnum + 1); in get_cap_group()
852 Word ndx, cnum; in process_cap() local
860 cnum = (Word)(cisp->is_shdr->sh_size / cisp->is_shdr->sh_entsize); in process_cap()
862 if ((cdata == NULL) || (cnum == 0)) in process_cap()
891 for (ndx = 0, data = cdata; ndx < cnum; ndx++, data++) { in process_cap()
963 for (ndx = 0, data = cdata; ndx < cnum; ndx++, data++) { in process_cap()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c133 a->cnum = -1; in ap_parse()
272 a->cnum = i; in ap_parse()
298 DBG("cnum=%d\n", a->cnum); in ap_parse()
H A Dap_sbd.c174 ctl->ic_unit = a->cnum; in ap_stat()
181 DBG(" cname=<%s> cnum=%d", a->cname, a->cnum); in ap_stat()
277 DBG("cname=<%s> cunit=<%d>\n", a->cname, a->cnum); in apd_init()
284 if (dst->ds_unit != a->cnum) in apd_init()
554 ctl->ic_unit = a->cnum; in ap_ioctl()
H A Dap.h101 int cnum; member
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.h75 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument
78 stxa cnum, [tmp1]ASI_MMU_CTX; /* set 2nd ctx reg. */ \
H A Dmach_sfmmu.c364 ASSERT(sfmmup->sfmmu_ctxs[i].cnum == INVALID_CONTEXT); in sfmmu_setup_tsbinfo()
/illumos-gate/usr/src/uts/sfmmu/ml/
H A Dsfmmu_asm.S606 ! load HAT sfmmu_ctxs[mmuid] gnum, cnum
621 cmp %g6, INVALID_CONTEXT ! hat cnum == INVALID ??
622 bne,pt %icc, 1f ! valid hat cnum, check gnum
625 ! cnum == INVALID, check allocflag
630 ! (invalid HAT cnum) && (allocflag == 1)
641 ! valid HAT cnum, check gnum
672 cmp %g6, INVALID_CONTEXT ! hat cnum == INVALID ??
673 bne,pt %icc, 1f ! valid hat cnum, check gnum
676 ! cnum == INVALID, check allocflag
681 ! (invalid HAT cnum) && (allocflag == 1)
[all …]
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.S111 SFMMU_CPU_CNUM(%o1, %g1, %g2) ! %g1 = sfmmu cnum on this CPU
115 or %g1, %o4, %g1 ! %g1 = primary pgsz | cnum
123 or %g1, %o1, %g1 ! %g1 = nucleus pgsz | primary pgsz | cnum
178 SFMMU_CPU_CNUM(%g2, %g6, %g3) ! %g6 = sfmmu cnum on this CPU
182 or %g6, %g4, %g6 ! %g6 = primary pgsz | cnum
188 or %g6, %g2, %g6 ! %g6 = nucleus pgsz | primary pgsz | cnum
245 SFMMU_CPU_CNUM(%g2, %g5, %g6) ! %g5 = sfmmu cnum on this CPU
H A Dus3_common_asm.S217 SFMMU_CPU_CNUM(%o1, %g1, %g2) ! %g1 = sfmmu cnum on this CPU
221 or %g1, %o4, %g1 ! %g1 = primary pgsz | cnum
229 or %g1, %o1, %g1 ! %g1 = nucleus pgsz | primary pgsz | cnum
283 SFMMU_CPU_CNUM(%g2, %g6, %g3) ! %g6 = sfmmu cnum on this CPU
287 or %g6, %g4, %g6 ! %g6 = pgsz | cnum
350 SFMMU_CPU_CNUM(%g2, %g5, %g6) ! %g5 = sfmmu cnum on this CPU
/illumos-gate/usr/src/lib/librsm/common/
H A Drsmlib.c243 msg.cnum = unit; in _rsm_loopbackload()
354 msg.cnum = unit; in _rsm_modload()
864 msg.cnum = chdl->cntr_unit; in rsm_memseg_export_create()
1200 msg.cnum = cntr->cntr_unit; in rsm_memseg_import_connect()
3122 msg.cnum = ctrlp->cntr_unit; in _rsm_get_hwaddr()
3162 msg.cnum = ctrlp->cntr_unit; in _rsm_get_nodeid()

12