Home
last modified time | relevance | path

Searched refs:mapPinLocation (Results 1 - 1 of 1) sorted by relevance

/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_loader.cpp533 std::string mapPinLocation = std::string(MAPS_DIR) + "/" + map.name; in CreateMaps() local
534 if (access(mapPinLocation.c_str(), F_OK) == 0) { in CreateMaps()
535 NETNATIVE_LOGI("map: %{public}s has already been pinned", mapPinLocation.c_str()); in CreateMaps()
537 if (SysBpfObjPin(fd, mapPinLocation) < 0) { in CreateMaps()
538 NETNATIVE_LOGE("Failed to pin map: %{public}s, errno = %{public}d", mapPinLocation.c_str(), errno); in CreateMaps()
549 std::string mapPinLocation = std::string(MAPS_DIR) + "/" + map.name; in DeleteMaps()
550 if (access(mapPinLocation.c_str(), F_OK) == 0) { in DeleteMaps()
551 auto ret = UnPin(mapPinLocation); in DeleteMaps()

Completed in 2 milliseconds