Home
last modified time | relevance | path

Searched refs:p9_client (Results 1 – 12 of 12) sorted by relevance

/linux/include/net/9p/
H A Dclient.h108 struct p9_client { struct
245 struct p9_client *clnt;
276 int p9_show_client_options(struct seq_file *m, struct p9_client *clnt);
282 struct p9_client *p9_client_create(struct fs_context *fc);
283 void p9_client_destroy(struct p9_client *clnt);
284 void p9_client_disconnect(struct p9_client *clnt);
285 void p9_client_begin_disconnect(struct p9_client *clnt);
286 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
309 int p9dirent_read(struct p9_client *clnt, char *buf, int len,
325 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag);
[all …]
H A Dtransport.h59 int (*create)(struct p9_client *client,
61 void (*close)(struct p9_client *client);
62 int (*request)(struct p9_client *client, struct p9_req_t *req);
63 int (*cancel)(struct p9_client *client, struct p9_req_t *req);
64 int (*cancelled)(struct p9_client *client, struct p9_req_t *req);
65 int (*zc_request)(struct p9_client *client, struct p9_req_t *req,
68 int (*show_options)(struct seq_file *m, struct p9_client *client);
/linux/net/9p/
H A Dclient.c36 inline int p9_is_proto_dotl(struct p9_client *clnt) in p9_is_proto_dotl()
42 inline int p9_is_proto_dotu(struct p9_client *clnt) in p9_is_proto_dotu()
48 int p9_show_client_options(struct seq_file *m, struct p9_client *clnt) in p9_show_client_options()
84 static int apply_client_options(struct p9_client *clnt, struct fs_context *fc) in apply_client_options()
96 static int p9_fcall_init(struct p9_client *c, struct p9_fcall *fc, in p9_fcall_init()
155 p9_tag_alloc(struct p9_client *c, int8_t type, uint t_size, uint r_size, in p9_tag_alloc()
235 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) in p9_tag_lookup()
268 static void p9_tag_remove(struct p9_client *c, struct p9_req_t *r) in p9_tag_remove()
279 int p9_req_put(struct p9_client *c, struct p9_req_t *r) in p9_req_put()
300 static void p9_tag_cleanup(struct p9_client *c) in p9_tag_cleanup()
[all …]
H A Dtrans_rdma.c109 static int p9_rdma_show_options(struct seq_file *m, struct p9_client *clnt) in p9_rdma_show_options()
129 struct p9_client *c = id->context; in p9_cm_event_handler()
180 struct p9_client *client = cq->cq_context; in recv_done()
231 struct p9_client *client = cq->cq_context; in send_done()
271 post_recv(struct p9_client *client, struct p9_rdma_context *c) in post_recv()
306 static int rdma_request(struct p9_client *client, struct p9_req_t *req) in rdma_request()
439 static void rdma_close(struct p9_client *client) in rdma_close()
481 static int rdma_cancel(struct p9_client *client, struct p9_req_t *req) in rdma_cancel()
492 static int rdma_cancelled(struct p9_client *client, struct p9_req_t *req) in rdma_cancelled()
522 rdma_create_trans(struct p9_client *client, struct fs_context *fc) in rdma_create_trans()
H A Dtrans_fd.c79 struct p9_client *client;
188 p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt, int *err) in p9_fd_poll()
216 static int p9_fd_read(struct p9_client *client, void *v, int len) in p9_fd_read()
384 static int p9_fd_write(struct p9_client *client, void *v, int len) in p9_fd_write()
549 static void p9_conn_create(struct p9_client *client) in p9_conn_create()
631 static int p9_fd_request(struct p9_client *client, struct p9_req_t *req) in p9_fd_request()
657 static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) in p9_fd_cancel()
678 static int p9_fd_cancelled(struct p9_client *client, struct p9_req_t *req) in p9_fd_cancelled()
706 static int p9_fd_show_options(struct seq_file *m, struct p9_client *clnt) in p9_fd_show_options()
720 static int p9_fd_open(struct p9_client *client, int rfd, int wfd) in p9_fd_open()
[all …]
H A Dprotocol.h11 size_t p9_msg_buf_size(struct p9_client *c, enum p9_msg_t type,
17 int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu);
H A Dtrans_virtio.c69 struct p9_client *client;
105 static void p9_virtio_close(struct p9_client *client) in p9_virtio_close()
193 static int p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req) in p9_virtio_cancel()
199 static int p9_virtio_cancelled(struct p9_client *client, struct p9_req_t *req) in p9_virtio_cancelled()
255 p9_virtio_request(struct p9_client *client, struct p9_req_t *req) in p9_virtio_request()
420 p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, in p9_virtio_zc_request()
692 p9_virtio_create(struct p9_client *client, struct fs_context *fc) in p9_virtio_create()
H A Dtrans_xen.c56 struct p9_client *client;
65 static int p9_xen_cancel(struct p9_client *client, struct p9_req_t *req) in p9_xen_cancel()
70 static int p9_xen_create(struct p9_client *client, struct fs_context *fc) in p9_xen_create()
90 static void p9_xen_close(struct p9_client *client) in p9_xen_close()
117 static int p9_xen_request(struct p9_client *client, struct p9_req_t *p9_req) in p9_xen_request()
H A Dtrans_usbg.c41 struct p9_client *client;
350 struct p9_client *client; in enable_usb9pfs()
380 static int p9_usbg_create(struct p9_client *client, struct fs_context *fc) in p9_usbg_create()
444 static void p9_usbg_close(struct p9_client *client) in p9_usbg_close()
471 static int p9_usbg_request(struct p9_client *client, struct p9_req_t *p9_req) in p9_usbg_request()
494 static int p9_usbg_cancel(struct p9_client *client, struct p9_req_t *req) in p9_usbg_cancel()
H A Dprotocol.c43 size_t p9_msg_buf_size(struct p9_client *c, enum p9_msg_t type, in p9_msg_buf_size()
719 int p9stat_read(struct p9_client *clnt, char *buf, int len, struct p9_wstat *st) in p9stat_read()
746 int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu) in p9pdu_finalize()
768 int p9dirent_read(struct p9_client *clnt, char *buf, int len, in p9dirent_read()
/linux/include/trace/events/
H A D9p.h125 TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
147 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err),
173 TP_PROTO(struct p9_client *clnt, struct p9_fcall *pdu),
/linux/fs/9p/
H A Dv9fs.h130 struct p9_client *clnt; /* 9p client */