Home
last modified time | relevance | path

Searched refs:mapRetrieveExclusiveRW (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/netd/
DBpfHandler.cpp252 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()
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/
Dcom_android_net_module_util_BpfMap.cpp50 fd = bpf::mapRetrieveExclusiveRW(pathname.c_str()); in com_android_net_module_util_BpfMap_nativeBpfFdGet()
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
DBpfRingbuf.h154 mRingFd.reset(mapRetrieveExclusiveRW(path)); in Init()
/packages/modules/Connectivity/staticlibs/native/bpf_syscall_wrappers/include/
DBpfSyscallWrappers.h173 inline int mapRetrieveExclusiveRW(const char* pathname) { in mapRetrieveExclusiveRW() function