Searched refs:length (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.8/user/libs/libc/src/ |
D | malloc.c | 32 uint64_t length; // 整个块所占用的内存区域的大小 member 82 if (ptr->length == size) in malloc_query_free_chunk_bf() 88 if (ptr->length > size) in malloc_query_free_chunk_bf() 92 else if (best->length > ptr->length) in malloc_query_free_chunk_bf() 115 if (ptr->length >= size) in malloc_query_free_chunk_ff() 160 new_ck->length = brk_max_addr - brk_managed_addr; in malloc_enlarge() 183 if (((uint64_t)(ptr->prev) + ptr->prev->length == (uint64_t)ptr)) in malloc_merge_free_chunk() 187 ptr->prev->length += ptr->length; in malloc_merge_free_chunk() 329 if ((int64_t)(ck->length) - size > sizeof(malloc_mem_chunk_t)) in malloc() 333 new_ck->length = ck->length - size; in malloc() [all …]
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | lz4.c | 2188 U32 length = 0; in read_variable_length() local 2193 return length; in read_variable_length() 2199 length += s; in read_variable_length() 2203 return length; in read_variable_length() 2207 return length; in read_variable_length() 2256 size_t length; in LZ4_decompress_generic() local 2296 length = token >> ML_BITS; /* literal length */ in LZ4_decompress_generic() 2301 if (length == RUN_MASK) in LZ4_decompress_generic() 2304 … length += read_variable_length(&ip, iend - RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic() 2309 if ((safeDecode) && unlikely((uptrval)(op) + length < (uptrval)(op))) in LZ4_decompress_generic() [all …]
|
D | vec_cursor.rs | 25 pub fn zerod(length: usize) -> Self { in zerod() 30 result.data.resize(length, 0); in zerod()
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | mmio.h | 5 extern int mmio_release(int vaddr, int length);
|
D | mmio_buddy.rs | 531 pub fn release_mmio(&self, vaddr: VirtAddr, length: usize) -> Result<i32, SystemError> { in release_mmio() 533 assert!(length & (MMArch::PAGE_SIZE - 1) == 0); in release_mmio() 542 let page_count = length / MMArch::PAGE_SIZE; in release_mmio() 662 pub extern "C" fn mmio_release(vaddr: u64, length: u64) -> i32 { in mmio_release() 664 .release_mmio(VirtAddr::new(vaddr as usize), length as usize) in mmio_release()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | glib.h | 201 bool verify_area(uint64_t addr_start, uint64_t length) in verify_area() argument 203 if ((addr_start + length) <= 0x00007fffffffffffUL) // 用户程序可用的的地址空间应<= 0x00007fffffffffffUL in verify_area()
|
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | transport_pci.rs | 131 length: PciArch::read_config( in new() 372 length: u32, field 470 if struct_info.offset + struct_info.length > bar_size in get_bar_region() 471 || size_of::<T>() > struct_info.length as usize in get_bar_region() 502 struct_info.length as usize / size_of::<T>(), in get_bar_region_slice()
|
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/ |
D | apic.c | 67 while (header->length > 2) in apic_io_apic_init() 78 ent += header->length; in apic_io_apic_init() 609 while (header->length > 2) in apic_get_ics() 617 ent += header->length; in apic_get_ics()
|
/DragonOS-0.1.8/docs/kernel/memory_management/ |
D | mmio.md | 189 | mmio_release(vaddr, length) | 取消地址为vaddr,大小为length的mmio的映射并将其归还到buddy中 |
|
/DragonOS-0.1.8/kernel/src/driver/acpi/ |
D | acpi.h | 118 unsigned char length; member
|