Home
last modified time | relevance | path

Searched refs:result (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.2/kernel/src/mm/
Dmm-stat.c62 uint64_t result = 0; in __count_empty_2m_pages() local
65 result += (memory_management_struct.zones_struct + i)->count_pages_free; in __count_empty_2m_pages()
67 return result; in __count_empty_2m_pages()
106 uint64_t result = 0; in __count_in_using_2m_pages() local
109 result += (memory_management_struct.zones_struct + i)->count_pages_using; in __count_in_using_2m_pages()
111 return result; in __count_in_using_2m_pages()
121 uint64_t result = 0; in __count_kmalloc_free() local
124 result += kmalloc_cache_group[i].size * kmalloc_cache_group[i].count_total_free; in __count_kmalloc_free()
126 return result; in __count_kmalloc_free()
136 uint64_t result = 0; in __count_kmalloc_using() local
[all …]
Dvma.c101 struct vm_area_struct *result = NULL; in vma_find() local
106 result = vma; in vma_find()
111 return result; in vma_find()
Dslab.c542 void *result = NULL; in kmalloc() local
613 result = (void *)((char *)slab_obj_ptr->vaddr + kmalloc_cache_group[index].size * i); in kmalloc()
620 memset(result, 0, size); in kmalloc()
621 return result; in kmalloc()
/DragonOS-0.1.2/kernel/src/process/
Dkthread.c33 struct process_control_block *result; member
63 create->result = NULL; in __kthread_create_on_node()
79 while (create->result == NULL) in __kthread_create_on_node()
82 pcb = create->result; in __kthread_create_on_node()
83 if (!IS_ERR(create->result)) in __kthread_create_on_node()
113 void kthread_exit(long result) in kthread_exit() argument
116 kt->result = result; in kthread_exit()
174 create->result = current_pcb; in kthread()
199 create->result = (struct process_control_block *)pid; in __create_kthread()
273 retval = target->result; in kthread_stop()
/DragonOS-0.1.2/kernel/src/common/
Dkthread.h16 int result; member
78 void kthread_exit(long result);
/DragonOS-0.1.2/docs/kernel/process_management/
Dkthread.md112   `void kthread_exit(long result)`
116   让当前内核线程退出,并返回result参数给kthread_stop()函数。
120 **result**
/DragonOS-0.1.2/kernel/src/libs/
Dlz4.c1155 int result; in LZ4_compress_generic_validated() local
1616 result = (int)(((char *)op) - dest); in LZ4_compress_generic_validated()
1617 assert(result > 0); in LZ4_compress_generic_validated()
1618 DEBUGLOG(5, "LZ4_compress_generic: compressed %i bytes into %i bytes", inputSize, result); in LZ4_compress_generic_validated()
1619 return result; in LZ4_compress_generic_validated()
1768 int result; in LZ4_compress_fast() local
1777result = LZ4_compress_fast_extState(ctxPtr, source, dest, inputSize, maxOutputSize, acceleration); in LZ4_compress_fast()
1782 return result; in LZ4_compress_fast()
1828 int result = LZ4_compress_destSize_extState(ctx, src, dst, srcSizePtr, targetDstSize); in LZ4_compress_destSize() local
1833 return result; in LZ4_compress_destSize()
[all …]