Lines Matching refs:key
74 struct nfs_server_key *key = buffer; in nfs_server_get_key() local
77 key->nfsversion = clp->rpc_ops->version; in nfs_server_get_key()
78 key->family = clp->cl_addr.ss_family; in nfs_server_get_key()
80 memset(key, 0, len); in nfs_server_get_key()
84 key->port = sin->sin_port; in nfs_server_get_key()
85 key->addr[0].ipv4_addr = sin->sin_addr; in nfs_server_get_key()
86 len += sizeof(key->addr[0].ipv4_addr); in nfs_server_get_key()
90 key->port = sin6->sin6_port; in nfs_server_get_key()
91 key->addr[0].ipv6_addr = sin6->sin6_addr; in nfs_server_get_key()
92 len += sizeof(key->addr[0].ipv6_addr); in nfs_server_get_key()
122 const struct nfs_fscache_key *key; in nfs_super_get_key() local
126 key = nfss->fscache_key; in nfs_super_get_key()
127 len = sizeof(key->key) + key->key.uniq_len; in nfs_super_get_key()
131 memcpy(buffer, &key->key, sizeof(key->key)); in nfs_super_get_key()
132 memcpy(buffer + sizeof(key->key), in nfs_super_get_key()
133 key->key.uniquifier, key->key.uniq_len); in nfs_super_get_key()