Searched refs:xmalloc (Results 1 – 13 of 13) sorted by relevance
120 results = xmalloc(links_n * sizeof(*results)); in main()121 results_n = xmalloc(links_n * sizeof(*results_n)); in main()122 checks_status_ports = xmalloc(links_n * sizeof(*checks_status_ports)); in main()131 results[i] = xmalloc(sizeof(*results[i])); in main()
46 struct bus *bus = xmalloc(sizeof(struct bus)); in new_bus()125 b = xmalloc(sizeof(struct bridge)); in grow_tree()150 b = xmalloc(sizeof(struct bridge)); in grow_tree()185 b = xmalloc(sizeof(struct bridge)); in grow_tree()
31 xmalloc(size_t howmuch) in xmalloc() function52 char *copy = xmalloc(len); in xstrdup()
72 struct pci_dev **devs = xmalloc(sizeof(struct device *) * 2); in select_devices()90 devs = xmalloc(sizeof(struct device *) * cnt); in select_devices()693 op = xmalloc(sizeof(struct op) + n*sizeof(struct value)); in parse_op()781 struct group *g = xmalloc(sizeof(*g)); in new_group()
33 struct bus_bridge *b = xmalloc(sizeof(struct bus_bridge)); in map_bridge()173 bus_info = xmalloc(sizeof(struct bus_info) * 256); in map_the_bus()
40 void *xmalloc(size_t howmuch);
25 #define alloca xmalloc
127 d = xmalloc(sizeof(struct device)); in scan_device()132 d->config = xmalloc(64); in scan_device()133 d->present = xmalloc(64); in scan_device()
159 e = xmalloc(sizeof(*e) + strlen(line)); in show_kernel_init()
1339 * lspci.c: If alloca() is not available, use xmalloc(), not malloc().
206 struct margin_com_args *com_args = xmalloc(sizeof(*com_args)); in margin_parse_util_args()262 links = xmalloc(ports_n * sizeof(*links)); in margin_parse_util_args()
365 results->lanes = xmalloc(sizeof(struct margin_res_lane) * lanes_n); in margin_test_receiver()543 struct margin_results *results = xmalloc(sizeof(*results) * receivers_n); in margin_test_link()
234 char *path = xmalloc(pathlen); in margin_results_save_csv()