Searched refs:smb_lock (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/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 | 6822 struct ksmbd_lock *smb_lock = NULL, *cmp_lock, *tmp, *tmp2; in smb2_lock() local 6896 smb_lock = smb2_lock_init(flock, cmd, flags, &lock_list); in smb2_lock() 6897 if (!smb_lock) { in smb2_lock() 6903 list_for_each_entry_safe(smb_lock, tmp, &lock_list, llist) { in smb2_lock() 6904 if (smb_lock->cmd < 0) { in smb2_lock() 6909 if (!(smb_lock->flags & SMB2_LOCKFLAG_MASK)) { in smb2_lock() 6915 smb_lock->flags & SMB2_LOCKFLAG_UNLOCK) || in smb2_lock() 6917 !(smb_lock->flags & SMB2_LOCKFLAG_UNLOCK))) { in smb2_lock() 6922 prior_lock = smb_lock->flags; in smb2_lock() 6924 if (!(smb_lock->flags & SMB2_LOCKFLAG_UNLOCK) && in smb2_lock() [all …]
|