Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_str.c446 size_t vres = 0; in _z_strPrintf() local
458 vres = vsnprintf(bfr, 1, a_format, ap); in _z_strPrintf()
461 assert(vres > 0); in _z_strPrintf()
462 assert(vres < LINE_MAX); in _z_strPrintf()
466 rstr = (char *)_z_calloc(vres+2); in _z_strPrintf()
471 vres = vsnprintf(rstr, vres+1, a_format, ap); in _z_strPrintf()
474 assert(vres > 0); in _z_strPrintf()
475 assert(vres < LINE_MAX); in _z_strPrintf()
507 size_t vres = 0; in _z_strPrintf_r() local
519 vres = vsnprintf(a_buf, a_bufLen-1, a_format, ap); in _z_strPrintf_r()
[all …]
H A Dzones_args.c123 size_t vres = 0; in _z_add_arg() local
152 vres = vsnprintf(bfr, sizeof (bfr), a_format, ap); in _z_add_arg()
160 if (vres < sizeof (bfr)) { in _z_add_arg()
166 rstr = (char *)_z_malloc(vres+2); in _z_add_arg()
171 vres = vsnprintf(rstr, vres+1, a_format, ap); in _z_add_arg()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c226 size_t vres = 0; in pkgstrPrintf_r() local
238 vres = vsnprintf(a_buf, a_bufLen-1, a_format, ap); in pkgstrPrintf_r()
241 assert(vres > 0); in pkgstrPrintf_r()
242 assert(vres < a_bufLen); in pkgstrPrintf_r()
269 size_t vres = 0; in pkgstrPrintf() local
281 vres = vsnprintf(bfr, 1, a_format, ap); in pkgstrPrintf()
284 assert(vres > 0); in pkgstrPrintf()
285 assert(vres < LINE_MAX); in pkgstrPrintf()
289 rstr = (char *)calloc(1, vres+2); in pkgstrPrintf()
298 vres = vsnprintf(rstr, vres+1, a_format, ap); in pkgstrPrintf()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlog.c84 size_t vres = 0; in log_msg() local
134 vres = vsnprintf(bfr, 1, a_format, ap); in log_msg()
139 rstr = (char *)malloc(vres+2); in log_msg()
144 vres = vsnprintf(rstr, vres+1, a_format, ap); in log_msg()
H A Dsml.c1157 size_t vres = 0; in smlDbgPrintTag() local
1174 vres = vsnprintf(bfr, 1, a_format, ap); in smlDbgPrintTag()
1177 assert(vres > 0); in smlDbgPrintTag()
1181 rstr = (char *)calloc(1, vres+2); in smlDbgPrintTag()
1187 vres = vsnprintf(rstr, vres+1, a_format, ap); in smlDbgPrintTag()
1190 assert(vres > 0); in smlDbgPrintTag()
1324 size_t vres = 0; in smlSetParamF() local
1339 vres = vsnprintf(fbfr, 1, format, ap); in smlSetParamF()
1342 assert(vres > 0); in smlSetParamF()
1346 bfr = (char *)calloc(1, vres+2); in smlSetParamF()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3146 size_t vres = 0; in testPath() local
3159 vres = vsnprintf(bfr, 1, a_format, ap); in testPath()
3162 assert(vres > 0); in testPath()
3166 mbPath = (char *)calloc(1, vres+2); in testPath()
3172 vres = vsnprintf(mbPath, vres+1, a_format, ap); in testPath()
3175 assert(vres > 0); in testPath()
3741 size_t vres = 0; in usage() local
3753 vres = vsnprintf(bfr, 1, a_format, ap); in usage()
3756 assert(vres > 0); in usage()
3760 message = (char *)calloc(1, vres+2); in usage()
[all …]
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c251 ggp_callback(const char *prof, kva_t *attr, void *ctxt, void *vres) in ggp_callback() argument
253 priv_set_t *res = vres; in ggp_callback()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.c193 int idx = e->idx + sc->vres.l2t.start; in write_l2e()
229 l2t_size = sc->vres.l2t.size; in t4_init_l2t()
H A Dt4_nexus.c1665 sc->vres.l2t.start = val[4]; in get_params__post_init()
1666 sc->vres.l2t.size = val[5] - val[4] + 1; in get_params__post_init()
1711 sc->vres.ddp.start = val[3]; in get_params__post_init()
1712 sc->vres.ddp.size = val[4] - val[3] + 1; in get_params__post_init()
H A Dadapter.h544 struct t4_virt_res vres; member
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_query.c544 int vres = 0; in dwarf_attrlist() local
546 vres = _dwarf_get_size_of_val(dbg, in dwarf_attrlist()
555 if(vres!= DW_DLV_OK) { in dwarf_attrlist()
558 return vres; in dwarf_attrlist()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c3408 dfc_vport_resource_t *vres; in emlxs_dfc_npiv_resource() local
3428 vres = (dfc_vport_resource_t *)dfc->buf1; in emlxs_dfc_npiv_resource()
3429 bzero(vres, sizeof (dfc_vport_resource_t)); in emlxs_dfc_npiv_resource()
3436 vres->vpi_max = min(hba->sli.sli4.VPICount, MAX_VPORTS) - 1; in emlxs_dfc_npiv_resource()
3439 for (i = 0; i < vres->vpi_max; i++) { in emlxs_dfc_npiv_resource()
3444 vres->vpi_inuse = (port->vpip->vfip == NULL) ? 0 : in emlxs_dfc_npiv_resource()
3446 vres->rpi_max = hba->sli.sli4.RPICount; in emlxs_dfc_npiv_resource()
3447 vres->rpi_inuse = total_rpi; in emlxs_dfc_npiv_resource()
3477 vres->vpi_max = mb->un.varRdConfig.max_vpi; in emlxs_dfc_npiv_resource()
3478 vres->vpi_inuse = in emlxs_dfc_npiv_resource()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c1499 auth_cb(const char *auth, void *ctxt, void *vres) in auth_cb() argument
1502 int *pret = vres; in auth_cb()