Lines Matching refs:list
219 WBTBlockInfoList *list; /* Registered data block list */ member
445 WBTCommandList *list = work->command; in WBT_GetCurrentCommand() local
446 return list ? &list->command : NULL; in WBT_GetCurrentCommand()
473 void WBT_AddCommandPool(WBTContext *work, WBTCommandList *list, int count) in WBT_AddCommandPool() argument
477 list->next = work->command_pool; in WBT_AddCommandPool()
478 work->command_pool = list++; in WBT_AddCommandPool()
494 WBTCommandList *list = work->command_pool; in WBT_AllocCommandList() local
495 if (list) in WBT_AllocCommandList()
497 work->command_pool = list->next; in WBT_AllocCommandList()
498 list->next = NULL; in WBT_AllocCommandList()
500 return list; in WBT_AllocCommandList()
528 void WBT_CreateCommandSYNC(WBTContext *work, WBTCommandList *list) in WBT_CreateCommandSYNC() argument
531 list->command.command = WBT_CMD_REQ_SYNC; in WBT_CreateCommandSYNC()
549 void WBT_CreateCommandINFO(WBTContext *work, WBTCommandList *list, in WBT_CreateCommandINFO() argument
552 WBTGetBlockCallback *arg = &list->command.get; in WBT_CreateCommandINFO()
563 list->command.command = WBT_CMD_REQ_GET_BLOCKINFO; in WBT_CreateCommandINFO()
583 void WBT_CreateCommandGET(WBTContext *work, WBTCommandList * list, in WBT_CreateCommandGET() argument
588 WBTGetBlockCallback *arg = &list->command.get; in WBT_CreateCommandGET()
594 list->command.command = WBT_CMD_REQ_GET_BLOCK; in WBT_CreateCommandGET()
612 void WBT_CreateCommandMSG(WBTContext *work, WBTCommandList *list, in WBT_CreateCommandMSG() argument
615 WBTRecvUserDataCallback *arg = &list->command.user_data; in WBT_CreateCommandMSG()
620 list->command.command = WBT_CMD_REQ_USER_DATA; in WBT_CreateCommandMSG()
636 void WBT_PostCommand(WBTContext *work, WBTCommandList *list, u16 bitmap,
653 WBTCommandList *list = WBT_AllocCommandList(context); in WBT_PostCommandSYNC() local
654 if (list) in WBT_PostCommandSYNC()
656 WBT_CreateCommandSYNC(context, list); in WBT_PostCommandSYNC()
657 WBT_PostCommand(context, list, (u16)bitmap, callback); in WBT_PostCommandSYNC()
659 return (list != NULL); in WBT_PostCommandSYNC()
681 WBTCommandList *list = WBT_AllocCommandList(context); in WBT_PostCommandINFO() local
682 if (list) in WBT_PostCommandINFO()
684 WBT_CreateCommandINFO(context, list, index, buffer_table); in WBT_PostCommandINFO()
685 WBT_PostCommand(context, list, (u16)bitmap, callback); in WBT_PostCommandINFO()
687 return (list != NULL); in WBT_PostCommandINFO()
712 WBTCommandList *list = WBT_AllocCommandList(context); in WBT_PostCommandGET() local
713 if (list) in WBT_PostCommandGET()
715 WBT_CreateCommandGET(context, list, id, length, buffer_table, bitmap_table); in WBT_PostCommandGET()
716 WBT_PostCommand(context, list, (u16)bitmap, callback); in WBT_PostCommandGET()
718 return (list != NULL); in WBT_PostCommandGET()
740 WBTCommandList *list = WBT_AllocCommandList(context); in WBT_PostCommandMSG() local
741 if (list) in WBT_PostCommandMSG()
743 WBT_CreateCommandMSG(context, list, buffer, length); in WBT_PostCommandMSG()
744 WBT_PostCommand(context, list, (u16)bitmap, callback); in WBT_PostCommandMSG()
746 return (list != NULL); in WBT_PostCommandMSG()
798 BOOL WBT_RegisterBlockInfo(WBTContext * work, WBTBlockInfoList *list, u32 id,