Home
last modified time | relevance | path

Searched full:sorted (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/Linux-v5.10/tools/perf/util/
Drb_resort.h15 * fields to be present in each of the entries in the new, sorted, rb_tree.
19 * the rb_tree used as a source for the entries to be sorted:
76 static void __name##_sorted__insert(struct __name##_sorted *sorted, \
79 struct rb_node **p = &sorted->entries.rb_node, *parent = NULL; \
88 rb_insert_color(sorted_nd, &sorted->entries); \
91 static void __name##_sorted__sort(struct __name##_sorted *sorted, \
97 struct __name##_sorted_entry *snd = &sorted->nd[i++]; \
99 __name##_sorted__insert(sorted, &snd->rb_node); \
106 struct __name##_sorted *sorted; \
107 sorted = malloc(sizeof(*sorted) + sizeof(sorted->nd[0]) * nr_entries); \
[all …]
/Linux-v5.10/include/linux/
Dutil_macros.h19 * find_closest - locate the closest element in a sorted array
21 * @a: The array in which to look for the closest element. Must be sorted
30 * find_closest_descending - locate the closest element in a sorted array
32 * @a: The array in which to look for the closest element. Must be sorted
36 * Similar to find_closest() but 'a' is expected to be sorted in descending
/Linux-v5.10/drivers/md/bcache/
Ddebug.c34 struct bset *ondisk, *sorted, *inmemory; in bch_btree_verify() local
44 sorted = b->c->verify_data->keys.set->data; in bch_btree_verify()
57 bch_bio_map(bio, sorted); in bch_btree_verify()
62 memcpy(ondisk, sorted, KEY_SIZE(&v->key) << 9); in bch_btree_verify()
65 sorted = v->keys.set->data; in bch_btree_verify()
67 if (inmemory->keys != sorted->keys || in bch_btree_verify()
69 sorted->start, in bch_btree_verify()
81 bch_dump_bset(&v->keys, sorted, 0); in bch_btree_verify()
95 if (inmemory->d[j] != sorted->d[j]) in bch_btree_verify()
/Linux-v5.10/tools/lib/traceevent/Documentation/
Dlibtraceevent-event_list.txt7 Get list of events, sorted by given criteria.
28 sorted by the _sort_type_ criteria. The last element of the array is NULL.
68 /* Failed to get the events, sorted by ID */
71 /* walk through the list of the events, sorted by ID */
79 /* Failed to get the events, sorted by name */
82 /* walk through the list of the events, sorted by name */
/Linux-v5.10/kernel/kcsan/
Ddebugfs.c42 bool sorted; /* if elements are sorted */ member
48 .sorted = false,
113 if (!report_filterlist.sorted) { in kcsan_skip_report_debugfs()
116 report_filterlist.sorted = true; in kcsan_skip_report_debugfs()
181 report_filterlist.sorted = false; in insert_report_filterlist()
/Linux-v5.10/net/ceph/
Dstriper.c48 * Return the last extent with given objno (@object_extents is sorted
93 * Map a file extent to a sorted list of object extents.
104 * To keep @object_extents sorted, successive calls to this function
106 * are mapped using the same @object_extents must be sorted).
160 WARN(1, "%s: object_extents list not sorted!\n", in ceph_file_to_extents()
205 * Reverse map an object extent to a sorted list of file extents.
/Linux-v5.10/tools/vm/
Dslabinfo-gnuplot.sh14 # and generate graphs (totals, slabs sorted by size, slabs sorted
152 `cat "$in" | grep -A "$lines" 'Slabs sorted by loss' |\
161 `cat "$in" | grep -A "$lines" 'Slabs sorted by size' |\
/Linux-v5.10/lib/
Dextable.c47 * The exception table needs to be sorted so that the binary
73 * If the exception table is sorted, any referring to the module init
113 * already sorted.
Dlist_sort.c87 * already sorted), this loop may run many iterations. in merge_final()
205 * - pending is a prev-linked "list of lists" of sorted in list_sort()
207 * - Each of the sorted sublists is power-of-two in size. in list_sort()
208 * - Sublists are sorted by size and age, smallest & newest at front. in list_sort()
/Linux-v5.10/Documentation/devicetree/bindings/spi/
Dspi-sprd.txt11 - clocks: List of clock input name strings sorted in the same order
20 sorted in the same order as the dma-names property.
/Linux-v5.10/arch/sh/kernel/
Dunwinder.c43 * "unwinder_list" is a linked-list of all available unwinders, sorted
81 * Enqueue the stack unwinder sorted by rating.
106 * Install the new stack unwinder on the unwinder list, which is sorted
/Linux-v5.10/drivers/staging/comedi/drivers/ni_routing/tools/
Dconvert_py_to_csv.py24 fieldnames = [value_to_name[i] for i in sorted(D.keys())]
32 S = sorted(S.items(), key = lambda src_destD : src_destD[0])
/Linux-v5.10/scripts/
Dcheckkconfigsymbols.py160 for symbol in sorted(undefined_b):
163 files = sorted(undefined_b.get(symbol))
167 files = sorted(undefined_b.get(symbol) -
180 for symbol in sorted(undefined):
183 files = sorted(undefined.get(symbol))
360 for symbol in sorted(referenced_symbols):
Ddiffconfig18 distracting information. This utility produces sorted output with only the
128 new = sorted(b.keys())
/Linux-v5.10/Documentation/kbuild/
Dkconfig.rst190 When searching, symbols are sorted thus:
192 - first, exact matches, sorted alphabetically (an exact match
194 - then, other matches, sorted alphabetically.
201 of which only ATH5K and ATH9K match exactly and so are sorted
203 sorted in alphabetical order.
/Linux-v5.10/net/mac80211/
Drc80211_minstrel_ht.h46 /* sorted rate set within a MCS group*/
70 /* overall sorted rate set */
/Linux-v5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py35 for idx in sorted(flag_fields[event_name][field_name]['values']):
52 for idx in sorted(symbolic_fields[event_name][field_name]['values']):
/Linux-v5.10/drivers/acpi/acpica/
Dnsrepair2.c107 * Names that must be packages, but cannot be sorted:
110 * be moved or sorted. These index values are used for _BQC and _BCM.
462 * Entries (subpackages) in the _CST Package must be sorted by the in acpi_ns_repair_CST()
655 * Entries (subpackages) in the _PSS Package must be sorted by power in acpi_ns_repair_PSS()
657 * incorrectly sorted, sort it. We sort by cpu_frequency, since this in acpi_ns_repair_PSS()
668 * We now know the list is correctly sorted by CPU frequency. Check if in acpi_ns_repair_PSS()
750 * RETURN: Status. AE_OK if the list is valid and is sorted correctly or
753 * DESCRIPTION: Check if the package list is valid and sorted correctly by the
823 * The list must be sorted in the specified order. If we detect a in acpi_ns_check_sorted_list()
838 "%s: Repaired unsorted list - now sorted by %s\n", in acpi_ns_check_sorted_list()
/Linux-v5.10/tools/perf/scripts/python/
Dmem-phys-addr.py49 for mem_type, count in sorted(load_mem_type_cnt.most_common(), \
63 #/proc/iomem is sorted
Dstackcollapse.py10 # The file is sorted according to the first field.
125 list = sorted(lines)
/Linux-v5.10/arch/x86/include/asm/
Dintel-family.h9 * group to keep logically sorted out in chronological order. Within
10 * that group keep the CPUID for the variants sorted by model number.
/Linux-v5.10/fs/jfs/
Djfs_dtree.h143 s8 stbl[8]; /* 8: sorted entry index table */
162 * sorted entry slot index table (stbl):
220 /* get sorted entry table of the page */
/Linux-v5.10/Documentation/devicetree/bindings/remoteproc/
Dqcom,hexagon-v56.txt38 Definition: List of clock input name strings sorted in the same
47 Definition: List of clock input name strings sorted in the same
/Linux-v5.10/Documentation/devicetree/bindings/display/msm/
Ddpu.txt39 - assigned-clock-rates: list of clock frequencies sorted in the same order as
71 - assigned-clock-rates: list of clock frequencies sorted in the same order as
/Linux-v5.10/tools/hv/
Dlsvmbus71 chn_vp_mapping = sorted(
91 vmbus_dev_list = sorted(vmbus_dev_list, key=lambda d: int(d.vmbus_id))

12345678910>>...22