proc: move logic about filling vma structures into a separate function
proc: move logic about filling vma structures into a separate function

parse_smaps() is too big for easy reading. In addition, we are
creating a new interface to get information about processes, which is
called taskdiag, so parse_smaps() will do only what it should do
accoding with the name. All other should be moved in a separate
functions which will be reused to work with task_diag.

Signed-off-by: Andrey Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

efiop/criu,eabatalov/criu,ldu4/criu,LK4D4/criu,eabatalov/criu,marcosnils/criu,wtf42/criu,sdgdsffdsfff/criu,tych0/criu,wtf42/criu,svloyso/criu,fbocharov/criu,sdgdsffdsfff/criu,ldu4/criu,gonkulator/criu,biddyweb/criu,tych0/criu,LK4D4/criu,sdgdsffdsfff/criu,AuthenticEshkinKot/criu,LK4D4/criu,gonkulator/criu,fbocharov/criu,gonkulator/criu,eabatalov/criu,ldu4/criu,rentzsch/criu,gonkulator/criu,biddyweb/criu,gablg1/criu,biddyweb/criu,ldu4/criu,rentzsch/criu,svloyso/criu,LK4D4/criu,marcosnils/criu,gablg1/criu,gablg1/criu,KKoukiou/criu-remote,rentzsch/criu,KKoukiou/criu-remote,svloyso/criu,tych0/criu,biddyweb/criu,marcosnils/criu,marcosnils/criu,efiop/criu,AuthenticEshkinKot/criu,svloyso/criu,marcosnils/criu,efiop/criu,rentzsch/criu,KKoukiou/criu-remote,fbocharov/criu,svloyso/criu,rentzsch/criu,AuthenticEshkinKot/criu,gablg1/criu,eabatalov/criu,marcosnils/criu,KKoukiou/criu-remote,wtf42/criu,efiop/criu,biddyweb/criu,gablg1/criu,tych0/criu,AuthenticEshkinKot/criu,efiop/criu,tych0/criu,ldu4/criu,sdgdsffdsfff/criu,biddyweb/criu,fbocharov/criu,rentzsch/criu,LK4D4/criu,KKoukiou/criu-remote,gonkulator/criu,wtf42/criu,KKoukiou/criu-remote,efiop/criu,wtf42/criu,LK4D4/criu,tych0/criu,sdgdsffdsfff/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,ldu4/criu,fbocharov/criu,AuthenticEshkinKot/criu,svloyso/criu,wtf42/criu,eabatalov/criu,gablg1/criu,gonkulator/criu,eabatalov/criu,fbocharov/criu