Searched refs:nlock (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | stream.c | 52 struct bpf_res_spin_lock *lock, *nlock; in stream_deadlock() local 57 nlock = bpf_map_lookup_elem(&arrmap, &(int){0}); in stream_deadlock() 58 if (!nlock) in stream_deadlock() 62 if (bpf_res_spin_lock(nlock)) { in stream_deadlock() 66 bpf_res_spin_unlock(nlock); in stream_deadlock()
|
/linux/fs/jfs/ |
H A D | jfs_txnmgr.c | 2042 int i, nlock; in mapLog() local 2097 nlock = pxdlock->index; in mapLog() 2098 for (i = 0; i < nlock; i++, pxdlock++) { in mapLog() 2254 int k, nlock; in txUpdateMap() local 2299 nlock = maplock->index; in txUpdateMap() 2301 for (k = 0; k < nlock; k++, maplock++) { in txUpdateMap()
|
/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 315 int nlock = PAGE_SIZE / 1024; in TEST_F() local 318 ASSERT_EQ(nlock, get_vm_pinned(parent)); in TEST_F() 320 ASSERT_EQ(nlock, get_vm_locked(parent)); in TEST_F() 329 ASSERT_EQ(nlock, get_vm_pinned(getpid())); in TEST_F() 331 ASSERT_EQ(nlock, get_vm_locked(getpid())); in TEST_F()
|