Searched refs:smb_lock (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/fs/ksmbd/ |
D | vfs_cache.c | 305 struct ksmbd_lock *smb_lock, *tmp_lock; in __ksmbd_close_fd() local 321 list_for_each_entry_safe(smb_lock, tmp_lock, &fp->lock_list, flist) { in __ksmbd_close_fd() 323 list_del(&smb_lock->clist); in __ksmbd_close_fd() 326 list_del(&smb_lock->flist); in __ksmbd_close_fd() 327 locks_free_lock(smb_lock->fl); in __ksmbd_close_fd() 328 kfree(smb_lock); in __ksmbd_close_fd()
|
D | smb2pdu.c | 6819 struct ksmbd_lock *smb_lock = NULL, *cmp_lock, *tmp, *tmp2; in smb2_lock() local 6893 smb_lock = smb2_lock_init(flock, cmd, flags, &lock_list); in smb2_lock() 6894 if (!smb_lock) { in smb2_lock() 6900 list_for_each_entry_safe(smb_lock, tmp, &lock_list, llist) { in smb2_lock() 6901 if (smb_lock->cmd < 0) { in smb2_lock() 6906 if (!(smb_lock->flags & SMB2_LOCKFLAG_MASK)) { in smb2_lock() 6912 smb_lock->flags & SMB2_LOCKFLAG_UNLOCK) || in smb2_lock() 6914 !(smb_lock->flags & SMB2_LOCKFLAG_UNLOCK))) { in smb2_lock() 6919 prior_lock = smb_lock->flags; in smb2_lock() 6921 if (!(smb_lock->flags & SMB2_LOCKFLAG_UNLOCK) && in smb2_lock() [all …]
|