Searched defs:client (Results 1 - 14 of 14) sorted by relevance

/net/ceph/
H A Ddebugfs.c20 * /sys/kernel/debug/ceph/client* - an instance of the ceph client
24 * .../monc - mon client state
35 struct ceph_client *client = s->private; local
37 if (client->monc.monmap == NULL)
40 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch);
41 for (i = 0; i < client->monc.monmap->num_mon; i++) {
43 &client->monc.monmap->mon_inst[i];
55 struct ceph_client *client = s->private; local
56 struct ceph_osdmap *map = client
110 struct ceph_client *client = s->private; local
144 struct ceph_client *client = s->private; local
200 ceph_debugfs_client_init(struct ceph_client *client) argument
254 ceph_debugfs_client_cleanup(struct ceph_client *client) argument
275 ceph_debugfs_client_init(struct ceph_client *client) argument
280 ceph_debugfs_client_cleanup(struct ceph_client *client) argument
[all...]
H A Dceph_common.c99 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) argument
101 if (client->have_fsid) {
102 if (ceph_fsid_compare(&client->fsid, fsid)) {
104 &client->fsid, fsid);
108 memcpy(&client->fsid, fsid, sizeof(*fsid));
126 struct ceph_client *client)
129 struct ceph_options *opt2 = client->options;
168 if (ceph_monmap_contains(client->monc.monmap,
479 u64 ceph_client_id(struct ceph_client *client) argument
481 return client
125 ceph_compare_options(struct ceph_options *new_opt, struct ceph_client *client) argument
492 struct ceph_client *client; local
539 ceph_destroy_client(struct ceph_client *client) argument
562 have_mon_and_osd_map(struct ceph_client *client) argument
571 __ceph_open_session(struct ceph_client *client, unsigned long started) argument
602 ceph_open_session(struct ceph_client *client) argument
[all...]
H A Dmon_client.c314 ret = wait_event_interruptible_timeout(monc->client->auth_wq,
347 (int)monc->client->have_fsid, monc->auth->global_id);
348 return monc->client->have_fsid && monc->auth->global_id > 0;
353 * included client ticket allows the client to talk to MDSs and OSDs.
358 struct ceph_client *client = monc->client; local
378 if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) {
383 client->monc.monmap = monmap;
386 if (!client
[all...]
H A Dosd_client.c42 * Implement client access to distributed object storage cluster.
894 * requests back on the front of the osd client's unsent
899 * front of the osd client's unsent list. Once we've seen a
974 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr);
997 struct ceph_auth_client *ac = osd->o_osdc->client->monc.auth;
1038 osd->lru_ttl = jiffies + osdc->client->options->osd_idle_ttl * HZ;
1150 osdc->client->options->osd_keepalive_timeout * HZ);
1499 ceph_monc_request_next_osdmap(&osdc->client->monc);
1523 osdc->client->options->osd_keepalive_timeout * HZ;
1528 ceph_monc_request_next_osdmap(&osdc->client
2535 ceph_osdc_init(struct ceph_osd_client *osdc, struct ceph_client *client) argument
[all...]
/net/atm/
H A Dmpoa_caches.c35 struct mpoa_client *client)
39 read_lock_bh(&client->ingress_lock);
40 entry = client->in_cache;
44 read_unlock_bh(&client->ingress_lock);
49 read_unlock_bh(&client->ingress_lock);
55 struct mpoa_client *client,
60 read_lock_bh(&client->ingress_lock);
61 entry = client->in_cache;
65 read_unlock_bh(&client->ingress_lock);
70 read_unlock_bh(&client
34 in_cache_get(__be32 dst_ip, struct mpoa_client *client) argument
54 in_cache_get_with_mask(__be32 dst_ip, struct mpoa_client *client, __be32 mask) argument
76 in_cache_get_by_vcc(struct atm_vcc *vcc, struct mpoa_client *client) argument
96 in_cache_add_entry(__be32 dst_ip, struct mpoa_client *client) argument
190 in_cache_remove_entry(in_cache_entry *entry, struct mpoa_client *client) argument
226 clear_count_and_expired(struct mpoa_client *client) argument
250 check_resolving_entries(struct mpoa_client *client) argument
300 refresh_entries(struct mpoa_client *client) argument
427 eg_cache_remove_entry(eg_cache_entry *entry, struct mpoa_client *client) argument
458 eg_cache_add_entry(struct k_message *msg, struct mpoa_client *client) argument
502 clear_expired(struct mpoa_client *client) argument
[all...]
H A Dmpc.c38 * mpc.c: Implementation of MPOA client kernel part
461 * For a freshly allocated MPOA client mpc->mps_macs == 0.
530 /* MPOA spec A.1.4, MPOA client must decrement IP ttl at least by one */
1118 struct mpoa_client *client,
1123 eg_cache_entry *eg_entry = client->eg_ops->get_by_src_ip(dst_ip, client);
1136 client->dev->name, &dst_ip);
1137 client->eg_ops->put(eg_entry);
1142 client->eg_ops->put(eg_entry);
1150 client
1117 check_qos_and_open_shortcut(struct k_message *msg, struct mpoa_client *client, in_cache_entry *entry) argument
1371 set_mps_mac_addr_rcvd(struct k_message *msg, struct mpoa_client *client) argument
[all...]
/net/9p/
H A Dtrans_virtio.c46 #include <net/9p/client.h>
66 * @client: client instance
82 struct p9_client *client; member in struct:virtio_chan
113 * @client: client instance
120 static void p9_virtio_close(struct p9_client *client) argument
122 struct virtio_chan *chan = client->trans;
166 req = p9_tag_lookup(chan->client, rc->tag);
167 p9_client_cb(chan->client, re
208 p9_virtio_cancel(struct p9_client *client, struct p9_req_t *req) argument
263 p9_virtio_request(struct p9_client *client, struct p9_req_t *req) argument
366 p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, char *uidata, char *uodata, int inlen, int outlen, int in_hdr_len, int kern_buf) argument
614 p9_virtio_create(struct p9_client *client, const char *devname, char *args) argument
[all...]
H A Dtrans_rdma.c47 #include <net/9p/client.h>
133 * to be any deeper than the number of threads used in the client
280 handle_recv(struct p9_client *client, struct p9_trans_rdma *rdma, argument
288 ib_dma_unmap_single(rdma->cm_id->device, c->busa, client->msize,
298 req = p9_tag_lookup(client, tag);
310 p9_client_cb(client, req, REQ_STATUS_RCVD);
317 client->status = Disconnected;
321 handle_send(struct p9_client *client, struct p9_trans_rdma *rdma, argument
337 struct p9_client *client = cq_context; local
338 struct p9_trans_rdma *rdma = client
395 post_recv(struct p9_client *client, struct p9_rdma_context *c) argument
423 rdma_request(struct p9_client *client, struct p9_req_t *req) argument
552 rdma_close(struct p9_client *client) argument
592 rdma_cancel(struct p9_client *client, struct p9_req_t *req) argument
603 rdma_cancelled(struct p9_client *client, struct p9_req_t *req) argument
617 rdma_create_trans(struct p9_client *client, const char *addr, char *args) argument
[all...]
H A Dtrans_fd.c45 #include <net/9p/client.h>
105 * @client: reference to client instance for this connection
128 struct p9_client *client; member in struct:p9_conn
205 spin_lock_irqsave(&m->client->lock, flags);
208 spin_unlock_irqrestore(&m->client->lock, flags);
220 spin_unlock_irqrestore(&m->client->lock, flags);
227 p9_client_cb(m->client, req, REQ_STATUS_ERROR);
232 p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt) argument
237 if (client
271 p9_fd_read(struct p9_client *client, void *v, int len) argument
413 p9_fd_write(struct p9_client *client, void *v, int len) argument
578 p9_conn_create(struct p9_client *client) argument
660 p9_fd_request(struct p9_client *client, struct p9_req_t *req) argument
687 p9_fd_cancel(struct p9_client *client, struct p9_req_t *req) argument
705 p9_fd_cancelled(struct p9_client *client, struct p9_req_t *req) argument
785 p9_fd_open(struct p9_client *client, int rfd, int wfd) argument
809 p9_socket_open(struct p9_client *client, struct socket *csocket) argument
865 p9_fd_close(struct p9_client *client) argument
924 p9_fd_create_tcp(struct p9_client *client, const char *addr, char *args) argument
975 p9_fd_create_unix(struct p9_client *client, const char *addr, char *args) argument
1012 p9_fd_create(struct p9_client *client, const char *addr, char *args) argument
[all...]
/net/caif/
H A Dcfctrl.c220 pr_err("Duplicate connect request for same client\n");
305 struct cflayer *client)
304 cfctrl_linkdown_req(struct cflayer *layer, u8 channelid, struct cflayer *client) argument
/net/batman-adv/
H A Dpacket.h123 * enum batadv_tt_client_flags - TT client specific flags
124 * @BATADV_TT_CLIENT_DEL: the client has to be deleted from the table
125 * @BATADV_TT_CLIENT_ROAM: the client roamed to/from another node and the new
127 * @BATADV_TT_CLIENT_WIFI: this client is connected through a wifi interface.
129 * @BATADV_TT_CLIENT_ISOLA: this client is considered "isolated". This
131 * @BATADV_TT_CLIENT_NOPURGE: this client should never be removed from the table
132 * @BATADV_TT_CLIENT_NEW: this client has been added to the local table but has
134 * @BATADV_TT_CLIENT_PENDING: this client is marked for removal but it is kept
136 * @BATADV_TT_CLIENT_TEMP: this global client has been detected to be part of
519 * @flags: status indicators concerning the non-mesh client (se
538 uint8_t client[ETH_ALEN]; member in struct:batadv_tvlv_roam_adv
[all...]
H A Dtranslation-table.c35 static void batadv_send_roam_adv(struct batadv_priv *bat_priv, uint8_t *client,
81 * batadv_tt_hash_find - look for a client in the given hash table
83 * @addr: the mac address of the client to look for
86 * Returns a pointer to the tt_common struct belonging to the searched client if
126 * batadv_tt_local_hash_find - search the local table for a given client
128 * @addr: the mac address of the client to look for
131 * Returns a pointer to the corresponding tt_local_entry struct if the client is
151 * batadv_tt_global_hash_find - search the global table for a given client
153 * @addr: the mac address of the client to look for
156 * Returns a pointer to the corresponding tt_global_entry struct if the client
2982 batadv_tt_check_roam_count(struct batadv_priv *bat_priv, uint8_t *client) argument
3038 batadv_send_roam_adv(struct batadv_priv *bat_priv, uint8_t *client, unsigned short vid, struct batadv_orig_node *orig_node) argument
[all...]
/net/irda/
H A Dirlmp.c163 /* Does the client care which Source LSAP selector it gets? */
421 * be more than one IrDA port on this machine. If the client has
896 * If the caller has registered a client discovery callback, this
963 * The client may have defined a callback to be notified in case of
967 irlmp_notify_client(irlmp_client_t *client, argument
976 /* Check if client wants or not partial/selective log (optimisation) */
977 if (!client->disco_callback)
993 * Now, check all discovered devices (if any), and notify client
994 * only about the services that the client is interested in
999 client
1022 irlmp_client_t *client; local
1056 irlmp_client_t *client; local
1568 irlmp_client_t *client; local
1605 irlmp_client_t *client; local
1633 struct irlmp_client *client; local
[all...]
/net/sunrpc/auth_gss/
H A Dauth_gss.c4 * RPCSEC_GSS client authentication.
95 struct rpc_clnt *client; member in struct:gss_auth
989 dprintk("RPC: creating GSS authenticator for client %p\n", clnt);
1002 gss_auth->client = clnt;
1117 * common client with the same xprt, if they also share the flavor and
1137 if (gss_auth->client != clnt)
1224 task = rpc_call_null(gss_auth->client, cred, RPC_TASK_ASYNC|RPC_TASK_SOFT);

Completed in 213 milliseconds