In this paper, one uses the Tsallis entropy in the impact parameter space to study pp andpp inelastic overlap function and the energy density filling up mechanism responsible by the so-called black disk limit as the energy increases. The Tsallis entropy is non-additive and non-extensive and these features are of fundamental importance since the internal constituents of pp andpp are strongly correlated and also the existence of the multifractal character of the total cross-section. The entropy approach presented here takes into account a phase transition occurring inside the hadrons as the energy increases. This phase transition in the impact parameter space is quite similar to the Berezinskii-Kosterlitz-Thouless phase transition, possessing also a topological feature due to the multifractal dimension of the total cross-sections in pp andpp scattering.