Lines Matching full:virt
85 * with virt == phys kernel mapping, for code that wants to check if an address
101 * @virt: virtual address of the memory object
104 * Returns: true if the object specified by @virt and @size is entirely
108 static inline bool memory_contains(void *begin, void *end, void *virt, in memory_contains() argument
111 return virt >= begin && virt + size <= end; in memory_contains()
119 * @virt: virtual address of the memory object
122 * Returns: true if an object's memory region, specified by @virt and @size,
125 static inline bool memory_intersects(void *begin, void *end, void *virt, in memory_intersects() argument
128 void *vend = virt + size; in memory_intersects()
130 if (virt < end && vend > begin) in memory_intersects()
139 * @virt: virtual address of the memory object
142 * Returns: true if the object specified by @virt and @size is entirely
145 static inline bool init_section_contains(void *virt, size_t size) in init_section_contains() argument
147 return memory_contains(__init_begin, __init_end, virt, size); in init_section_contains()
153 * @virt: virtual address of the memory object
156 * Returns: true if an object's memory region, specified by @virt and @size,
159 static inline bool init_section_intersects(void *virt, size_t size) in init_section_intersects() argument
161 return memory_intersects(__init_begin, __init_end, virt, size); in init_section_intersects()