Lines Matching refs:section
121 int (*memsize)(const struct pt_section *section, uint64_t *size);
177 extern int pt_section_lock(struct pt_section *section);
186 extern int pt_section_unlock(struct pt_section *section);
197 extern int pt_section_get(struct pt_section *section);
209 extern int pt_section_put(struct pt_section *section);
221 extern int pt_section_attach(struct pt_section *section,
234 extern int pt_section_detach(struct pt_section *section,
238 extern const char *pt_section_filename(const struct pt_section *section);
241 extern uint64_t pt_section_offset(const struct pt_section *section);
244 extern uint64_t pt_section_size(const struct pt_section *section);
257 extern int pt_section_memsize(struct pt_section *section, uint64_t *size);
266 extern int pt_section_alloc_bcache(struct pt_section *section);
272 static inline int pt_section_request_bcache(struct pt_section *section) in pt_section_request_bcache() argument
274 if (!section) in pt_section_request_bcache()
277 if (section->bcache) in pt_section_request_bcache()
280 return pt_section_alloc_bcache(section); in pt_section_request_bcache()
291 pt_section_bcache(const struct pt_section *section) in pt_section_bcache() argument
293 if (!section) in pt_section_bcache()
296 return section->bcache; in pt_section_bcache()
327 extern int pt_section_on_map_lock(struct pt_section *section);
329 static inline int pt_section_on_map(struct pt_section *section) in pt_section_on_map() argument
331 if (section && !section->iscache) in pt_section_on_map()
334 return pt_section_on_map_lock(section); in pt_section_on_map()
352 extern int pt_section_map(struct pt_section *section);
367 extern int pt_section_map_share(struct pt_section *section);
378 extern int pt_section_unmap(struct pt_section *section);
389 extern int pt_section_read(const struct pt_section *section, uint8_t *buffer,