Home
last modified time | relevance | path

Searched refs:lctx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/fs/ksmbd/
Doplock.c91 static int alloc_lease(struct oplock_info *opinfo, struct lease_ctx_info *lctx) in alloc_lease() argument
99 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
100 lease->state = lctx->req_state; in alloc_lease()
102 lease->flags = lctx->flags; in alloc_lease()
103 lease->duration = lctx->duration; in alloc_lease()
104 memcpy(lease->parent_lease_key, lctx->parent_lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
105 lease->version = lctx->version; in alloc_lease()
401 struct lease_ctx_info *lctx) in grant_write_oplock() argument
410 if (lctx) { in grant_write_oplock()
411 lease->state = lctx->req_state; in grant_write_oplock()
[all …]
Doplock.h99 struct lease_ctx_info *lctx, int share_ret);
127 struct lease_ctx_info *lctx);
130 struct lease_ctx_info *lctx, char *name);