Lines Matching refs:section
38 /* A section mapped into memory. */
40 /* The section that is mapped. */
41 struct pt_section *section;
43 /* The address space into which the section is mapped. */
46 /* The virtual address at which the section is mapped. */
49 /* The offset into the section.
51 * This is normally zero but when @section is split, @offset is added to
52 * the section/file offset when accessing @section.
56 /* The size of the section.
58 * This is normally @section->size but when @section is split, this is
59 * used to determine the size of the sub-section.
66 struct pt_section *section,
73 msec->section = section;
84 /* Destroy a mapped section - does not free @msec->section. */
110 /* Return the section/file offset. */
119 /* Return the section size. */
128 /* Return the underlying section. */
132 return msec->section;
135 /* Return an identifier for the address-space the section is mapped into. */
145 /* Translate a section/file offset into a virtual address. */
152 /* Translate a virtual address into a section/file offset. */
159 /* Read memory from a mapped section.
162 * The caller must ensure that @msec->section is mapped.
171 struct pt_section *section;
193 section = pt_msec_section(msec);
196 return pt_section_read(section, buffer, size, offset);