Searched refs:areaAddr (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/services/param/linux/ |
D | param_osadp.c | 93 void *areaAddr = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in GetSharedMem() local 94 PARAM_CHECK(areaAddr != MAP_FAILED && areaAddr != NULL, close(fd); in GetSharedMem() 97 return areaAddr; in GetSharedMem()
|
/base/startup/init/services/param/liteos/ |
D | param_osadp.c | 117 void *areaAddr = NULL; in GetSharedMem() local 130 areaAddr = (void *)shmat(handle->shmid, NULL, 0); in GetSharedMem() 131 return areaAddr; in GetSharedMem()
|
/base/startup/init/services/param/base/ |
D | param_trie.c | 48 void *areaAddr = GetSharedMem(buffer, &workSpace->memHandle, spaceSize, readOnly); in InitWorkSpace_() local 49 PARAM_ONLY_CHECK(areaAddr != NULL, return PARAM_CODE_ERROR_MAP_FILE); in InitWorkSpace_() 51 workSpace->area = (ParamTrieHeader *)areaAddr; in InitWorkSpace_() 64 workSpace->area = (ParamTrieHeader *)areaAddr; in InitWorkSpace_()
|