Searched refs:fw_cfg_max_entry (Results 1 – 1 of 1) sorted by relevance
264 static inline uint32_t fw_cfg_max_entry(const FWCfgState *s) in fw_cfg_max_entry() function275 if ((key & FW_CFG_ENTRY_MASK) >= fw_cfg_max_entry(s)) { in fw_cfg_select()626 assert(key < fw_cfg_max_entry(s)); in fw_cfg_update_mr()707 assert(key < fw_cfg_max_entry(s) && len < UINT32_MAX); in fw_cfg_add_bytes_callback()726 assert(key < fw_cfg_max_entry(s) && len < UINT32_MAX); in fw_cfg_modify_bytes_read()1295 s->entries[0] = g_new0(FWCfgEntry, fw_cfg_max_entry(s)); in fw_cfg_file_slots_allocate()1296 s->entries[1] = g_new0(FWCfgEntry, fw_cfg_max_entry(s)); in fw_cfg_file_slots_allocate()1297 s->entry_order = g_new0(int, fw_cfg_max_entry(s)); in fw_cfg_file_slots_allocate()