Home
last modified time | relevance | path

Searched refs:ds_clp (Results 1 – 8 of 8) sorted by relevance

/linux/fs/nfs/
H A Dpnfs_nfs.c28 nfs_put_client(hdr->ds_clp); in pnfs_generic_rw_release()
59 nfs_put_client(data->ds_clp); in pnfs_generic_commit_release()
531 refcount_read(&ds->ds_count), ds->ds_clp, in print_ds()
532 ds->ds_clp ? ds->ds_clp->cl_exchange_flags : 0); in print_ds()
642 nfs_put_client(ds->ds_clp); in destroy_ds()
749 ds->ds_clp = NULL; in nfs4_pnfs_ds_add()
874 WRITE_ONCE(ds->ds_clp, clp); in _nfs4_pnfs_v3_ds_connect()
994 WRITE_ONCE(ds->ds_clp, clp); in _nfs4_pnfs_v4_ds_connect()
1013 if (err || ds->ds_clp) in nfs4_pnfs_ds_connect()
1021 if (ds->ds_clp) in nfs4_pnfs_ds_connect()
[all …]
H A Dnfs4client.c61 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_find_ds_client() argument
66 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { in nfs4_find_ds_client()
78 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, in nfs4_add_ds_client() argument
83 spin_lock(&ds_clp->cl_lock); in nfs4_add_ds_client()
84 list_for_each_entry(dss, &ds_clp->cl_ds_clients, list) { in nfs4_add_ds_client()
90 list_add_rcu(&new->list, &ds_clp->cl_ds_clients); in nfs4_add_ds_client()
93 spin_unlock(&ds_clp->cl_lock); /* need some lock to protect list */ in nfs4_add_ds_client()
98 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_alloc_ds_server() argument
106 dss->rpc_clnt = rpc_clone_client_set_auth(ds_clp->cl_rpcclient, flavor); in nfs4_alloc_ds_server()
133 nfs4_find_or_create_ds_client(struct nfs_client *ds_clp, struct inode *inode) in nfs4_find_or_create_ds_client() argument
[all …]
H A Dpnfs.h64 struct nfs_client *ds_clp; member
H A Dnfs4proc.c5678 if (nfs_server_capable(hdr->inode, NFS_CAP_READ_PLUS) && !hdr->ds_clp) { in nfs42_read_plus_support()
5778 if (hdr->ds_clp != NULL || hdr->dreq != NULL) in nfs4_write_need_cache_consistency_data()
5845 nfs4_state_protect_write(hdr->ds_clp ? hdr->ds_clp : server->nfs_client, clnt, msg, hdr);
5887 nfs4_state_protect(data->ds_clp ? data->ds_clp : server->nfs_client, in nfs4_proc_commit_setup()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c391 if (READ_ONCE(ds->ds_clp)) in nfs4_ff_layout_prepare_ds()
411 nfs_local_probe_async(ds->ds_clp); in nfs4_ff_layout_prepare_ds()
413 nfs_block_size(rpc_max_payload(ds->ds_clp->cl_rpcclient), in nfs4_ff_layout_prepare_ds()
464 struct nfs_client *ds_clp, struct inode *inode, in nfs4_ff_find_or_create_ds_client() argument
470 return ds_clp->cl_rpcclient; in nfs4_ff_find_or_create_ds_client()
472 return nfs4_find_or_create_ds_client(ds_clp, inode); in nfs4_ff_find_or_create_ds_client()
H A Dflexfilelayout.h243 struct nfs_client *ds_clp,
/linux/fs/nfs/filelayout/
H A Dfilelayoutdev.c278 if (ds->ds_clp) in nfs4_fl_prepare_ds()
291 if (ret->ds_clp == NULL || in nfs4_fl_prepare_ds()
/linux/include/linux/
H A Dnfs_xdr.h1688 struct nfs_client *ds_clp; /* pNFS data server */
1689 u32 ds_commit_idx; /* ds index if ds_clp is set */
1728 struct nfs_client *ds_clp; /* pNFS data server */
1686 struct nfs_client *ds_clp; /* pNFS data server */ global() member
1726 struct nfs_client *ds_clp; /* pNFS data server */ global() member