Searched refs:alloc_data (Results 1 - 2 of 2) sorted by relevance
/linux-master/drivers/hid/bpf/ |
H A D | hid_bpf_dispatch.c | 197 u8 *alloc_data; local 221 alloc_data = kzalloc(alloc_size, GFP_KERNEL); 222 if (!alloc_data) 225 *data = alloc_data;
|
/linux-master/tools/perf/bench/ |
H A D | numa.c | 423 static u8 *alloc_data(ssize_t bytes0, int map_flags, function 507 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); 515 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); 524 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); 1466 g = (void *)alloc_data(sizeof(*g), MAP_SHARED, 1, 0, 0 /* THP */, 0);
|
Completed in 119 milliseconds