MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / kzalloc

Function kzalloc

Ext4Fsd/linux.c:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31struct task_struct *current = &current_task;
32
33void *kzalloc(int size, int flags)
34{
35 void *buffer = kmalloc(size, flags);
36 if (buffer) {
37 memset(buffer, 0, size);
38 }
39 return buffer;
40}
41
42//
43// slab routines

Callers 6

Ext2LoadGroupFunction · 0.85
journal_init_commonFunction · 0.85
journal_init_commonFunction · 0.85
ext4_find_extentFunction · 0.85
ext4_ext_splitFunction · 0.85
ext4_xattr_item_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected