• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/lib/libmemstat/

Lines Matching defs:list

11  *    notice, this list of conditions and the following disclaimer.
13 * notice, this list of conditions and the following disclaimer in the
66 * type information in the passed list. For each type, check the list for an
68 * entry. Otherwise, add a new entry. On error, the entire list will be
71 * To reduce the level of work for a list that starts empty, we keep around a
73 * the list for entries to update. Updates are O(n^2) due to searching for
77 memstat_sysctl_uma(struct memory_type_list *list, int flags)
87 hint_dontsearch = LIST_EMPTY(&list->mtl_list);
100 list->mtl_error = MEMSTAT_ERROR_PERMISSION;
102 list->mtl_error = MEMSTAT_ERROR_DATAERROR;
106 list->mtl_error = MEMSTAT_ERROR_DATAERROR;
113 list->mtl_error = MEMSTAT_ERROR_PERMISSION;
115 list->mtl_error = MEMSTAT_ERROR_VERSION;
119 list->mtl_error = MEMSTAT_ERROR_DATAERROR;
128 list->mtl_error = MEMSTAT_ERROR_NOMEMORY;
142 list->mtl_error = MEMSTAT_ERROR_PERMISSION;
144 list->mtl_error = MEMSTAT_ERROR_VERSION;
155 list->mtl_error = MEMSTAT_ERROR_VERSION;
164 list->mtl_error = MEMSTAT_ERROR_VERSION;
181 mtp = memstat_mtl_find(list, ALLOCATOR_UMA,
186 mtp = _memstat_mt_allocate(list, ALLOCATOR_UMA,
189 _memstat_mtl_empty(list);
191 list->mtl_error = MEMSTAT_ERROR_NOMEMORY;
309 memstat_kvm_uma(struct memory_type_list *list, void *kvm_handle)
327 hint_dontsearch = LIST_EMPTY(&list->mtl_list);
329 list->mtl_error = MEMSTAT_ERROR_KVM;
334 list->mtl_error = MEMSTAT_ERROR_KVM_NOSYMBOL;
339 list->mtl_error = ret;
345 list->mtl_error = ret;
350 list->mtl_error = ret;
355 list->mtl_error = MEMSTAT_ERROR_KVM_NOSYMBOL;
361 list->mtl_error = ret;
366 list->mtl_error = MEMSTAT_ERROR_NOMEMORY;
374 _memstat_mtl_empty(list);
375 list->mtl_error = ret;
383 _memstat_mtl_empty(list);
384 list->mtl_error = ret;
392 _memstat_mtl_empty(list);
393 list->mtl_error = ret;
400 _memstat_mtl_empty(list);
401 list->mtl_error = ret;
405 mtp = memstat_mtl_find(list, ALLOCATOR_UMA,
410 mtp = _memstat_mt_allocate(list, ALLOCATOR_UMA,
414 _memstat_mtl_empty(list);
415 list->mtl_error = MEMSTAT_ERROR_NOMEMORY;