Searched refs:mMapFd (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/ |
D | BpfMap.h | 63 if (!mMapFd.ok()) abort(); in abortOnMismatch() 65 int flags = bpfGetFdMapFlags(mMapFd); in abortOnMismatch() 69 if (bpfGetFdKeySize(mMapFd) != sizeof(Key)) abort(); in abortOnMismatch() 70 if (bpfGetFdValueSize(mMapFd) != sizeof(Value)) abort(); in abortOnMismatch() 76 mMapFd.reset(mapRetrieveRO(pathname)); 82 if (getFirstMapKey(mMapFd, &firstKey)) { in getFirstKey() 90 if (getNextMapKey(mMapFd, &key, &nextKey)) { in getNextKey() 98 if (findMapEntry(mMapFd, &key, &value)) { in readValue() 106 mMapFd.reset(fd); in init() 107 if (!mMapFd.ok()) { in init() [all …]
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | BpfMap.java | 67 private final ParcelFileDescriptor mMapFd; field in BpfMap 118 mMapFd = cachedBpfFdGet(path, flag, mKeySize, mValueSize); in BpfMap() 138 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), BPF_ANY); in updateEntry() 149 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in insertEntry() 166 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in replaceEntry() 185 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in insertOrReplaceEntry() 192 nativeWriteToMapEntry(mMapFd.getFd(), key.writeToBytes(), value.writeToBytes(), in insertOrReplaceEntry() 210 return nativeDeleteMapEntry(mMapFd.getFd(), key.writeToBytes()); in deleteEntry() 216 if (!nativeGetNextMapKey(mMapFd.getFd(), in getNextKeyInternal() 249 return nativeFindMapEntry(mMapFd.getFd(), key.writeToBytes(), rawValue); in containsKey() [all …]
|