Searched refs:free_mem (Results 1 – 1 of 1) sorted by relevance
35 tOSI_MEM_HANDLER free_mem = NULL; in OSI_mem_get() local51 free_mem = (tOSI_MEM_HANDLER)osi_info.mem[index]; in OSI_mem_get()54 free_mem = (tOSI_MEM_HANDLER)&osi_info.mem[index]; in OSI_mem_get()58 if (free_mem == NULL) { in OSI_mem_get()64 free_mem = osi_info.mem[index] = in OSI_mem_get()81 free_mem->state = OSI_ALLOCATED; in OSI_mem_get()82 memset(free_mem->buffer, 0, OSI_MEM_POOL_SIZE); in OSI_mem_get()86 return free_mem; in OSI_mem_get()