Lines Matching refs:section

121 	int (*memsize)(const struct pt_section *section, uint64_t *size);
182 extern int pt_section_lock(struct pt_section *section);
191 extern int pt_section_unlock(struct pt_section *section);
202 extern int pt_section_get(struct pt_section *section);
214 extern int pt_section_put(struct pt_section *section);
226 extern int pt_section_attach(struct pt_section *section,
239 extern int pt_section_detach(struct pt_section *section,
243 extern const char *pt_section_filename(const struct pt_section *section);
246 extern uint64_t pt_section_offset(const struct pt_section *section);
249 extern uint64_t pt_section_size(const struct pt_section *section);
262 extern int pt_section_memsize(struct pt_section *section, uint64_t *size);
271 extern int pt_section_alloc_bcache(struct pt_section *section);
277 static inline int pt_section_request_bcache(struct pt_section *section) in pt_section_request_bcache() argument
279 if (!section) in pt_section_request_bcache()
282 if (section->bcache) in pt_section_request_bcache()
285 return pt_section_alloc_bcache(section); in pt_section_request_bcache()
296 pt_section_bcache(const struct pt_section *section) in pt_section_bcache() argument
298 if (!section) in pt_section_bcache()
301 return section->bcache; in pt_section_bcache()
332 extern int pt_section_on_map_lock(struct pt_section *section);
334 static inline int pt_section_on_map(struct pt_section *section) in pt_section_on_map() argument
336 if (section && !section->iscache) in pt_section_on_map()
339 return pt_section_on_map_lock(section); in pt_section_on_map()
357 extern int pt_section_map(struct pt_section *section);
372 extern int pt_section_map_share(struct pt_section *section);
383 extern int pt_section_unmap(struct pt_section *section);
394 extern int pt_section_read(const struct pt_section *section, uint8_t *buffer,