Searched refs:cl_init (Results 1 – 3 of 3) sorted by relevance
/fs/nfs/ |
D | client.c | 149 struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_init) in nfs_alloc_client() argument 157 clp->cl_minorversion = cl_init->minorversion; in nfs_alloc_client() 158 clp->cl_nfs_mod = cl_init->nfs_mod; in nfs_alloc_client() 167 memcpy(&clp->cl_addr, cl_init->addr, cl_init->addrlen); in nfs_alloc_client() 168 clp->cl_addrlen = cl_init->addrlen; in nfs_alloc_client() 170 if (cl_init->hostname) { in nfs_alloc_client() 172 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client() 180 clp->cl_flags = cl_init->init_flags; in nfs_alloc_client() 181 clp->cl_proto = cl_init->proto; in nfs_alloc_client() 182 clp->cl_nconnect = cl_init->nconnect; in nfs_alloc_client() [all …]
|
D | nfs4client.c | 198 struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *cl_init) in nfs4_alloc_client() argument 201 const char *ip_addr = cl_init->ip_addr; in nfs4_alloc_client() 202 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() 208 err = nfs_get_cb_ident_idr(clp, cl_init->minorversion); in nfs4_alloc_client() 212 if (cl_init->minorversion > NFS4_MAX_MINOR_VERSION) { in nfs4_alloc_client() 222 clp->cl_mvops = nfs_v4_minor_ops[cl_init->minorversion]; in nfs4_alloc_client() 229 if (cl_init->minorversion != 0) in nfs4_alloc_client() 234 if (test_bit(NFS_CS_DS, &cl_init->init_flags)) in nfs4_alloc_client() 240 err = nfs_create_rpc_client(clp, cl_init, RPC_AUTH_GSS_KRB5I); in nfs4_alloc_client() 242 err = nfs_create_rpc_client(clp, cl_init, RPC_AUTH_UNIX); in nfs4_alloc_client() [all …]
|
D | nfs3client.c | 86 struct nfs_client_initdata cl_init = { in nfs3_set_ds_client() local 103 cl_init.hostname = buf; in nfs3_set_ds_client() 106 cl_init.nconnect = mds_clp->cl_nconnect; in nfs3_set_ds_client() 109 __set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); in nfs3_set_ds_client() 111 __set_bit(NFS_CS_DS, &cl_init.init_flags); in nfs3_set_ds_client() 115 clp = nfs_get_client(&cl_init); in nfs3_set_ds_client()
|