Searched refs:cntp (Results 1 – 3 of 3) sorted by relevance
236 static inline bool rwsem_read_trylock(struct rw_semaphore *sem, long *cntp) in rwsem_read_trylock() argument238 *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()
235 u32 *cntp) in qib_remap_ioaddr32() argument321 if (cntp) in qib_remap_ioaddr32()322 *cntp = cnt; in qib_remap_ioaddr32()
1159 static int build_caches(struct cpu_cache_level caches[], u32 *cntp) in build_caches() argument1190 *cntp = cnt; in build_caches()1324 static int build_mem_topology(struct memory_node *nodes, u64 size, u64 *cntp) in build_mem_topology() argument1363 *cntp = cnt; in build_mem_topology()