Home
last modified time | relevance | path

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

/fs/smb/server/
Doplock.c92 static int alloc_lease(struct oplock_info *opinfo, struct lease_ctx_info *lctx) in alloc_lease() argument
100 memcpy(lease->lease_key, lctx->lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
101 lease->state = lctx->req_state; in alloc_lease()
103 lease->flags = lctx->flags; in alloc_lease()
104 lease->duration = lctx->duration; in alloc_lease()
105 lease->is_dir = lctx->is_dir; in alloc_lease()
106 memcpy(lease->parent_lease_key, lctx->parent_lease_key, SMB2_LEASE_KEY_SIZE); in alloc_lease()
107 lease->version = lctx->version; in alloc_lease()
108 lease->epoch = le16_to_cpu(lctx->epoch) + 1; in alloc_lease()
432 struct lease_ctx_info *lctx) in grant_write_oplock() argument
[all …]
Doplock.h100 struct lease_ctx_info *lctx, int share_ret);
128 struct lease_ctx_info *lctx);
131 struct lease_ctx_info *lctx);