Searched refs:percpu (Results 1 – 10 of 10) sorted by relevance
/kernel/bpf/ |
D | bpf_lru_list.c | 501 if (lru->percpu) in bpf_lru_pop_free() 558 if (lru->percpu) in bpf_lru_push_free() 616 if (lru->percpu) in bpf_lru_populate() 651 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, in bpf_lru_init() argument 656 if (percpu) { in bpf_lru_init() 686 lru->percpu = percpu; in bpf_lru_init() 696 if (lru->percpu) in bpf_lru_destroy()
|
D | bpf_lru_list.h | 62 bool percpu; member 71 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
|
D | memalloc.c | 357 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu) in bpf_mem_alloc_init() argument 370 if (percpu) in bpf_mem_alloc_init() 392 if (WARN_ON_ONCE(percpu)) in bpf_mem_alloc_init()
|
D | arraymap.c | 54 bool percpu = attr->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in array_map_alloc_check() local 62 (percpu && numa_node != NUMA_NO_NODE)) in array_map_alloc_check() 82 bool percpu = attr->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in array_map_alloc() local 113 if (percpu) { in array_map_alloc() 149 if (percpu && bpf_array_alloc_percpu(array)) { in array_map_alloc()
|
D | hashtab.c | 403 bool percpu = (attr->map_type == BPF_MAP_TYPE_PERCPU_HASH || in htab_map_alloc_check() local 440 if (numa_node != NUMA_NO_NODE && (percpu || percpu_lru)) in htab_map_alloc_check() 464 bool percpu = (attr->map_type == BPF_MAP_TYPE_PERCPU_HASH || in htab_map_alloc() local 503 if (percpu) in htab_map_alloc() 565 if (!percpu && !lru) { in htab_map_alloc() 577 if (percpu) { in htab_map_alloc() 976 bool percpu, bool onallcpus, in alloc_htab_elem() argument 1019 if (percpu) { in alloc_htab_elem()
|
D | verifier.c | 12836 bool percpu = false; in check_pseudo_btf_id() local 12886 percpu = true; in check_pseudo_btf_id() 12897 if (percpu) { in check_pseudo_btf_id()
|
/kernel/sched/ |
D | cpuacct.c | 213 u64 percpu; in __cpuacct_percpu_seq_show() local 217 percpu = cpuacct_cpuusage_read(ca, i, index); in __cpuacct_percpu_seq_show() 218 seq_printf(m, "%llu ", (unsigned long long) percpu); in __cpuacct_percpu_seq_show()
|
/kernel/locking/ |
D | spinlock_rt.c | 134 struct lock_class_key *key, bool percpu) in __rt_spin_lock_init() argument 136 u8 type = percpu ? LD_LOCK_PERCPU : LD_LOCK_NORMAL; in __rt_spin_lock_init()
|
D | Makefile | 6 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
|
/kernel/module/ |
D | main.c | 371 return mod->percpu; in mod_percpu() 388 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align); in percpu_modalloc() 389 if (!mod->percpu) { in percpu_modalloc() 400 free_percpu(mod->percpu); in percpu_modfree() 414 memcpy(per_cpu_ptr(mod->percpu, cpu), from, size); in percpu_modcopy() 430 void *start = per_cpu_ptr(mod->percpu, cpu); in __is_module_percpu_address() 437 per_cpu_ptr(mod->percpu, in __is_module_percpu_address()
|