Lines Matching refs:entries
940 void tracing_map_destroy_sort_entries(struct tracing_map_sort_entry **entries, in tracing_map_destroy_sort_entries() argument
946 destroy_sort_entry(entries[i]); in tracing_map_destroy_sort_entries()
948 vfree(entries); in tracing_map_destroy_sort_entries()
1003 const struct tracing_map_sort_entry **entries, in sort_secondary() argument
1023 const struct tracing_map_sort_entry **a = &entries[i]; in sort_secondary()
1024 const struct tracing_map_sort_entry **b = &entries[i + 1]; in sort_secondary()
1039 sort(&entries[start], n_sub, in sort_secondary()
1080 struct tracing_map_sort_entry *sort_entry, **entries; in tracing_map_sort_entries() local
1083 entries = vmalloc(array_size(sizeof(sort_entry), map->max_elts)); in tracing_map_sort_entries()
1084 if (!entries) in tracing_map_sort_entries()
1095 entries[n_entries] = create_sort_entry(entry->val->key, in tracing_map_sort_entries()
1097 if (!entries[n_entries++]) { in tracing_map_sort_entries()
1109 *sort_entries = entries; in tracing_map_sort_entries()
1113 detect_dups(entries, n_entries, map->key_size); in tracing_map_sort_entries()
1122 sort(entries, n_entries, sizeof(struct tracing_map_sort_entry *), in tracing_map_sort_entries()
1127 (const struct tracing_map_sort_entry **)entries, in tracing_map_sort_entries()
1132 *sort_entries = entries; in tracing_map_sort_entries()
1136 tracing_map_destroy_sort_entries(entries, n_entries); in tracing_map_sort_entries()