Lines Matching defs:registrations
69 } registrations[] = {
373 for (i = 0; registrations[i].rsrc != NULL; i++) {
374 if (strcmp(rsrcname, registrations[i].rsrc) == 0) {
375 return ((*registrations[i].capacity_change_cb)(nvlist,
402 for (i = 0; registrations[i].rsrc != NULL; i++) {
403 if (rcm_register_capacity(hdl, (char *)registrations[i].rsrc,
408 registrations[i].rsrc);
422 for (i = 0; registrations[i].rsrc != NULL; i++)
424 (char *)registrations[i].rsrc, 0) != RCM_SUCCESS) {
427 "for '%s'\n"), registrations[i].rsrc);