Searched refs:smb_lock (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/fs/smb/server/ |
D | vfs_cache.c | 303 struct ksmbd_lock *smb_lock, *tmp_lock; in __ksmbd_close_fd() local 319 list_for_each_entry_safe(smb_lock, tmp_lock, &fp->lock_list, flist) { in __ksmbd_close_fd() 321 list_del(&smb_lock->clist); in __ksmbd_close_fd() 324 list_del(&smb_lock->flist); in __ksmbd_close_fd() 325 locks_free_lock(smb_lock->fl); in __ksmbd_close_fd() 326 kfree(smb_lock); in __ksmbd_close_fd()
|
D | smb2pdu.c | 6854 struct ksmbd_lock *smb_lock = NULL, *cmp_lock, *tmp, *tmp2; in smb2_lock() local 6933 smb_lock = smb2_lock_init(flock, cmd, flags, &lock_list); in smb2_lock() 6934 if (!smb_lock) { in smb2_lock() 6941 list_for_each_entry_safe(smb_lock, tmp, &lock_list, llist) { in smb2_lock() 6942 if (smb_lock->cmd < 0) { in smb2_lock() 6947 if (!(smb_lock->flags & SMB2_LOCKFLAG_MASK)) { in smb2_lock() 6953 smb_lock->flags & SMB2_LOCKFLAG_UNLOCK) || in smb2_lock() 6955 !(smb_lock->flags & SMB2_LOCKFLAG_UNLOCK))) { in smb2_lock() 6960 prior_lock = smb_lock->flags; in smb2_lock() 6962 if (!(smb_lock->flags & SMB2_LOCKFLAG_UNLOCK) && in smb2_lock() [all …]
|