Searched refs:nbd_devices (Results 1 – 1 of 1) sorted by relevance
70 #define WHICH(dev) ((int)(dev - nbd_devices))460 static struct nbd_device nbd_devices[MAX_NBDS]; variable820 nbd_devices[i].valid = false; in init_driver()821 nbd_devices[i].readonly = false; in init_driver()822 mutex_init(&nbd_devices[i].ben, "nbd lock"); in init_driver()823 nbd_devices[i].refcnt = 0; in init_driver()824 nbd_devices[i].req = 0LL; /* next ID for requests */ in init_driver()825 nbd_devices[i].sock = -1; in init_driver()826 nbd_devices[i].postoffice = -1; in init_driver()827 nbd_devices[i].size = 0LL; in init_driver()[all …]