Searched defs:offCfg (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Devices/Network/ |
H A D | DevVirtioNet.cpp | 413 static DECLCALLBACK(int) vnetIoCb_GetConfig(void *pvState, uint32_t offCfg, uint32_t cb, void *data) argument 416 if (offCfg + cb > sizeof(struct VNetPCIConfig)) 418 Log(("%s vnetIoCb_GetConfig: Read beyond the config structure is attempted (offCfg=%#x cb=%x).\n", INSTANCE(pThis), offCfg, cb)); 421 memcpy(data, (uint8_t *)&pThis->config + offCfg, cb); 425 static DECLCALLBACK(int) vnetIoCb_SetConfig(void *pvState, uint32_t offCfg, uint32_t cb, void *data) argument 428 if (offCfg + cb > sizeof(struct VNetPCIConfig)) 430 Log(("%s vnetIoCb_SetConfig: Write beyond the config structure is attempted (offCfg=%#x cb=%x).\n", INSTANCE(pThis), offCfg, cb)); 431 if (offCfg < sizeo [all...] |
Completed in 68 milliseconds