Searched refs:ds_clp (Results 1 - 11 of 11) sorted by relevance

/linux-4.1.27/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c860 hdr->ds_clp, hdr->lseg, ff_layout_read_done_cb()
945 static int ff_layout_setup_sequence(struct nfs_client *ds_clp, ff_layout_setup_sequence() argument
950 if (ds_clp->cl_session) ff_layout_setup_sequence()
951 return nfs41_setup_sequence(ds_clp->cl_session, ff_layout_setup_sequence()
955 return nfs40_setup_sequence(ds_clp->cl_slot_tbl, ff_layout_setup_sequence()
968 if (ff_layout_setup_sequence(hdr->ds_clp, ff_layout_read_prepare_v4()
1017 hdr->ds_clp, hdr->lseg, ff_layout_write_done_cb()
1063 err = ff_layout_async_handle_error(task, NULL, data->ds_clp, ff_layout_commit_done_cb()
1127 if (ff_layout_setup_sequence(hdr->ds_clp, ff_layout_write_prepare_v4()
1169 ff_layout_setup_sequence(wdata->ds_clp, ff_layout_commit_prepare_v4()
1245 ds_clnt = nfs4_ff_find_or_create_ds_client(lseg, idx, ds->ds_clp, ff_layout_read_pagelist()
1257 ds->ds_remotestr, atomic_read(&ds->ds_clp->cl_count), vers); ff_layout_read_pagelist()
1259 atomic_inc(&ds->ds_clp->cl_count); ff_layout_read_pagelist()
1260 hdr->ds_clp = ds->ds_clp; ff_layout_read_pagelist()
1273 nfs_initiate_pgio(ds_clnt, hdr, ds_cred, ds->ds_clp->rpc_ops, ff_layout_read_pagelist()
1303 ds_clnt = nfs4_ff_find_or_create_ds_client(lseg, idx, ds->ds_clp, ff_layout_write_pagelist()
1316 offset, ds->ds_remotestr, atomic_read(&ds->ds_clp->cl_count), ff_layout_write_pagelist()
1320 atomic_inc(&ds->ds_clp->cl_count); ff_layout_write_pagelist()
1321 hdr->ds_clp = ds->ds_clp; ff_layout_write_pagelist()
1334 nfs_initiate_pgio(ds_clnt, hdr, ds_cred, ds->ds_clp->rpc_ops, ff_layout_write_pagelist()
1372 ds_clnt = nfs4_ff_find_or_create_ds_client(lseg, idx, ds->ds_clp, ff_layout_initiate_commit()
1384 data->inode->i_ino, how, atomic_read(&ds->ds_clp->cl_count), ff_layout_initiate_commit()
1388 atomic_inc(&ds->ds_clp->cl_count); ff_layout_initiate_commit()
1389 data->ds_clp = ds->ds_clp; ff_layout_initiate_commit()
1393 return nfs_initiate_commit(ds_clnt, data, ds->ds_clp->rpc_ops, ff_layout_initiate_commit()
H A Dflexfilelayoutdev.c311 if (ds->ds_clp && !mirror->cred && ff_layout_update_mirror_cred()
313 struct rpc_auth *auth = ds->ds_clp->cl_rpcclient->cl_auth; ff_layout_update_mirror_cred()
389 if (ds->ds_clp) nfs4_ff_layout_prepare_ds()
404 if (ds->ds_clp) { nfs4_ff_layout_prepare_ds()
406 nfs_block_size(rpc_max_payload(ds->ds_clp->cl_rpcclient), nfs4_ff_layout_prepare_ds()
465 struct nfs_client *ds_clp, struct inode *inode) nfs4_ff_find_or_create_ds_client()
472 return ds_clp->cl_rpcclient; nfs4_ff_find_or_create_ds_client()
474 return nfs4_find_or_create_ds_client(ds_clp, inode); nfs4_ff_find_or_create_ds_client()
464 nfs4_ff_find_or_create_ds_client(struct pnfs_layout_segment *lseg, u32 ds_idx, struct nfs_client *ds_clp, struct inode *inode) nfs4_ff_find_or_create_ds_client() argument
H A Dflexfilelayout.h150 struct nfs_client *ds_clp,
/linux-4.1.27/fs/nfs/filelayout/
H A Dfilelayout.c234 hdr->ds_clp, hdr->lseg); filelayout_read_done_cb()
303 if (nfs41_setup_sequence(hdr->ds_clp->cl_session, filelayout_read_prepare()
343 hdr->ds_clp, hdr->lseg); filelayout_write_done_cb()
364 err = filelayout_async_handle_error(task, NULL, data->ds_clp, filelayout_commit_done_cb()
396 if (nfs41_setup_sequence(hdr->ds_clp->cl_session, filelayout_write_prepare()
431 nfs41_setup_sequence(wdata->ds_clp->cl_session, filelayout_commit_prepare()
486 ds_clnt = nfs4_find_or_create_ds_client(ds->ds_clp, hdr->inode); filelayout_read_pagelist()
491 ds->ds_remotestr, atomic_read(&ds->ds_clp->cl_count)); filelayout_read_pagelist()
494 atomic_inc(&ds->ds_clp->cl_count); filelayout_read_pagelist()
495 hdr->ds_clp = ds->ds_clp; filelayout_read_pagelist()
529 ds_clnt = nfs4_find_or_create_ds_client(ds->ds_clp, hdr->inode); filelayout_write_pagelist()
535 offset, ds->ds_remotestr, atomic_read(&ds->ds_clp->cl_count)); filelayout_write_pagelist()
538 atomic_inc(&ds->ds_clp->cl_count); filelayout_write_pagelist()
539 hdr->ds_clp = ds->ds_clp; filelayout_write_pagelist()
1011 ds_clnt = nfs4_find_or_create_ds_client(ds->ds_clp, data->inode); filelayout_initiate_commit()
1016 data->inode->i_ino, how, atomic_read(&ds->ds_clp->cl_count)); filelayout_initiate_commit()
1018 atomic_inc(&ds->ds_clp->cl_count); filelayout_initiate_commit()
1019 data->ds_clp = ds->ds_clp; filelayout_initiate_commit()
H A Dfilelayoutdev.c277 if (ds->ds_clp) nfs4_fl_prepare_ds()
/linux-4.1.27/fs/nfs/
H A Dpnfs_nfs.c25 nfs_put_client(hdr->ds_clp); pnfs_generic_rw_release()
57 nfs_put_client(data->ds_clp); pnfs_generic_commit_release()
315 atomic_read(&ds->ds_count), ds->ds_clp, print_ds()
316 ds->ds_clp ? ds->ds_clp->cl_exchange_flags : 0); print_ds()
411 nfs_put_client(ds->ds_clp); destroy_ds()
516 ds->ds_clp = NULL; nfs4_pnfs_ds_add()
612 ds->ds_clp = clp; _nfs4_pnfs_v3_ds_connect()
655 ds->ds_clp = clp; _nfs4_pnfs_v4_ds_connect()
H A Dnfs4client.c49 struct list_head list; /* ds_clp->cl_ds_clients */
57 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) nfs4_find_ds_client() argument
62 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { nfs4_find_ds_client()
74 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, nfs4_add_ds_client() argument
79 spin_lock(&ds_clp->cl_lock); nfs4_add_ds_client()
80 list_for_each_entry(dss, &ds_clp->cl_ds_clients, list) { nfs4_add_ds_client()
86 list_add_rcu(&new->list, &ds_clp->cl_ds_clients); nfs4_add_ds_client()
89 spin_unlock(&ds_clp->cl_lock); /* need some lock to protect list */ nfs4_add_ds_client()
94 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) nfs4_alloc_ds_server() argument
102 dss->rpc_clnt = rpc_clone_client_set_auth(ds_clp->cl_rpcclient, flavor); nfs4_alloc_ds_server()
125 nfs4_find_or_create_ds_client(struct nfs_client *ds_clp, struct inode *inode) nfs4_find_or_create_ds_client() argument
130 dss = nfs4_find_ds_client(ds_clp, flavor); nfs4_find_or_create_ds_client()
133 new = nfs4_alloc_ds_server(ds_clp, flavor); nfs4_find_or_create_ds_client()
136 dss = nfs4_add_ds_client(ds_clp, flavor, new); nfs4_find_or_create_ds_client()
H A Ddirect.c156 * @ds_clp - nfs_client of data server or NULL if MDS / non-pnfs
163 struct nfs_client *ds_clp, nfs_direct_select_verf()
169 if (ds_clp) { nfs_direct_select_verf()
193 verfp = nfs_direct_select_verf(dreq, hdr->ds_clp, hdr->ds_commit_idx); nfs_direct_set_hdr_verf()
213 verfp = nfs_direct_select_verf(dreq, hdr->ds_clp, hdr->ds_commit_idx); nfs_direct_set_or_cmp_hdr_verf()
234 verfp = nfs_direct_select_verf(dreq, data->ds_clp, nfs_direct_cmp_commit_data_verf()
162 nfs_direct_select_verf(struct nfs_direct_req *dreq, struct nfs_client *ds_clp, int commit_idx) nfs_direct_select_verf() argument
H A Dpnfs.h56 struct nfs_client *ds_clp; member in struct:nfs4_pnfs_ds
H A Dnfs4proc.c4283 if (hdr->ds_clp != NULL || hdr->dreq != NULL) nfs4_write_need_cache_consistency_data()
/linux-4.1.27/include/linux/
H A Dnfs_xdr.h1354 struct nfs_client *ds_clp; /* pNFS data server */ member in struct:nfs_pgio_header
1355 int ds_commit_idx; /* ds index if ds_clp is set */
1393 struct nfs_client *ds_clp; /* pNFS data server */ member in struct:nfs_commit_data

Completed in 446 milliseconds