Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/locking/
Drwsem.c236 static inline bool rwsem_read_trylock(struct rw_semaphore *sem, long *cntp) in rwsem_read_trylock() argument
238 *cntp = atomic_long_add_return_acquire(RWSEM_READER_BIAS, &sem->count); in rwsem_read_trylock()
240 if (WARN_ON_ONCE(*cntp < 0)) in rwsem_read_trylock()
243 if (!(*cntp & RWSEM_READ_FAILED_MASK)) { in rwsem_read_trylock()
/Linux-v5.15/drivers/infiniband/hw/qib/
Dqib_diag.c235 u32 *cntp) in qib_remap_ioaddr32() argument
321 if (cntp) in qib_remap_ioaddr32()
322 *cntp = cnt; in qib_remap_ioaddr32()
/Linux-v5.15/tools/perf/util/
Dheader.c1159 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches() argument
1190 *cntp = cnt; in build_caches()
1324 static int build_mem_topology(struct memory_node *nodes, u64 size, u64 *cntp) in build_mem_topology() argument
1363 *cntp = cnt; in build_mem_topology()