Lines Matching defs:update_ctx
152 const sunFmResource_update_ctx_t *update_ctx =
208 if ((update_ctx->uc_type & UCT_ALL) ||
209 update_ctx->uc_index == data->d_index) {
215 return (!(update_ctx->uc_type & UCT_ALL) &&
216 update_ctx->uc_index == data->d_index);
229 rsrcinfo_update(sunFmResource_update_ctx_t *update_ctx)
234 ASSERT(update_ctx != NULL);
235 ASSERT((update_ctx->uc_type & (UCT_ALL|UCT_INDEX)) !=
237 ASSERT((update_ctx->uc_type & ~UCT_FLAGS) == 0);
240 if ((adm = fmd_adm_open(update_ctx->uc_host, update_ctx->uc_prog,
241 update_ctx->uc_version)) == NULL) {
247 if (update_ctx->uc_type == UCT_COUNT) {
248 err = fmd_adm_rsrc_count(adm, update_ctx->uc_all, &rsrc_count);
252 err = fmd_adm_rsrc_iter(adm, update_ctx->uc_all,
253 rsrcinfo_update_one, update_ctx);