Searched refs:pre_slack (Results 1 – 1 of 1) sorted by relevance
84 size_t pre_slack = reinterpret_cast<uintptr_t>(base) & (align - 1); in TrimMapping() local85 if (pre_slack) in TrimMapping()86 pre_slack = align - pre_slack; in TrimMapping()87 size_t post_slack = base_length - pre_slack - trim_length; in TrimMapping()88 DCHECK(base_length >= trim_length || pre_slack || post_slack); in TrimMapping()89 DCHECK(pre_slack < base_length); in TrimMapping()95 if (pre_slack) { in TrimMapping()96 int res = munmap(base, pre_slack); in TrimMapping()98 ret = reinterpret_cast<char*>(base) + pre_slack; in TrimMapping()105 if (pre_slack || post_slack) { in TrimMapping()[all …]