Lines Matching full:virt
84 * @virt: virtual address of the memory object
87 * Returns: true if the object specified by @virt and @size is entirely
91 static inline bool memory_contains(void *begin, void *end, void *virt, in memory_contains() argument
94 return virt >= begin && virt + size <= end; in memory_contains()
102 * @virt: virtual address of the memory object
105 * Returns: true if an object's memory region, specified by @virt and @size,
108 static inline bool memory_intersects(void *begin, void *end, void *virt, in memory_intersects() argument
111 void *vend = virt + size; in memory_intersects()
113 if (virt < end && vend > begin) in memory_intersects()
122 * @virt: virtual address of the memory object
125 * Returns: true if the object specified by @virt and @size is entirely
128 static inline bool init_section_contains(void *virt, size_t size) in init_section_contains() argument
130 return memory_contains(__init_begin, __init_end, virt, size); in init_section_contains()
136 * @virt: virtual address of the memory object
139 * Returns: true if an object's memory region, specified by @virt and @size,
142 static inline bool init_section_intersects(void *virt, size_t size) in init_section_intersects() argument
144 return memory_intersects(__init_begin, __init_end, virt, size); in init_section_intersects()