Lines Matching refs:mDevicesById
84 , mDevicesById(0), mNumDevicesById(0)
247 device_t* dev = mDevicesById[id].device;
488 if (mDevicesById[devid].device == NULL) {
494 device_ent* new_devids = (device_ent*)realloc(mDevicesById,
495 sizeof(mDevicesById[0]) * (devid + 1));
500 mDevicesById = new_devids;
502 mDevicesById[devid].device = NULL;
503 mDevicesById[devid].seq = 0;
506 mDevicesById[devid].seq = (mDevicesById[devid].seq+(1<<SEQ_SHIFT))&SEQ_MASK;
507 if (mDevicesById[devid].seq == 0) {
508 mDevicesById[devid].seq = 1<<SEQ_SHIFT;
534 device_t* device = new device_t(devid|mDevicesById[devid].seq, deviceName);
668 mDevicesById[devid].device = device;
688 mDevicesById[index].device = NULL;