Searched refs:cntp (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A D | trace_helpers.h | 64 int bpf_get_addrs(unsigned long **addrsp, size_t *cntp, bool kernel);
|
| H A D | trace_helpers.c | 695 int bpf_get_addrs(unsigned long **addrsp, size_t *cntp, bool kernel) in bpf_get_addrs() argument 748 *cntp = cnt; in bpf_get_addrs()
|
| /linux/kernel/locking/ |
| H A D | rwsem.c | 249 static inline bool rwsem_read_trylock(struct rw_semaphore *sem, long *cntp) in rwsem_read_trylock() argument 251 *cntp = atomic_long_add_return_acquire(RWSEM_READER_BIAS, &sem->count); in rwsem_read_trylock() 253 if (WARN_ON_ONCE(*cntp < 0)) in rwsem_read_trylock() 256 if (!(*cntp & RWSEM_READ_FAILED_MASK)) { in rwsem_read_trylock()
|
| /linux/tools/perf/util/ |
| H A D | header.h | 203 int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp);
|
| H A D | header.c | 1207 int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp) in build_caches_for_cpu() argument 1223 for (i = 0; i < *cntp; i++) { in build_caches_for_cpu() 1228 if (i == *cntp) { in build_caches_for_cpu() 1229 caches[*cntp] = c; in build_caches_for_cpu() 1230 *cntp = *cntp + 1; in build_caches_for_cpu() 1238 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches() argument 1250 *cntp = cnt; in build_caches() 1392 static int build_mem_topology(struct memory_node **nodesp, u64 *cntp) in build_mem_topology() argument 1442 *cntp = cnt; in build_mem_topology()
|