Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dcomm.c15 static struct comm_strs { struct
99 struct comm_strs *comm_strs = comm_strs__get(); in comm_strs__remove_if_last() local
109 entry = bsearch(comm_str__str(cs), comm_strs->strs, comm_strs->num_strs, in comm_strs__remove_if_last()
112 for (int i = entry - comm_strs->strs; i < comm_strs->num_strs - 1; i++) in comm_strs__remove_if_last()
113 comm_strs->strs[i] = comm_strs->strs[i + 1]; in comm_strs__remove_if_last()
114 comm_strs->num_strs--; in comm_strs__remove_if_last()
134 struct comm_strs *comm_strs = comm_strs__get(); in comm_strs__findnew() local
137 if (!comm_strs) in comm_strs__findnew()
149 if (comm_strs->num_strs == comm_strs->capacity) { in comm_strs__findnew()
159 comm_strs->strs = tmp; in comm_strs__findnew()
[all …]

Completed in 664 milliseconds