Lines Matching refs: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,
94 return virt >= begin && virt + size <= end;
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,
111 void *vend = virt + size;
113 if (virt < end && vend > begin)
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)
130 return memory_contains(__init_begin, __init_end, virt, size);
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)
144 return memory_intersects(__init_begin, __init_end, virt, size);