Calculate memory location offset for requested memory Change-Id: I7919523df1790d9eaad5827ee5bd98e4263a7554