Lines Matching refs:range

663 /*!	Cuts a piece out of an area. If the given cut range covers the complete
665 resized accordingly. If the range covers some part in the middle of the
669 The caller must ensure that no part of the given range is wired.
876 panic("failed to restore cache range: %s",
955 /*! Deletes or cuts all areas in the given address range.
957 The caller must ensure that no part of the given range is wired.
973 "unmap range of kernel area %" B_PRId32 " (%s)\n",
1047 that no part of the specified address range (base \c *_virtualAddress, size
1219 specified range and waits, if so.
1230 \param base The base address of the range to check.
1231 \param size The size of the address range to check.
1262 with the specified range and waits, if so.
1265 - All areas intersecting with the range are checked (respectively all until
1266 one is found that contains a wired range intersecting with the given
1267 range).
1317 Sets protection for the given address range to the protection specified.
1331 // check address range
1354 panic("protect range not fully within supplied area");
1648 // CREATE_AREA_UNMAP_ADDRESS_RANGE were specified, ensure the address range
2053 // CREATE_AREA_UNMAP_ADDRESS_RANGE were specified, ensure the address range
2248 // Lock the address space and, if the specified address range shall be
3977 // free all physical pages in the specified range
4032 TRACE(("free boot range: get rid of %p - %p\n", (void*)lastEnd,
4048 TRACE(("free boot range: also remove %p - %p\n", (void*)lastEnd,
4152 dprintf("reserve_boot_loader_ranges(): Skipping range: %p, %"
4170 // find a slot in the virtual allocation addr range
4250 // see if the next page will collide with the next allocated range
4269 // see if the next page will collide with the next allocated range
5522 /*! Copies a range of memory directly from/to a page that might not be mapped
5528 The memory range starting at \a unsafeMemory with a length of \a size bytes
5536 \param unsafeMemory The start of the unsafe memory range to be copied
5609 /** Validate that a memory range is either fully in kernel space, or fully in
5620 // Validate that the address range does not cross the kernel/user boundary.
5710 info->range.SetTo(pageAddress, B_PAGE_SIZE, writable, false);
5746 // mark the area range wired
5747 area->Wire(&info->range);
5783 area->Unwire(&info->range);
5807 VMArea* area = info->range.area;
5823 // remove the wired range from the range
5824 area->Unwire(&info->range);
5830 /*! Wires down the given address range in the specified team's address space.
5835 address range,
5836 - makes sure all pages in the given address range are mapped with the
5840 of the specified address range is not covered by areas, when the concerned
5849 \param address The start of the address range to be wired.
5850 \param numBytes The size of the address range to be wired.
5852 requests that the range must be wired writable ("read from device
5905 // allocate the wired range (do that before locking the cache to avoid
5907 VMAreaWiredRange* range = new(malloc_flags(mallocFlags))
5909 if (range == NULL) {
5917 // mark the area range wired
5918 area->Wire(range);
5979 area->Unwire(range);
5981 range->~VMAreaWiredRange();
5982 free_etc(range, mallocFlags);
6010 /*! Unwires an address range previously wired with lock_memory_etc().
6074 // unwire the range (to avoid deadlocks we delete the range after
6077 VMAreaWiredRange* range = area->Unwire(areaStart,
6080 if (range != NULL) {
6081 range->~VMAreaWiredRange();
6082 free_etc(range, mallocFlags);
6116 // All pages are unwired. Remove the area's wired range as well (to
6117 // avoid deadlocks we delete the range after unlocking the cache).
6118 VMAreaWiredRange* range = area->Unwire(areaStart,
6123 if (range != NULL) {
6124 range->~VMAreaWiredRange();
6125 free_etc(range, mallocFlags);
6148 Returns \c B_OK when the complete range could be translated or
6780 // Write lock the address space and ensure the address range is not wired.
6797 // check address range
6827 // First round: Check whether the whole range is covered by areas and we
6997 // iterate through the range and sync all concerned areas
7133 // check address range