Lines Matching refs:iscache

46 extern int pt_iscache_notify_map(struct pt_image_section_cache *iscache,
48 extern int pt_iscache_notify_resize(struct pt_image_section_cache *iscache,
51 int pt_iscache_notify_map(struct pt_image_section_cache *iscache, in pt_iscache_notify_map() argument
54 if (!iscache) in pt_iscache_notify_map()
57 if (iscache->map <= 0) in pt_iscache_notify_map()
58 return iscache->map; in pt_iscache_notify_map()
61 iscache->map = 0; in pt_iscache_notify_map()
66 int pt_iscache_notify_resize(struct pt_image_section_cache *iscache, in pt_iscache_notify_resize() argument
72 if (!iscache) in pt_iscache_notify_resize()
75 if (iscache->map <= 0) in pt_iscache_notify_resize()
76 return iscache->map; in pt_iscache_notify_resize()
79 iscache->map = 0; in pt_iscache_notify_resize()
300 struct pt_image_section_cache iscache; in attach_null() local
304 errcode = pt_section_attach(NULL, &iscache); in attach_null()
318 struct pt_image_section_cache iscache; in detach_null() local
322 errcode = pt_section_detach(NULL, &iscache); in detach_null()
387 struct pt_image_section_cache iscache; in attach_overflow() local
399 errcode = pt_section_attach(sfix->section, &iscache); in attach_overflow()
409 struct pt_image_section_cache iscache; in attach_bad_ucount() local
421 errcode = pt_section_attach(sfix->section, &iscache); in attach_bad_ucount()
537 struct pt_image_section_cache iscache; in attach_detach() local
549 errcode = pt_section_attach(sfix->section, &iscache); in attach_detach()
552 errcode = pt_section_attach(sfix->section, &iscache); in attach_detach()
555 errcode = pt_section_detach(sfix->section, &iscache); in attach_detach()
558 errcode = pt_section_detach(sfix->section, &iscache); in attach_detach()
568 struct pt_image_section_cache iscache, bad; in attach_bad_iscache() local
580 errcode = pt_section_attach(sfix->section, &iscache); in attach_bad_iscache()
586 errcode = pt_section_detach(sfix->section, &iscache); in attach_bad_iscache()
596 struct pt_image_section_cache iscache, bad; in detach_bad_iscache() local
606 errcode = pt_section_attach(sfix->section, &iscache); in detach_bad_iscache()
612 errcode = pt_section_detach(sfix->section, &iscache); in detach_bad_iscache()
646 struct pt_image_section_cache iscache; in attach_map() local
650 iscache.map = 0; in attach_map()
658 errcode = pt_section_attach(sfix->section, &iscache); in attach_map()
675 errcode = pt_section_detach(sfix->section, &iscache); in attach_map()
683 struct pt_image_section_cache iscache; in attach_bad_map() local
687 iscache.map = -pte_eos; in attach_bad_map()
695 errcode = pt_section_attach(sfix->section, &iscache); in attach_bad_map()
701 errcode = pt_section_detach(sfix->section, &iscache); in attach_bad_map()
709 struct pt_image_section_cache iscache; in attach_map_overflow() local
713 iscache.map = 1; in attach_map_overflow()
721 errcode = pt_section_attach(sfix->section, &iscache); in attach_map_overflow()
729 errcode = pt_section_detach(sfix->section, &iscache); in attach_map_overflow()