Lines Matching refs:statusFromErrno
68 using netdutils::statusFromErrno;
209 return statusFromErrno(ret, "cgroup program get failed"); in attachProgramToCgroup()
214 return statusFromErrno(ret, "program attach failed"); in attachProgramToCgroup()
225 return statusFromErrno(ret, "Failed to find cgroup v2 root"); in initPrograms()
232 return statusFromErrno(ret, "Open the cgroup directory failed"); in initPrograms()
530 return statusFromErrno(EINVAL, ""); in updateOwnerMapEntry()
560 return statusFromErrno(ENOENT, StringPrintf("uid: %u does not exist in map", uid)); in removeRule()
569 return statusFromErrno(EINVAL, "Interface match must have nonzero interface index"); in addRule()
571 return statusFromErrno(EINVAL, "Non-interface match must have zero interface index"); in addRule()
596 return statusFromErrno( in updateUidOwnerMap()
604 return statusFromErrno(errno, "invalid uid string:" + appStrUid); in updateUidOwnerMap()
613 return statusFromErrno(EINVAL, StringPrintf("invalid IptOp: %d, %d", op, match)); in updateUidOwnerMap()
676 return statusFromErrno(EOPNOTSUPP, "eBPF not supported"); in addUidInterfaceRules()
679 return statusFromErrno(EINVAL, "Interface rule must specify interface"); in addUidInterfaceRules()
695 return statusFromErrno(EOPNOTSUPP, "eBPF not supported"); in removeUidInterfaceRules()
772 return statusFromErrno(EOPNOTSUPP, "This device doesn't have eBPF support"); in swapActiveStatsMap()
805 return statusFromErrno(-ret, "map swap synchronize_rcu() failed"); in swapActiveStatsMap()