Lines Matching defs:nbd

76 #define nbd_name(nbd) ((nbd)->disk->disk_name)  argument
96 static inline struct device *nbd_to_dev(struct nbd_device *nbd) in nbd_to_dev()
113 static void nbd_end_request(struct nbd_device *nbd, struct request *req) in nbd_end_request()
130 static void sock_shutdown(struct nbd_device *nbd) in sock_shutdown()
143 struct nbd_device *nbd = (struct nbd_device *)arg; in nbd_xmit_timeout() local
167 static int sock_xmit(struct nbd_device *nbd, int send, void *buf, int size, in sock_xmit()
224 static inline int sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, in sock_send_bvec()
236 static int nbd_send_req(struct nbd_device *nbd, struct request *req) in nbd_send_req()
299 static struct request *nbd_find_request(struct nbd_device *nbd, in nbd_find_request()
322 static inline int sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) in sock_recv_bvec()
333 static struct request *nbd_read_stat(struct nbd_device *nbd) in nbd_read_stat()
395 struct nbd_device *nbd = (struct nbd_device *)disk->private_data; in pid_show() local
405 static int nbd_thread_recv(struct nbd_device *nbd) in nbd_thread_recv()
459 static void nbd_clear_que(struct nbd_device *nbd) in nbd_clear_que()
495 static void nbd_handle_req(struct nbd_device *nbd, struct request *req) in nbd_handle_req()
545 struct nbd_device *nbd = data; in nbd_thread_send() local
609 struct nbd_device *nbd; in nbd_request_handler() local
644 static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, in __nbd_ioctl()
811 struct nbd_device *nbd = bdev->bd_disk->private_data; in nbd_ioctl() local
836 struct nbd_device *nbd = s->private; in nbd_dbg_tasks_show() local
860 struct nbd_device *nbd = s->private; in nbd_dbg_flags_show() local
891 static int nbd_dev_dbg_init(struct nbd_device *nbd) in nbd_dev_dbg_init()
942 static void nbd_dev_dbg_close(struct nbd_device *nbd) in nbd_dev_dbg_close()
967 static int nbd_dev_dbg_init(struct nbd_device *nbd) in nbd_dev_dbg_init()
972 static void nbd_dev_dbg_close(struct nbd_device *nbd) in nbd_dev_dbg_close()