Searched refs:fcpu (Results 1 - 2 of 2) sorted by relevance
/third_party/libbpf/src/ |
H A D | libbpf_internal.h | 413 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz);
|
H A D | libbpf.c | 13413 int parse_cpu_mask_file(const char *fcpu, bool **mask, int *mask_sz) argument 13418 fd = open(fcpu, O_RDONLY | O_CLOEXEC); 13421 pr_warn("Failed to open cpu mask file %s: %d\n", fcpu, err); 13428 pr_warn("Failed to read cpu mask from %s: %d\n", fcpu, err); 13432 pr_warn("CPU mask is too big in file %s\n", fcpu); 13442 static const char *fcpu = "/sys/devices/system/cpu/possible"; local 13451 err = parse_cpu_mask_file(fcpu, &mask, &n);
|
Completed in 19 milliseconds