Lines Matching defs:nbd_device
51 struct nbd_device { struct
52 int flags;
53 int harderror; /* Code of hard error */
54 struct socket * sock;
55 struct file * file; /* If == NULL, device is not ready, yet */
56 int magic;
58 spinlock_t queue_lock;
59 struct list_head queue_head; /* Requests waiting result */
60 struct request *active_req;
61 wait_queue_head_t active_wq;
62 struct list_head waiting_queue; /* Requests to be sent */
63 wait_queue_head_t waiting_wq;
65 struct mutex tx_lock;
66 struct gendisk *disk;
67 int blksize;
68 u64 bytesize;
69 pid_t pid; /* pid of nbd-client, if attached */
70 int xmit_timeout;