Lines Matching refs:hd
1661 static struct perf_hpp_fmt *__hpp_dimension__alloc_hpp(struct hpp_dimension *hd, in __hpp_dimension__alloc_hpp() argument
1666 fmt = memdup(hd->fmt, sizeof(*fmt)); in __hpp_dimension__alloc_hpp()
2262 static int __hpp_dimension__add(struct hpp_dimension *hd, in __hpp_dimension__add() argument
2268 if (hd->taken) in __hpp_dimension__add()
2271 fmt = __hpp_dimension__alloc_hpp(hd, level); in __hpp_dimension__add()
2275 hd->taken = 1; in __hpp_dimension__add()
2294 struct hpp_dimension *hd) in __hpp_dimension__add_output() argument
2298 if (hd->taken) in __hpp_dimension__add_output()
2301 fmt = __hpp_dimension__alloc_hpp(hd, 0); in __hpp_dimension__add_output()
2305 hd->taken = 1; in __hpp_dimension__add_output()
2363 struct hpp_dimension *hd = &hpp_sort_dimensions[i]; in sort_dimension__add() local
2365 if (strncasecmp(tok, hd->name, strlen(tok))) in sort_dimension__add()
2368 return __hpp_dimension__add(hd, list, level); in sort_dimension__add()
2707 struct hpp_dimension *hd = &hpp_sort_dimensions[i]; in output_field_add() local
2709 if (strncasecmp(tok, hd->name, strlen(tok))) in output_field_add()
2712 return __hpp_dimension__add_output(list, hd); in output_field_add()