Searched refs:clear_range (Results 1 – 7 of 7) sorted by relevance
/external/crosvm/swap/src/ |
D | present_list.rs | 69 pub fn clear_range(&mut self, idx_range: Range<usize>) -> bool { in clear_range() method 210 fn clear_range() { in clear_range() function 214 assert!(list.clear_range(11..13)); in clear_range() 228 assert!(list.clear_range(11..13)); in clear_range_duplicated() 229 assert!(list.clear_range(12..15)); in clear_range_duplicated() 244 assert!(!list.clear_range(10..201)); in clear_range_out_of_range() 259 list.clear_range(1..3); in first_data_range() 261 list.clear_range(12..13); in first_data_range() 263 list.clear_range(20..30); in first_data_range() 273 list.clear_range(5..10); in first_data_range_clear_partially() [all …]
|
D | file.rs | 175 pub fn clear_range(&mut self, idx_range: Range<usize>) -> Result<usize> { in clear_range() method 176 if self.present_list.clear_range(idx_range.clone()) { in clear_range() 222 if self.present_list.clear_range(idx_range.clone()) { in erase_from_disk() 490 fn clear_range() { in clear_range() function 496 swap_file.clear_range(0..1).unwrap(); in clear_range() 514 assert_eq!(swap_file.clear_range(1..4).unwrap(), 3); in clear_range_unlocked_pages() 516 assert_eq!(swap_file.clear_range(4..7).unwrap(), 2); in clear_range_unlocked_pages() 518 assert_eq!(swap_file.clear_range(10..11).unwrap(), 0); in clear_range_unlocked_pages() 528 swap_file.clear_range(0..1).unwrap(); in clear_range_keep_on_disk() 540 assert_eq!(swap_file.clear_range(199..200).is_ok(), true); in clear_range_out_of_range() [all …]
|
D | staging.rs | 174 pub fn clear_range(&mut self, idx_range: Range<usize>) -> Result<()> { in clear_range() method 175 if !self.present_list.clear_range(idx_range.clone()) { in clear_range() 305 fn clear_range() { in clear_range() function 313 staging_memory.clear_range(1..3).unwrap(); in clear_range() 327 assert!(staging_memory.clear_range(199..200).is_ok()); in clear_range_out_of_range() 328 match staging_memory.clear_range(199..201) { in clear_range_out_of_range() 348 staging_memory.clear_range(1..3).unwrap(); in first_data_range() 350 staging_memory.clear_range(3..4).unwrap(); in first_data_range()
|
D | page_handler.rs | 302 .clear_range(idx_in_region..idx_in_region + 1)?; in handle_page_fault() 310 let munlocked_pages = region.file.clear_range(idx_in_region..idx_in_region + 1)?; in handle_page_fault() 366 if let Err(e) = region.staging_memory.clear_range(idx_range.clone()) { in handle_page_remove() 558 region.staging_memory.clear_range(idx_range)?; in swap_out() 717 region.staging_memory.clear_range(idx_range)?; in swap_in() 735 let munlocked_pages = region.file.clear_range(idx_range)?; in swap_in() 832 .clear_range(idx_range.clone()) in trim_pages() 859 .clear_range(idx_range.clone()) in trim_pages()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_buffer_image_memory_sampler.cpp | 4745 VkImageSubresourceRange clear_range; in TEST_F() local 4746 clear_range.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 4747 clear_range.baseMipLevel = 0; in TEST_F() 4748 clear_range.baseArrayLayer = 0; in TEST_F() 4749 clear_range.layerCount = 1; in TEST_F() 4750 clear_range.levelCount = 1; in TEST_F() 4756 …learColorImage(dst_image.handle(), VK_IMAGE_LAYOUT_UNDEFINED, &color_clear_value, 1, &clear_range); in TEST_F() 4760 …>ClearColorImage(dst_image.handle(), VK_IMAGE_LAYOUT_GENERAL, &color_clear_value, 1, &clear_range); in TEST_F() 4764 clear_range.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in TEST_F() 4770 …StencilImage(depth_image.handle(), VK_IMAGE_LAYOUT_UNDEFINED, &depth_clear_value, 1, &clear_range); in TEST_F() [all …]
|
/external/bcc/libbpf-tools/x86/ |
D | vmlinux_505.h | 74815 void (*clear_range)(struct i915_address_space *, u64, u64); member 78532 struct clear_range { struct
|
D | vmlinux.h | 74815 void (*clear_range)(struct i915_address_space *, u64, u64); member 78532 struct clear_range { struct
|