Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Dcomm.c17 static struct comm_strs { struct
101 struct comm_strs *comm_strs = comm_strs__get(); in comm_strs__remove_if_last() local
111 entry = bsearch(comm_str__str(cs), comm_strs->strs, comm_strs->num_strs, in comm_strs__remove_if_last()
114 for (int i = entry - comm_strs->strs; i < comm_strs->num_strs - 1; i++) in comm_strs__remove_if_last()
115 comm_strs->strs[i] = comm_strs->strs[i + 1]; in comm_strs__remove_if_last()
116 comm_strs->num_strs--; in comm_strs__remove_if_last()
136 struct comm_strs *comm_strs = comm_strs__get(); in comm_strs__findnew() local
139 if (!comm_strs) in comm_strs__findnew()
151 if (comm_strs->num_strs == comm_strs->capacity) { in comm_strs__findnew()
161 comm_strs->strs = tmp; in comm_strs__findnew()
[all …]