Searched refs:nbd_dev (Results 1 – 1 of 1) sorted by relevance
65 static struct nbd_device nbd_dev[MAX_NBD]; variable110 nbd_dev[dev].refcnt++; in nbd_open()306 if (lo != &nbd_dev[MINOR(req->rq_dev)]) { in nbd_do_it()376 lo = &nbd_dev[dev]; in do_nbd_request()441 lo = &nbd_dev[dev]; in nbd_ioctl()575 lo = &nbd_dev[dev]; in nbd_release()618 nbd_dev[i].refcnt = 0; in nbd_init()619 nbd_dev[i].file = NULL; in nbd_init()620 nbd_dev[i].magic = LO_MAGIC; in nbd_init()621 nbd_dev[i].flags = 0; in nbd_init()[all …]