* Create a new empty module_info entry and add it to the tail of the list. */
| 187 | * Create a new empty module_info entry and add it to the tail of the list. |
| 188 | */ |
| 189 | static struct module_info * |
| 190 | create_module_info(void) |
| 191 | { |
| 192 | struct module_info *info; |
| 193 | |
| 194 | info = malloc(sizeof(*info), M_CACHE, M_WAITOK | M_ZERO); |
| 195 | clear_module_info(info); |
| 196 | STAILQ_INSERT_TAIL(&module_list, info, link); |
| 197 | return (info); |
| 198 | } |
| 199 | |
| 200 | /* |
| 201 | * Search for a module_info entry on the list whose address range contains the |
no test coverage detected