Home
last modified time | relevance | path

Searched refs:procfs_entry (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/alloc_tag/
H A Dallocinfo_ioctl_test.c51 static bool match_entry(const struct allocinfo_tag_data *procfs_entry, in match_entry() argument
56 if (match_bytes && tag_data->counter.bytes != procfs_entry->counter.bytes) { in match_entry()
61 if (match_calls && tag_data->counter.calls != procfs_entry->counter.calls) { in match_entry()
66 if (match_lineno && tag_data->tag.lineno != procfs_entry->tag.lineno) { in match_entry()
72 strncmp(tag_data->tag.function, procfs_entry->tag.function, ALLOCINFO_STR_SIZE)) { in match_entry()
78 strncmp(tag_data->tag.filename, procfs_entry->tag.filename, ALLOCINFO_STR_SIZE)) { in match_entry()
129 struct allocinfo_tag_data procfs_entry; in get_filtered_procfs_entries() local
140 memset(&procfs_entry, 0, sizeof(procfs_entry)); in get_filtered_procfs_entries()
142 &procfs_entry.counter.bytes, in get_filtered_procfs_entries()
143 &procfs_entry.counter.calls, in get_filtered_procfs_entries()
[all …]