Searched refs:mapRetrieveExclusiveRW (Results 1 – 4 of 4) sorted by relevance
252 unique_fd fd0(bpf::mapRetrieveExclusiveRW(m1)); if (!fd0.ok()) abort(); // grabs exclusive lock in mapLockTest()254 unique_fd fd1(bpf::mapRetrieveExclusiveRW(m2)); if (!fd1.ok()) abort(); // no conflict with fd0 in mapLockTest()255 unique_fd fd2(bpf::mapRetrieveExclusiveRW(m2)); if ( fd2.ok()) abort(); // busy due to fd1 in mapLockTest()262 unique_fd fd8(bpf::mapRetrieveExclusiveRW(m2)); if ( fd8.ok()) abort(); // busy due to fd6 in mapLockTest()
50 fd = bpf::mapRetrieveExclusiveRW(pathname.c_str()); in com_android_net_module_util_BpfMap_nativeBpfFdGet()
154 mRingFd.reset(mapRetrieveExclusiveRW(path)); in Init()
173 inline int mapRetrieveExclusiveRW(const char* pathname) { in mapRetrieveExclusiveRW() function