Home
last modified time | relevance | path

Searched refs:free (Results 1 – 19 of 19) sorted by relevance

/DragonOS-0.1.8/user/apps/shell/
Dcmd.c188 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 …]
Dcmd_help.c22 free(argv); in shell_help()
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs275 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()
Dbump.rs82 unsafe fn free(&mut self, _address: PhysAddr, _count: PageFrameCount) { in free() method
Dslab.rs52 pub fn free(&mut self, ptr: *mut u8) { in free() method
Dkernel_allocator.rs52 LockedFrameAllocator.free(phy_addr, page_frame_count); in free_in_buddy()
Dbuddy.rs77 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/
Dstdlib.h21 void free(void* ptr);
/DragonOS-0.1.8/user/libs/libc/src/include/export/sys/
Dstat.h12 uint64_t free; // 空闲物理页所占的内存大小 member
/DragonOS-0.1.8/user/libs/libc/src/
Dstdio.c25 free(buf); in fprintf()
61 free(stream); in fclose()
Ddirent.c53 free(dirp); in closedir()
Dmalloc.c378 void free(void *ptr) in free() function
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dstdlib.md10 ``void free(void *ptr)`` : 释放内存
/DragonOS-0.1.8/
DLICENSE13 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/
Dno_init.rs39 unsafe fn free(&mut self, _address: PhysAddr, _count: PageFrameCount) { in free() method
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.8.md73 - 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/
Dmod.rs501 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/
Dentry.rs420 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/
Didr.c423 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()