Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c3141 size_t vres = 0; in testPath() local
3154 vres = vsnprintf(bfr, 1, a_format, ap); in testPath()
3157 assert(vres > 0); in testPath()
3161 mbPath = (char *)calloc(1, vres+2); in testPath()
3167 vres = vsnprintf(mbPath, vres+1, a_format, ap); in testPath()
3170 assert(vres > 0); in testPath()
3735 size_t vres = 0; in usage() local
3747 vres = vsnprintf(bfr, 1, a_format, ap); in usage()
3750 assert(vres > 0); in usage()
3754 message = (char *)calloc(1, vres+2); in usage()
[all …]
/titanic_41/usr/src/cmd/pfexecd/
H A Dpfexecd.c250 ggp_callback(const char *prof, kva_t *attr, void *ctxt, void *vres) in ggp_callback() argument
252 priv_set_t *res = vres; in ggp_callback()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h474 struct t4_virt_res vres; member
H A Dt4_nexus.c1350 sc->vres.ddp.start = val[3]; in get_params__post_init()
1351 sc->vres.ddp.size = val[4] - val[3] + 1; in get_params__post_init()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c3357 dfc_vport_resource_t *vres; in emlxs_dfc_npiv_resource() local
3377 vres = (dfc_vport_resource_t *)dfc->buf1; in emlxs_dfc_npiv_resource()
3378 bzero(vres, sizeof (dfc_vport_resource_t)); in emlxs_dfc_npiv_resource()
3385 vres->vpi_max = min(hba->sli.sli4.VPICount, MAX_VPORTS) - 1; in emlxs_dfc_npiv_resource()
3388 for (i = 0; i < vres->vpi_max; i++) { in emlxs_dfc_npiv_resource()
3393 vres->vpi_inuse = (port->vpip->vfip == NULL) ? 0 : in emlxs_dfc_npiv_resource()
3395 vres->rpi_max = hba->sli.sli4.RPICount; in emlxs_dfc_npiv_resource()
3396 vres->rpi_inuse = total_rpi; in emlxs_dfc_npiv_resource()
3426 vres->vpi_max = mb->un.varRdConfig.max_vpi; in emlxs_dfc_npiv_resource()
3427 vres->vpi_inuse = in emlxs_dfc_npiv_resource()
[all …]
/titanic_41/usr/src/cmd/svc/configd/
H A Drc_node.c1509 auth_cb(const char *auth, void *ctxt, void *vres) in auth_cb() argument
1512 int *pret = vres; in auth_cb()