Lines Matching defs:nbd
82 static inline struct device *nbd_to_dev(struct nbd_device *nbd) in nbd_to_dev()
99 static void nbd_end_request(struct nbd_device *nbd, struct request *req) in nbd_end_request()
116 static void sock_shutdown(struct nbd_device *nbd, int lock) in sock_shutdown()
141 static int sock_xmit(struct nbd_device *nbd, int send, void *buf, int size, in sock_xmit()
216 static inline int sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, in sock_send_bvec()
228 static int nbd_send_req(struct nbd_device *nbd, struct request *req) in nbd_send_req()
280 static struct request *nbd_find_request(struct nbd_device *nbd, in nbd_find_request()
303 static inline int sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) in sock_recv_bvec()
314 static struct request *nbd_read_stat(struct nbd_device *nbd) in nbd_read_stat()
391 static int nbd_do_it(struct nbd_device *nbd) in nbd_do_it()
415 static void nbd_clear_que(struct nbd_device *nbd) in nbd_clear_que()
450 static void nbd_handle_req(struct nbd_device *nbd, struct request *req) in nbd_handle_req()
509 struct nbd_device *nbd = data; in nbd_thread() local
548 struct nbd_device *nbd; in do_nbd_request() local
580 static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, in __nbd_ioctl()
742 struct nbd_device *nbd = bdev->bd_disk->private_data; in nbd_ioctl() local