Home
last modified time | relevance | path

Searched refs:p_segbuf (Results 1 – 2 of 2) sorted by relevance

/TwlSDK-5.1.0/build/demos/mb/multiboot-PowerSave/src/
Dparent.c99 static u8 *p_segbuf[GAME_PROG_MAX] = { NULL, }; variable
245 if (p_segbuf[i]) in ParentInit()
247 OS_Free(p_segbuf[i]), p_segbuf[i] = NULL; in ParentInit()
294 else if ((p_segbuf[i] = (u8 *)OS_Alloc(MB_SEGMENT_BUFFER_MIN)) == NULL) in ParentInit()
298 else if (!MB_ReadSegment(file, p_segbuf[i], MB_SEGMENT_BUFFER_MIN)) in ParentInit()
302 else if (!MB_RegisterFile(&mbGameList[i], p_segbuf[i])) in ParentInit()
316 if (!succeeded && (p_segbuf[i] != NULL)) in ParentInit()
318 OS_Free(p_segbuf[i]), p_segbuf[i] = NULL; in ParentInit()
/TwlSDK-5.1.0/build/demos/mb/multiboot/src/
Dparent.c45 static u8 *p_segbuf[GAME_PROG_MAX]; variable
77 p_segbuf[i] = NULL; in InitFileBuffer()
89 if (p_segbuf[i]) in FreeFileBuffer()
91 OS_Free(p_segbuf[i]); in FreeFileBuffer()
92 p_segbuf[i] = NULL; in FreeFileBuffer()
353 p_segbuf[i] = (u8 *)OS_Alloc(length); in ParentInit()
354 if (!p_segbuf[i]) in ParentInit()
370 if (!MB_ReadSegment(file, p_segbuf[i], length)) in ParentInit()
382 if (MB_RegisterFile(&mbGameList[i], p_segbuf[i])) in ParentInit()