Lines Matching refs:newlease
158 smb_lease_t *newlease; in smb2_lease_create() local
172 newlease = kmem_cache_alloc(smb_lease_cache, KM_SLEEP); in smb2_lease_create()
173 bzero(newlease, sizeof (smb_lease_t)); in smb2_lease_create()
174 mutex_init(&newlease->ls_mutex, NULL, MUTEX_DEFAULT, NULL); in smb2_lease_create()
175 newlease->ls_bucket = bucket; in smb2_lease_create()
176 newlease->ls_node = of->f_node; in smb2_lease_create()
177 smb_node_ref(newlease->ls_node); in smb2_lease_create()
178 newlease->ls_refcnt = 1; in smb2_lease_create()
179 newlease->ls_epoch = op->lease_epoch; in smb2_lease_create()
180 newlease->ls_version = op->lease_version; in smb2_lease_create()
181 bcopy(key, newlease->ls_key, UUID_LEN); in smb2_lease_create()
182 bcopy(clnt, newlease->ls_clnt, UUID_LEN); in smb2_lease_create()
199 lease = newlease; in smb2_lease_create()
201 newlease = NULL; /* don't free */ in smb2_lease_create()
224 if (newlease != NULL) { in smb2_lease_create()
225 lease_destroy(newlease); in smb2_lease_create()