Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 29) sorted by relevance

12

/DragonOS-0.1.5/kernel/src/libs/
Dkfifo.c15 int kfifo_alloc(struct kfifo_t *fifo, uint32_t size, uint64_t reserved) in kfifo_alloc()
35 void kfifo_init(struct kfifo_t *fifo, void *buffer, uint32_t size) in kfifo_init()
51 uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size) in kfifo_in()
86 uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size) in kfifo_out()
120 uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size) in kfifo_out_peek()
Dstring.c84 long strncpy_from_user(char *dst, const char *src, unsigned long size) in strncpy_from_user()
102 unsigned long size = strlen(src); in strnlen_user() local
Dglib.c38 void *memmove(void *dst, const void *src, uint64_t size) in memmove()
/DragonOS-0.1.5/kernel/src/mm/
Dslab.h9 #define SIZEOF_LONG_ALIGN(size) ((size + sizeof(long) - 1) & ~(sizeof(long) - 1)) argument
10 #define SIZEOF_INT_ALIGN(size) ((size + sizeof(int) - 1) & ~(sizeof(int) - 1)) argument
38 ul size; // 单位:byte member
69 static __always_inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc()
Dslab.c33 struct slab *slab_create(ul size, void *(*constructor)(void *vaddr, ul arg), void *(*destructor)(vo… in slab_create()
438 struct slab_obj *kmalloc_create_slab_obj(ul size) in kmalloc_create_slab_obj()
540 void *kmalloc(unsigned long size, gfp_t gfp) in kmalloc()
/DragonOS-0.1.5/kernel/src/common/
Dkfifo.h9 uint32_t size; // 元素所占的字节数 member
130 uint32_t __always_inline kfifo_in_locked(struct kfifo_t *fifo, const void *from, uint32_t size, spi… in kfifo_in_locked()
147 uint32_t __always_inline kfifo_out_locked(struct kfifo_t *fifo, void *to, uint32_t size, spinlock_t… in kfifo_out_locked()
Dcompiler.h49 static __always_inline void __read_once_size(void *dst, const volatile void *src, int size) in __read_once_size()
80 static __always_inline void __write_once_size(volatile void *dst, void *src, int size) in __write_once_size()
Dbitree.h16 int32_t size; // 树中的元素个数 member
Dglib.h68 void *memset(void *dst, unsigned char C, ul size) in memset()
217 static inline uint64_t copy_from_user(void *dst, void *src, uint64_t size) in copy_from_user()
246 static inline uint64_t copy_to_user(void *dst, void *src, uint64_t size) in copy_to_user()
Dhid.h91 int size; // 路径中的节点数目 member
106 int size; // size of data in bits member
/DragonOS-0.1.5/user/libs/libc/src/
Dmalloc.c67 static malloc_mem_chunk_t *malloc_query_free_chunk_bf(uint64_t size) in malloc_query_free_chunk_bf()
107 static malloc_mem_chunk_t *malloc_query_free_chunk_ff(uint64_t size) in malloc_query_free_chunk_ff()
130 static int malloc_enlarge(int64_t size) in malloc_enlarge()
271 void *malloc(ssize_t size) in malloc()
Dstring.c36 void *memset(void *dst, unsigned char C, uint64_t size) in memset()
/DragonOS-0.1.5/kernel/src/driver/acpi/
Dacpi.c161 uint64_t size = 0; in acpi_init() local
198 uint64_t size = 0; in acpi_init() local
/DragonOS-0.1.5/kernel/src/arch/x86_64/include/asm/
Dcmpxchg.h20 #define __raw_try_cmpxchg(_ptr, _old_ptr, _new, size) \ argument
/DragonOS-0.1.5/docs/kernel/core_api/
Dmm-api.md13 #### 描
17 ##### 参
29 #### 描
34 ##### 参
Dkernel_api.md531 ##### 描
537 ##### 参
677 #### `void *memmove(void *dst, const void *src, uint64_t size)`
679 ##### 描
683 ##### 参
/DragonOS-0.1.5/kernel/src/driver/multiboot2/
Dmultiboot2.h124 unsigned int size; member
130 unsigned int size; member
138 unsigned int size; member
150 unsigned int size; member
159 unsigned int size; member
168 unsigned int size; member
179 unsigned int size; member
186 unsigned int size; member
213 unsigned int size; member
411 unsigned int size; member
/DragonOS-0.1.5/kernel/src/exception/
Dgate.h35 uint16_t size; member
41 uint16_t size; member
/DragonOS-0.1.5/kernel/src/libs/libUI/
Dscreen_manager.h23 uint32_t size; // 帧缓冲区大小(bytes) member
/DragonOS-0.1.5/kernel/src/process/
Dfork.c333 uint32_t size = ((uint64_t)current_pcb) + STACK_SIZE - (uint64_t)(current_regs); in process_copy_thread() local
Dprocess.c830 uint64_t size = (cur_vma->vm_end - cur_vma->vm_start); in process_exit_mm() local
/DragonOS-0.1.5/kernel/src/driver/hid/
Dhidparse.c61 static __always_inline uint32_t __format_value(uint32_t value, uint8_t size) in __format_value()
/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.rs348 let size = (!(size_mask & 0xfffffff0)).wrapping_add(1); in pci_bar_init() localVariable
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmod.rs446 pub size: i64, field
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/
Dxhci.c1100 …ci_data_stage(struct xhci_ep_info_t *ep, uint64_t buf_vaddr, uint8_t trb_type, const uint32_t size, in xhci_data_stage()

12