Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/9p/
Dclient.h152 struct p9_client { struct
186 struct p9_client *clnt;
221 struct p9_client *p9_client_create(const char *dev_name, char *options);
222 void p9_client_destroy(struct p9_client *clnt);
223 void p9_client_disconnect(struct p9_client *clnt);
224 void p9_client_begin_disconnect(struct p9_client *clnt);
225 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
244 int p9dirent_read(struct p9_client *clnt, char *buf, int len,
259 struct p9_req_t *p9_tag_lookup(struct p9_client *, u16);
260 void p9_client_cb(struct p9_client *c, struct p9_req_t *req, int status);
[all …]
Dtransport.h58 int (*create)(struct p9_client *, const char *, char *);
59 void (*close) (struct p9_client *);
60 int (*request) (struct p9_client *, struct p9_req_t *req);
61 int (*cancel) (struct p9_client *, struct p9_req_t *req);
62 int (*cancelled)(struct p9_client *, struct p9_req_t *req);
63 int (*zc_request)(struct p9_client *, struct p9_req_t *,
/linux-4.4.14/net/9p/
Dclient.c68 inline int p9_is_proto_dotl(struct p9_client *clnt) in p9_is_proto_dotl()
74 inline int p9_is_proto_dotu(struct p9_client *clnt) in p9_is_proto_dotu()
122 static int parse_opts(char *opts, struct p9_client *clnt) in parse_opts()
235 p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size) in p9_tag_alloc()
310 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) in p9_tag_lookup()
336 static int p9_tag_init(struct p9_client *c) in p9_tag_init()
362 static void p9_tag_cleanup(struct p9_client *c) in p9_tag_cleanup()
403 static void p9_free_req(struct p9_client *c, struct p9_req_t *r) in p9_free_req()
419 void p9_client_cb(struct p9_client *c, struct p9_req_t *req, int status) in p9_client_cb()
495 static int p9_check_errors(struct p9_client *c, struct p9_req_t *req) in p9_check_errors()
[all …]
Dtrans_rdma.c237 struct p9_client *c = id->context; in p9_cm_event_handler()
287 handle_recv(struct p9_client *client, struct p9_trans_rdma *rdma, in handle_recv()
328 handle_send(struct p9_client *client, struct p9_trans_rdma *rdma, in handle_send()
344 struct p9_client *client = cq_context; in cq_comp_handler()
399 post_recv(struct p9_client *client, struct p9_rdma_context *c) in post_recv()
427 static int rdma_request(struct p9_client *client, struct p9_req_t *req) in rdma_request()
556 static void rdma_close(struct p9_client *client) in rdma_close()
596 static int rdma_cancel(struct p9_client *client, struct p9_req_t *req) in rdma_cancel()
607 static int rdma_cancelled(struct p9_client *client, struct p9_req_t *req) in rdma_cancelled()
638 rdma_create_trans(struct p9_client *client, const char *addr, char *args) in rdma_create_trans()
Dtrans_fd.c128 struct p9_client *client;
232 p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt) in p9_fd_poll()
271 static int p9_fd_read(struct p9_client *client, void *v, int len) in p9_fd_read()
413 static int p9_fd_write(struct p9_client *client, void *v, int len) in p9_fd_write()
578 static void p9_conn_create(struct p9_client *client) in p9_conn_create()
660 static int p9_fd_request(struct p9_client *client, struct p9_req_t *req) in p9_fd_request()
687 static int p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) in p9_fd_cancel()
705 static int p9_fd_cancelled(struct p9_client *client, struct p9_req_t *req) in p9_fd_cancelled()
786 static int p9_fd_open(struct p9_client *client, int rfd, int wfd) in p9_fd_open()
810 static int p9_socket_open(struct p9_client *client, struct socket *csocket) in p9_socket_open()
[all …]
Dtrans_virtio.c82 struct p9_client *client;
120 static void p9_virtio_close(struct p9_client *client) in p9_virtio_close()
208 static int p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req) in p9_virtio_cancel()
261 p9_virtio_request(struct p9_client *client, struct p9_req_t *req) in p9_virtio_request()
396 p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, in p9_virtio_zc_request()
644 p9_virtio_create(struct p9_client *client, const char *devname, char *args) in p9_virtio_create()
Dprotocol.h32 int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu);
Dprotocol.c554 int p9stat_read(struct p9_client *clnt, char *buf, int len, struct p9_wstat *st) in p9stat_read()
580 int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu) in p9pdu_finalize()
602 int p9dirent_read(struct p9_client *clnt, char *buf, int len, in p9dirent_read()
/linux-4.4.14/include/trace/events/
D9p.h100 TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
122 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err),
148 TP_PROTO(struct p9_client *clnt, struct p9_fcall *pdu),
/linux-4.4.14/fs/9p/
Dv9fs.h115 struct p9_client *clnt; /* 9p client */