Home
last modified time | relevance | path

Searched refs:cntp (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dkprobe_multi_test.c494 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 Drwsem.c249 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 Dheader.h201 int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp);
H A Dheader.c1191 int build_caches_for_cpu(u32 cpu, struct cpu_cache_level caches[], u32 *cntp) in build_caches_for_cpu() argument
1207 for (i = 0; i < *cntp; i++) { in build_caches_for_cpu()
1212 if (i == *cntp) { in build_caches_for_cpu()
1213 caches[*cntp] = c; in build_caches_for_cpu()
1214 *cntp = *cntp + 1; in build_caches_for_cpu()
1222 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches() argument
1234 *cntp = cnt; in build_caches()
1376 static int build_mem_topology(struct memory_node **nodesp, u64 *cntp) in build_mem_topology() argument
1426 *cntp = cnt; in build_mem_topology()