Searched refs:cl_init (Results 1 – 2 of 2) sorted by relevance
/fs/nfs/ |
D | client.c | 151 struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_init) in nfs_alloc_client() argument 160 clp->cl_nfs_mod = cl_init->nfs_mod; in nfs_alloc_client() 168 memcpy(&clp->cl_addr, cl_init->addr, cl_init->addrlen); in nfs_alloc_client() 169 clp->cl_addrlen = cl_init->addrlen; in nfs_alloc_client() 171 if (cl_init->hostname) { in nfs_alloc_client() 173 clp->cl_hostname = kstrdup(cl_init->hostname, GFP_KERNEL); in nfs_alloc_client() 181 clp->cl_proto = cl_init->proto; in nfs_alloc_client() 182 clp->cl_net = get_net(cl_init->net); in nfs_alloc_client() 447 nfs_found_client(const struct nfs_client_initdata *cl_init, in nfs_found_client() argument 467 __func__, clp, cl_init->hostname ?: ""); in nfs_found_client() [all …]
|
D | nfs4client.c | 58 struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *cl_init) in nfs4_alloc_client() argument 61 struct nfs_client *clp = nfs_alloc_client(cl_init); in nfs4_alloc_client() 65 err = nfs_get_cb_ident_idr(clp, cl_init->minorversion); in nfs4_alloc_client() 73 clp->cl_minorversion = cl_init->minorversion; in nfs4_alloc_client() 74 clp->cl_mvops = nfs_v4_minor_ops[cl_init->minorversion]; in nfs4_alloc_client() 613 struct nfs_client_initdata cl_init = { in nfs4_set_client() local 628 set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); in nfs4_set_client() 631 clp = nfs_get_client(&cl_init, timeparms, ip_addr, authflavour); in nfs4_set_client() 668 struct nfs_client_initdata cl_init = { in nfs4_set_ds_client() local 685 clp = nfs_get_client(&cl_init, &ds_timeout, mds_clp->cl_ipaddr, in nfs4_set_ds_client()
|