Searched refs:nlock (Results 1 – 2 of 2) sorted by relevance
95 struct bpf_res_spin_lock *lock, *nlock; in stream_deadlock() local100 nlock = bpf_map_lookup_elem(&arrmap, &(int){0}); in stream_deadlock()101 if (!nlock) in stream_deadlock()105 if (bpf_res_spin_lock(nlock)) { in stream_deadlock()109 bpf_res_spin_unlock(nlock); in stream_deadlock()
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()