/Linux-v5.10/fs/nfs/filelayout/ |
D | filelayout.c | 210 hdr->ds_clp, hdr->lseg); in filelayout_read_done_cb() 282 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 …]
|
D | filelayoutdev.c | 278 if (ds->ds_clp) in nfs4_fl_prepare_ds() 291 if (ret->ds_clp == NULL || in nfs4_fl_prepare_ds()
|
/Linux-v5.10/fs/nfs/ |
D | pnfs_nfs.c | 26 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() 672 nfs_put_client(ds->ds_clp); in destroy_ds() 777 ds->ds_clp = NULL; in nfs4_pnfs_ds_add() 884 ds->ds_clp = clp; in _nfs4_pnfs_v3_ds_connect() 957 ds->ds_clp = clp; in _nfs4_pnfs_v4_ds_connect() 994 if (!ds->ds_clp && !nfs4_test_deviceid_unavailable(devid)) in nfs4_pnfs_ds_connect() 1003 if (!ds->ds_clp || !nfs_client_init_is_complete(ds->ds_clp)) { in nfs4_pnfs_ds_connect() [all …]
|
D | nfs4client.c | 60 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_find_ds_client() argument 65 list_for_each_entry_rcu(dss, &ds_clp->cl_ds_clients, list) { in nfs4_find_ds_client() 77 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, in nfs4_add_ds_client() argument 82 spin_lock(&ds_clp->cl_lock); in nfs4_add_ds_client() 83 list_for_each_entry(dss, &ds_clp->cl_ds_clients, list) { in nfs4_add_ds_client() 89 list_add_rcu(&new->list, &ds_clp->cl_ds_clients); in nfs4_add_ds_client() 92 spin_unlock(&ds_clp->cl_lock); /* need some lock to protect list */ in nfs4_add_ds_client() 97 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_alloc_ds_server() argument 105 dss->rpc_clnt = rpc_clone_client_set_auth(ds_clp->cl_rpcclient, flavor); in nfs4_alloc_ds_server() 132 nfs4_find_or_create_ds_client(struct nfs_client *ds_clp, struct inode *inode) in nfs4_find_or_create_ds_client() argument [all …]
|
D | nfs4trace.h | 2208 __string(dstaddr, hdr->ds_clp ? 2209 rpc_peeraddr2str(hdr->ds_clp->cl_rpcclient, 2226 __assign_str(dstaddr, hdr->ds_clp ? 2227 rpc_peeraddr2str(hdr->ds_clp->cl_rpcclient, 2268 __string(dstaddr, data->ds_clp ? 2269 rpc_peeraddr2str(data->ds_clp->cl_rpcclient, 2282 __assign_str(dstaddr, data->ds_clp ? 2283 rpc_peeraddr2str(data->ds_clp->cl_rpcclient,
|
D | pnfs.h | 60 struct nfs_client *ds_clp; member
|
D | nfs4proc.c | 5409 if (hdr->ds_clp != NULL || hdr->dreq != NULL) in nfs4_write_need_cache_consistency_data()
|
/Linux-v5.10/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 1303 hdr->ds_clp, hdr->lseg, in ff_layout_read_done_cb() 1408 if (nfs4_setup_sequence(hdr->ds_clp, in ff_layout_read_prepare_v4() 1470 hdr->ds_clp, hdr->lseg, in ff_layout_write_done_cb() 1515 err = ff_layout_async_handle_error(task, NULL, data->ds_clp, in ff_layout_commit_done_cb() 1585 if (nfs4_setup_sequence(hdr->ds_clp, in ff_layout_write_prepare_v4() 1675 if (nfs4_setup_sequence(wdata->ds_clp, in ff_layout_commit_prepare_v4() 1769 ds_clnt = nfs4_ff_find_or_create_ds_client(mirror, ds->ds_clp, in ff_layout_read_pagelist() 1781 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count), vers); in ff_layout_read_pagelist() 1784 refcount_inc(&ds->ds_clp->cl_count); in ff_layout_read_pagelist() 1785 hdr->ds_clp = ds->ds_clp; in ff_layout_read_pagelist() [all …]
|
D | flexfilelayoutdev.c | 383 if (ds->ds_clp) in nfs4_ff_layout_prepare_ds() 397 nfs_block_size(rpc_max_payload(ds->ds_clp->cl_rpcclient), in nfs4_ff_layout_prepare_ds() 446 struct nfs_client *ds_clp, struct inode *inode) in nfs4_ff_find_or_create_ds_client() argument 451 return ds_clp->cl_rpcclient; in nfs4_ff_find_or_create_ds_client() 453 return nfs4_find_or_create_ds_client(ds_clp, inode); in nfs4_ff_find_or_create_ds_client()
|
D | flexfilelayout.h | 218 struct nfs_client *ds_clp,
|
/Linux-v5.10/include/linux/ |
D | nfs_xdr.h | 1613 struct nfs_client *ds_clp; /* pNFS data server */ member 1653 struct nfs_client *ds_clp; /* pNFS data server */ member
|