MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / hp_pkg_malloc_init

Function hp_pkg_malloc_init

mem/hp_malloc.c:592–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592struct hp_block *hp_pkg_malloc_init(char *address, unsigned long size,
593 char *name)
594{
595 struct hp_block *hpb;
596
597 hpb = hp_malloc_init(address, size, name);
598 if (!hpb) {
599 LM_ERR("failed to initialize shm block\n");
600 return NULL;
601 }
602
603 return hpb;
604}
605
606struct hp_block *hp_shm_malloc_init(char *address, unsigned long size,
607 char *name)

Callers 2

init_pkg_mallocsFunction · 0.85
rpm_mem_init_mallocsFunction · 0.85

Calls 1

hp_malloc_initFunction · 0.85

Tested by

no test coverage detected