Lines Matching refs:m
78 struct kcore_list *m; in get_kcore_size() local
83 for (m=kclist; m; m=m->next) { in get_kcore_size()
84 try = kc_vaddr_to_offset((size_t)m->addr + m->size); in get_kcore_size()
155 struct kcore_list *m; in elf_kcore_store_hdr() local
195 for (m=kclist; m; m=m->next) { in elf_kcore_store_hdr()
202 phdr->p_offset = kc_vaddr_to_offset(m->addr) + dataoff; in elf_kcore_store_hdr()
203 phdr->p_vaddr = (size_t)m->addr; in elf_kcore_store_hdr()
205 phdr->p_filesz = phdr->p_memsz = m->size; in elf_kcore_store_hdr()
317 struct kcore_list *m; in read_kcore() local
320 for (m=kclist; m; m=m->next) { in read_kcore()
321 if (start >= m->addr && start < (m->addr+m->size)) in read_kcore()
326 if (m == NULL) { in read_kcore()
331 struct vm_struct *m; in read_kcore() local
340 for (m=vmlist; m && cursize; m=m->next) { in read_kcore()
343 unsigned long msize = m->size - PAGE_SIZE; in read_kcore()
345 if (((unsigned long)m->addr + msize) < in read_kcore()
348 if ((unsigned long)m->addr > (curstart + in read_kcore()
351 vmstart = (curstart < (unsigned long)m->addr ? in read_kcore()
352 (unsigned long)m->addr : curstart); in read_kcore()
353 if (((unsigned long)m->addr + msize) > in read_kcore()
357 vmsize = (unsigned long)m->addr + in read_kcore()
362 if (m->flags & VM_IOREMAP) in read_kcore()