Lines Matching refs:msec
179 const struct pt_mapped_section *msec; in pt_image_add() local
186 msec = ¤t->section; in pt_image_add()
187 masid = pt_msec_asid(msec); in pt_image_add()
198 lbegin = pt_msec_begin(msec); in pt_image_add()
199 lend = pt_msec_end(msec); in pt_image_add()
207 lsec = pt_msec_section(msec); in pt_image_add()
208 loff = pt_msec_offset(msec); in pt_image_add()
276 struct pt_mapped_section *msec; in pt_image_remove() local
284 msec = &trash->section; in pt_image_remove()
285 masid = pt_msec_asid(msec); in pt_image_remove()
294 begin = pt_msec_begin(msec); in pt_image_remove()
295 sec = pt_msec_section(msec); in pt_image_remove()
388 struct pt_mapped_section *msec; in pt_image_remove_by_filename() local
395 msec = &trash->section; in pt_image_remove_by_filename()
396 masid = pt_msec_asid(msec); in pt_image_remove_by_filename()
407 sec = pt_msec_section(msec); in pt_image_remove_by_filename()
438 struct pt_mapped_section *msec; in pt_image_remove_by_asid() local
443 msec = &trash->section; in pt_image_remove_by_asid()
444 masid = pt_msec_asid(msec); in pt_image_remove_by_asid()
500 static inline int pt_image_check_msec(const struct pt_mapped_section *msec, in pt_image_check_msec() argument
508 if (!msec) in pt_image_check_msec()
511 begin = pt_msec_begin(msec); in pt_image_check_msec()
512 end = pt_msec_end(msec); in pt_image_check_msec()
516 masid = pt_msec_asid(msec); in pt_image_check_msec()
545 struct pt_mapped_section *msec; in pt_image_fetch_section() local
550 msec = &elem->section; in pt_image_fetch_section()
552 errcode = pt_image_check_msec(msec, asid, vaddr); in pt_image_fetch_section()
577 struct pt_mapped_section *msec; in pt_image_read() local
599 msec = &slist->section; in pt_image_read()
601 section = pt_msec_section(msec); in pt_image_read()
607 status = pt_msec_read(msec, buffer, size, addr); in pt_image_read()
659 struct pt_mapped_section *msec; in pt_image_find() local
675 msec = &slist->section; in pt_image_find()
676 section = pt_msec_section(msec); in pt_image_find()
682 *usec = *msec; in pt_image_find()