You have to install the kernel-source -- it depends on your distribution, search for name `linux-source` or `kernel-source`. When you have installed it, it will be (probably) in directory /usr/src.
For example, I tried with Ubuntu, it was a bit more complicated:
Code:
# apt-get install linux-source
# cd /usr/src
# tar xjf linux-source*/*.bz2
# ls -l linux*/arch/arm64/mm/ioremap.c
-rw-r--r-- 1 root root 2980 Jan 28 2018 linux-source-4.15.0/arch/arm64/mm/ioremap.c
# cat -n linux*/arch/arm64/mm/ioremap.c | less -S
...
41 /*
42 * Page align the mapping address and size, taking account of any
43 * offset.
44 */
45 phys_addr &= PAGE_MASK;
46 size = PAGE_ALIGN(size + offset);
...
Mind you, my source is most likely different to yours (older version), so it doesn't help you.
[/code]