Home
last modified time | relevance | path

Searched refs:rcl (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/fm/libfmd_adm/common/
H A Dfmd_adm.c789 struct fmd_rpc_caselist rcl; in fmd_adm_case_iter() local
797 bzero(&rcl, sizeof (rcl)); /* tell xdr to allocate memory for us */ in fmd_adm_case_iter()
800 cs = fmd_adm_caselist_1(&rcl, ap->adm_clnt); in fmd_adm_case_iter()
806 if (rcl.rcl_err != 0) { in fmd_adm_case_iter()
807 xdr_free(xdr_fmd_rpc_caselist, (char *)&rcl); in fmd_adm_case_iter()
808 return (fmd_adm_set_svcerr(ap, rcl.rcl_err)); in fmd_adm_case_iter()
811 if ((uuids = malloc(sizeof (char *) * rcl.rcl_cnt)) == NULL) { in fmd_adm_case_iter()
812 xdr_free(xdr_fmd_rpc_caselist, (char *)&rcl); in fmd_adm_case_iter()
816 p = rcl.rcl_buf.rcl_buf_val; in fmd_adm_case_iter()
818 for (i = 0; i < rcl.rcl_cnt; i++, p += strlen(p) + 1) in fmd_adm_case_iter()
[all …]
/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc_adm.c836 struct fmd_rpc_caselist *rcl = arg; in fmd_adm_caselist_case() local
840 if (rcl->rcl_err != 0) in fmd_adm_caselist_case()
861 while (rcl->rcl_len + uuid_len > rcl->rcl_buf.rcl_buf_len) { in fmd_adm_caselist_case()
862 if (rcl->rcl_buf.rcl_buf_len != 0) in fmd_adm_caselist_case()
863 buf_len = rcl->rcl_buf.rcl_buf_len * 2; in fmd_adm_caselist_case()
867 if ((p = realloc(rcl->rcl_buf.rcl_buf_val, buf_len)) != NULL) { in fmd_adm_caselist_case()
868 bzero((char *)p + rcl->rcl_buf.rcl_buf_len, in fmd_adm_caselist_case()
869 buf_len - rcl->rcl_buf.rcl_buf_len); in fmd_adm_caselist_case()
870 rcl->rcl_buf.rcl_buf_val = p; in fmd_adm_caselist_case()
871 rcl->rcl_buf.rcl_buf_len = buf_len; in fmd_adm_caselist_case()
[all …]
/titanic_44/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_filter.c64 etm_prc_t *rcl; /* root complex vector */ in etm_pciexrc_walker() local
87 rcl = fmd_hdl_zalloc(hdl, n * sizeof (etm_prc_t), FMD_SLEEP); in etm_pciexrc_walker()
88 for (i = 0, p = rcl; i < n; i++, p++) { in etm_pciexrc_walker()
93 bcopy(etm_rcs, rcl, etm_rc_max * sizeof (etm_prc_t)); in etm_pciexrc_walker()
97 etm_rcs = rcl; in etm_pciexrc_walker()