Home
last modified time | relevance | path

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

/fs/nfs/filelayout/
Dfilelayout.c212 hdr->ds_clp, hdr->lseg); in filelayout_read_done_cb()
284 if (nfs4_setup_sequence(hdr->ds_clp, in filelayout_read_prepare()
322 hdr->ds_clp, hdr->lseg); in filelayout_write_done_cb()
349 err = filelayout_async_handle_error(task, NULL, data->ds_clp, in filelayout_commit_done_cb()
380 if (nfs4_setup_sequence(hdr->ds_clp, in filelayout_write_prepare()
415 nfs4_setup_sequence(wdata->ds_clp, in filelayout_commit_prepare()
470 ds_clnt = nfs4_find_or_create_ds_client(ds->ds_clp, hdr->inode); in filelayout_read_pagelist()
475 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count)); in filelayout_read_pagelist()
478 refcount_inc(&ds->ds_clp->cl_count); in filelayout_read_pagelist()
479 hdr->ds_clp = ds->ds_clp; in filelayout_read_pagelist()
[all …]
Dfilelayoutdev.c276 if (ds->ds_clp) in nfs4_fl_prepare_ds()
289 if (ret->ds_clp == NULL || in nfs4_fl_prepare_ds()
/fs/nfs/
Dpnfs_nfs.c26 nfs_put_client(hdr->ds_clp); in pnfs_generic_rw_release()
57 nfs_put_client(data->ds_clp); in pnfs_generic_commit_release()
576 refcount_read(&ds->ds_count), ds->ds_clp, in print_ds()
577 ds->ds_clp ? ds->ds_clp->cl_exchange_flags : 0); in print_ds()
687 nfs_put_client(ds->ds_clp); in destroy_ds()
791 ds->ds_clp = NULL; in nfs4_pnfs_ds_add()
903 WRITE_ONCE(ds->ds_clp, clp); in _nfs4_pnfs_v3_ds_connect()
1023 WRITE_ONCE(ds->ds_clp, clp); in _nfs4_pnfs_v4_ds_connect()
1042 if (err || ds->ds_clp) in nfs4_pnfs_ds_connect()
1048 if (ds->ds_clp) in nfs4_pnfs_ds_connect()
[all …]
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 …]
Dnfs4trace.h2010 __string(dstaddr, hdr->ds_clp ?
2011 rpc_peeraddr2str(hdr->ds_clp->cl_rpcclient,
2028 __assign_str(dstaddr, hdr->ds_clp ?
2029 rpc_peeraddr2str(hdr->ds_clp->cl_rpcclient,
2070 __string(dstaddr, data->ds_clp ?
2071 rpc_peeraddr2str(data->ds_clp->cl_rpcclient,
2084 __assign_str(dstaddr, data->ds_clp ?
2085 rpc_peeraddr2str(data->ds_clp->cl_rpcclient,
Dpnfs.h62 struct nfs_client *ds_clp; member
Dnfs4proc.c5487 if (nfs_server_capable(hdr->inode, NFS_CAP_READ_PLUS) && !hdr->ds_clp) { in nfs42_read_plus_support()
5584 if (hdr->ds_clp != NULL || hdr->dreq != NULL) in nfs4_write_need_cache_consistency_data()
5648 nfs4_state_protect_write(hdr->ds_clp ? hdr->ds_clp : server->nfs_client, clnt, msg, hdr); in nfs4_proc_write_setup()
5689 nfs4_state_protect(data->ds_clp ? data->ds_clp : server->nfs_client, in nfs4_proc_commit_setup()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c1301 hdr->ds_clp, hdr->lseg, in ff_layout_read_done_cb()
1411 if (nfs4_setup_sequence(hdr->ds_clp, in ff_layout_read_prepare_v4()
1471 hdr->ds_clp, hdr->lseg, in ff_layout_write_done_cb()
1516 err = ff_layout_async_handle_error(task, NULL, data->ds_clp, in ff_layout_commit_done_cb()
1591 if (nfs4_setup_sequence(hdr->ds_clp, in ff_layout_write_prepare_v4()
1689 if (nfs4_setup_sequence(wdata->ds_clp, in ff_layout_commit_prepare_v4()
1783 ds_clnt = nfs4_ff_find_or_create_ds_client(mirror, ds->ds_clp, in ff_layout_read_pagelist()
1795 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist()
1798 refcount_inc(&ds->ds_clp->cl_count); in ff_layout_read_pagelist()
1799 hdr->ds_clp = ds->ds_clp; in ff_layout_read_pagelist()
[all …]
Dflexfilelayoutdev.c383 if (READ_ONCE(ds->ds_clp)) in nfs4_ff_layout_prepare_ds()
399 nfs_block_size(rpc_max_payload(ds->ds_clp->cl_rpcclient), in nfs4_ff_layout_prepare_ds()
448 struct nfs_client *ds_clp, struct inode *inode) in nfs4_ff_find_or_create_ds_client() argument
453 return ds_clp->cl_rpcclient; in nfs4_ff_find_or_create_ds_client()
455 return nfs4_find_or_create_ds_client(ds_clp, inode); in nfs4_ff_find_or_create_ds_client()
Dflexfilelayout.h218 struct nfs_client *ds_clp,