Home
last modified time | relevance | path

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

/Linux-v5.10/fs/cifs/
Dsmb2file.c221 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument
225 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks()
231 list_for_each_entry(li, &fdlocks->locks, llist) { in smb2_push_mand_fdlocks()
268 struct cifs_fid_locks *fdlocks; in smb2_push_mandatory_locks() local
291 list_for_each_entry(fdlocks, &cinode->llist, llist) { in smb2_push_mandatory_locks()
292 stored_rc = smb2_push_mand_fdlocks(fdlocks, xid, buf, max_num); in smb2_push_mandatory_locks()
Dfile.c299 struct cifs_fid_locks *fdlocks; in cifs_new_fileinfo() local
307 fdlocks = kzalloc(sizeof(struct cifs_fid_locks), GFP_KERNEL); in cifs_new_fileinfo()
308 if (!fdlocks) { in cifs_new_fileinfo()
313 INIT_LIST_HEAD(&fdlocks->locks); in cifs_new_fileinfo()
314 fdlocks->cfile = cfile; in cifs_new_fileinfo()
315 cfile->llist = fdlocks; in cifs_new_fileinfo()
341 list_add(&fdlocks->llist, &cinode->llist); in cifs_new_fileinfo()
970 cifs_find_fid_lock_conflict(struct cifs_fid_locks *fdlocks, __u64 offset, in cifs_find_fid_lock_conflict() argument
976 struct cifsFileInfo *cur_cfile = fdlocks->cfile; in cifs_find_fid_lock_conflict()
979 list_for_each_entry(li, &fdlocks->locks, llist) { in cifs_find_fid_lock_conflict()