Searched refs:nlock (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | stream.c | 93 struct bpf_res_spin_lock *lock, *nlock; 98 nlock = bpf_map_lookup_elem(&arrmap, &(int){0}); 99 if (!nlock) 103 if (bpf_res_spin_lock(nlock)) { 107 bpf_res_spin_unlock(nlock); 52 struct bpf_res_spin_lock *lock, *nlock; stream_deadlock() local
|
| /linux/fs/jfs/ |
| H A D | jfs_txnmgr.c | 2043 int i, nlock; in mapLog() local 2098 nlock = pxdlock->index; in mapLog() 2099 for (i = 0; i < nlock; i++, pxdlock++) { in mapLog() 2255 int k, nlock; in txUpdateMap() local 2300 nlock = maplock->index; in txUpdateMap() 2302 for (k = 0; k < nlock; k++, maplock++) { in txUpdateMap()
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd.c | 312 int nlock = PAGE_SIZE / 1024; in TEST_F() local 315 ASSERT_EQ(nlock, get_vm_pinned(parent)); in TEST_F() 317 ASSERT_EQ(nlock, get_vm_locked(parent)); in TEST_F() 326 ASSERT_EQ(nlock, get_vm_pinned(getpid())); in TEST_F() 328 ASSERT_EQ(nlock, get_vm_locked(getpid())); in TEST_F()
|