Home
last modified time | relevance | path

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

/system/bpf/libbpf_android/
DLoader.cpp429 string mapPinLoc; in createMaps() local
432 mapPinLoc = string(BPF_FS_PATH) + "map_" + fname + "_" + string(mapNames[i]); in createMaps()
433 if (access(mapPinLoc.c_str(), F_OK) == 0) { in createMaps()
434 fd.reset(bpf_obj_get(mapPinLoc.c_str())); in createMaps()
447 ret = bpf_obj_pin(fd, mapPinLoc.c_str()); in createMaps()
449 ret = chown(mapPinLoc.c_str(), (uid_t)md[i].uid, (gid_t)md[i].gid); in createMaps()
451 ret = chmod(mapPinLoc.c_str(), md[i].mode); in createMaps()