rmclomv_cache_section_t
static int validate_section_entry(rmclomv_cache_section_t *section,
static int add_names_to_section(rmclomv_cache_section_t *section);
static void free_section(rmclomv_cache_section_t *section);
static void add_section(rmclomv_cache_section_t **head,
rmclomv_cache_section_t *section);
validate_section_entry(rmclomv_cache_section_t *section, int index)
add_names_to_section(rmclomv_cache_section_t *section)
make_psu_subsections(rmclomv_cache_section_t *psu_section,
rmclomv_cache_section_t **chain_head, dp_get_psu_status_r_t *psu_resp)
rmclomv_cache_section_t *subsection;
rmclomv_cache_section_t *my_chain = NULL;
rmclomv_cache_section_t *derived_chain = NULL;
rmclomv_cache_section_t *section;
rmclomv_cache_section_t *psu_section;
rmclomv_cache_section_t *fru_section;
rmclomv_cache_section_t *section;
rmclomv_cache_section_t *section;
rmclomv_cache_section_t *sub_section =
static rmclomv_cache_section_t *rmclomv_cache; /* main handle-names */
static rmclomv_cache_section_t *rmclomv_subcache; /* derived names */
rmclomv_cache_section_t *section;
rmclomv_cache_section_t *section;
static rmclomv_cache_section_t *
size_t len = offsetof(rmclomv_cache_section_t, entry[0]) +
rmclomv_cache_section_t *ptr = kmem_zalloc(len, KM_SLEEP);
free_section(rmclomv_cache_section_t *section)
add_section(rmclomv_cache_section_t **head, rmclomv_cache_section_t *section)
rmclomv_reset_cache(rmclomv_cache_section_t *new_chain,
rmclomv_cache_section_t *new_subchain, dp_get_sysinfo_r_t *sysinfo)
rmclomv_cache_section_t *first;
rmclomv_cache_section_t *sub_first;
rmclomv_cache_section_t *next;
static rmclomv_cache_section_t *
rmclomv_find_section(rmclomv_cache_section_t *start, uint16_t sensor)
rmclomv_cache_section_t *next = start;
get_sensor_by_name(const rmclomv_cache_section_t *section,
rmclomv_cache_section_t *next;
static void rmclomv_reset_cache(rmclomv_cache_section_t *new_chain,
rmclomv_cache_section_t *new_subchain, dp_get_sysinfo_r_t *sysinfo);
static rmclomv_cache_section_t *rmclomv_find_section(
rmclomv_cache_section_t *start, uint16_t sensor);
static rmclomv_cache_section_t *create_cache_section(int sensor_type, int num);
static int get_sensor_by_name(const rmclomv_cache_section_t *section,