Searched refs:pre_slack (Results 1 – 3 of 3) sorted by relevance
76 size_t pre_slack = reinterpret_cast<uintptr_t>(base) & (alignment - 1); in TrimMapping() local77 if (pre_slack) { in TrimMapping()78 pre_slack = alignment - pre_slack; in TrimMapping()80 size_t post_slack = base_length - pre_slack - trim_length; in TrimMapping()81 DCHECK(base_length >= trim_length || pre_slack || post_slack); in TrimMapping()82 DCHECK(pre_slack < base_length); in TrimMapping()85 commit, pre_slack, post_slack); in TrimMapping()
132 size_t pre_slack, in TrimMappingInternal() argument137 if (pre_slack) { in TrimMappingInternal()138 int res = munmap(base, pre_slack); in TrimMappingInternal()140 ret = reinterpret_cast<char*>(base) + pre_slack; in TrimMappingInternal()
55 size_t pre_slack, in TrimMappingInternal() argument58 if (pre_slack || post_slack) { in TrimMappingInternal()61 ret = reinterpret_cast<char*>(base) + pre_slack; in TrimMappingInternal()