Searched refs:cntp (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | kprobe_multi_test.c | 494 get_syms(char *** symsp,size_t * cntp,bool kernel) get_syms() argument 576 get_addrs(unsigned long ** addrsp,size_t * cntp,bool kernel) get_addrs() argument
|
| /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()
|