Searched refs:rml (Results 1 – 1 of 1) sorted by relevance
300 struct fmd_rpc_modlist rml; in fmd_adm_module_iter() local305 bzero(&rml, sizeof (rml)); /* tell xdr to allocate memory for us */ in fmd_adm_module_iter()308 cs = fmd_adm_modinfo_1(&rml, ap->adm_clnt); in fmd_adm_module_iter()314 if (rml.rml_err != 0 || rml.rml_len == 0) { in fmd_adm_module_iter()315 xdr_free(xdr_fmd_rpc_modlist, (char *)&rml); in fmd_adm_module_iter()316 return (fmd_adm_set_svcerr(ap, rml.rml_err)); in fmd_adm_module_iter()319 if ((rms = rmp = malloc(sizeof (void *) * rml.rml_len)) == NULL) { in fmd_adm_module_iter()320 xdr_free(xdr_fmd_rpc_modlist, (char *)&rml); in fmd_adm_module_iter()324 for (rmi = rml.rml_list; rmi != NULL; rmi = rmi->rmi_next) in fmd_adm_module_iter()327 qsort(rms, rml.rml_len, sizeof (void *), fmd_adm_module_cmp); in fmd_adm_module_iter()[all …]