Searched refs:MAX_STRUCTS (Results 1 – 4 of 4) sorted by relevance
26 #define MAX_STRUCTS 20 //no of units maintained macro154 extern MEMUNION *free_structs[MAX_STRUCTS];156 extern inT32 structs_in_use[MAX_STRUCTS];158 extern inT32 blocks_in_use[MAX_STRUCTS];160 extern MEMUNION *struct_blocks[MAX_STRUCTS];161 extern inT32 owner_counts[MAX_STRUCTS][MAX_CLASSES];
97 if (count <= MAX_STRUCTS * sizeof (MEMUNION)) { in alloc_string()139 else if (*string <= MAX_STRUCTS * sizeof (MEMUNION)) { in free_string()188 if (struct_count < MAX_STRUCTS) { in alloc_struct()282 if (struct_count < MAX_STRUCTS) { in free_struct()
56 EXTERN MEMUNION *free_structs[MAX_STRUCTS];58 EXTERN inT32 structs_in_use[MAX_STRUCTS];60 EXTERN inT32 blocks_in_use[MAX_STRUCTS];62 EXTERN MEMUNION *struct_blocks[MAX_STRUCTS];63 EXTERN const char *owner_names[MAX_STRUCTS][MAX_CLASSES];64 EXTERN inT32 owner_counts[MAX_STRUCTS][MAX_CLASSES];66 EXTERN inT16 name_counts[MAX_STRUCTS];993 if (struct_count < 0 || struct_count >= MAX_STRUCTS) in check_struct()1042 for (index = 1; index <= MAX_STRUCTS; index++) in check_structs()
29 #define MAX_STRUCTS 128 macro32 StructEntry struct_entries[MAX_STRUCTS];