Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/apps/shell/
Dcmd.c177 free(shell_current_path); in shell_cmd_cd()
216 free(shell_current_path); in shell_cmd_cd()
224 free(new_path); in shell_cmd_cd()
233 free(argv); in shell_cmd_cd()
277 free(argv); in shell_cmd_ls()
294 free(argv); in shell_cmd_pwd()
339 free(buf); in shell_cmd_cat()
340 free(file_path); in shell_cmd_cat()
342 free(argv); in shell_cmd_cat()
379 free(argv); in shell_cmd_touch()
[all …]
Dcmd_help.c22 free(argv); in shell_help()
/DragonOS-0.1.7/user/libs/libc/src/include/export/
Dstdlib.h21 void free(void* ptr);
/DragonOS-0.1.7/kernel/src/mm/
Dmm-stat.c169 tmp.free = __count_empty_2m_pages(ZONE_NORMAL) * PAGE_2M_SIZE; in mm_stat()
170 tmp.total = tmp.used + tmp.free; in mm_stat()
175 tmp.available = tmp.free + tmp.cache_free; in mm_stat()
Dmm.h168 uint64_t free; // 空闲物理页所占的内存大小 member
/DragonOS-0.1.7/user/libs/libc/src/include/export/sys/
Dstat.h12 uint64_t free; // 空闲物理页所占的内存大小 member
/DragonOS-0.1.7/user/libs/libc/src/
Dstdio.c25 free(buf); in fprintf()
61 free(stream); in fclose()
Ddirent.c53 free(dirp); in closedir()
Dmalloc.c377 void free(void *ptr) in free() function
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/
Dstdlib.md10 ``void free(void *ptr)`` : 释放内存
/DragonOS-0.1.7/
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.7/docs/kernel/core_api/
Dmm-api.md263 | free | 空闲物理页所占的内存大小 |
/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dentry.rs411 let mut free = 0; in find_free_entries() localVariable
440 if free == 0 { in find_free_entries()
444 free += 1; in find_free_entries()
445 if free == num_free { in find_free_entries()
453 free = 0; in find_free_entries()
460 let remain_entries = num_free - free; in find_free_entries()
481 if free > 0 { in find_free_entries()
/DragonOS-0.1.7/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()