/DragonOS-0.1.8/user/apps/shell/ |
D | cmd.c | 188 free(shell_current_path); in shell_cmd_cd() 227 free(shell_current_path); in shell_cmd_cd() 235 free(new_path); in shell_cmd_cd() 244 free(argv); in shell_cmd_cd() 288 free(argv); in shell_cmd_ls() 305 free(argv); in shell_cmd_pwd() 350 free(buf); in shell_cmd_cat() 351 free(file_path); in shell_cmd_cat() 353 free(argv); in shell_cmd_cat() 390 free(argv); in shell_cmd_touch() [all …]
|
D | cmd_help.c | 22 free(argv); in shell_help()
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | page_frame.rs | 275 pub fn free(&self) -> PageFrameCount { in free() method 290 unsafe fn free(&mut self, address: PhysAddr, count: PageFrameCount); in free() method 297 return self.free(address, PageFrameCount::new(1)); in free_one() 308 unsafe fn free(&mut self, address: PhysAddr, count: PageFrameCount) { in free() method 309 return T::free(self, address, count); in free() 336 LockedFrameAllocator.free(frame.phys_address(), count); in deallocate_page_frames()
|
D | bump.rs | 82 unsafe fn free(&mut self, _address: PhysAddr, _count: PageFrameCount) { in free() method
|
D | slab.rs | 52 pub fn free(&mut self, ptr: *mut u8) { in free() method
|
D | kernel_allocator.rs | 52 LockedFrameAllocator.free(phy_addr, page_frame_count); in free_in_buddy()
|
D | buddy.rs | 77 let initial_free_pages = bump_allocator.usage().free(); in new() 120 let pages_to_buddy = bump_allocator.usage().free(); in new() 650 unsafe fn free(&mut self, base: PhysAddr, count: PageFrameCount) { in free() method
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | stdlib.h | 21 void free(void* ptr);
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/sys/ |
D | stat.h | 12 uint64_t free; // 空闲物理页所占的内存大小 member
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | stdio.c | 25 free(buf); in fprintf() 61 free(stream); in fclose()
|
D | dirent.c | 53 free(dirp); in closedir()
|
D | malloc.c | 378 void free(void *ptr) in free() function
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | stdlib.md | 10 ``void free(void *ptr)`` : 释放内存
|
/DragonOS-0.1.8/ |
D | LICENSE | 13 License is intended to guarantee your freedom to share and change free 14 software--to make sure the software is free for all its users. This 21 When we speak of free software, we are referring to freedom, not 23 have the freedom to distribute copies of free software (and charge for 26 in new free programs; and that you know you can do these things. 44 that everyone understands that there is no warranty for this free 50 Finally, any free program is threatened constantly by software 51 patents. We wish to avoid the danger that redistributors of a free 54 patent must be licensed for everyone's free use or not licensed at all. 205 license would not permit royalty-free redistribution of the Program by [all …]
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | no_init.rs | 39 unsafe fn free(&mut self, _address: PhysAddr, _count: PageFrameCount) { in free() method
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.8.md | 73 - bugfix: 修正rwlock有的地方由于未使用ManuallyDrop导致的use after free问题 (#329) 177 … 修正rwlock有的地方由于未使用ManuallyDrop导致的use after free && spinlock守卫新增leak,spinlock新增force unlock功能.(#329) 179 1.修正rwlock有的地方由于未使用ManuallyDrop导致的use after free 214 bugfix: 解决取消低地址映射时,错误的把重映射的物理页释放,从而导致的use after free问题。 (#321)
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 501 unsafe { LockedFrameAllocator.free(paddr, allocated_frame_count) }; in test_buddy() 516 unsafe { LockedFrameAllocator.free(paddr, allocated_frame_count) }; in test_buddy() 540 unsafe fn free( in free() method 547 return allocator.free(address, count); in free()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | entry.rs | 420 let mut free = 0; in find_free_entries() localVariable 449 if free == 0 { in find_free_entries() 453 free += 1; in find_free_entries() 454 if free == num_free { in find_free_entries() 462 free = 0; in find_free_entries() 469 let remain_entries = num_free - free; in find_free_entries() 490 if free > 0 { in find_free_entries()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | idr.c | 423 static void __idr_remove_all_with_free(struct idr *idp, bool free) in __idr_remove_all_with_free() argument 453 if (free) in __idr_remove_all_with_free()
|