Searched refs:fdlocks (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/fs/smb/client/ |
D | smb2file.c | 293 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument 297 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks() 303 list_for_each_entry(li, &fdlocks->locks, llist) { in smb2_push_mand_fdlocks() 340 struct cifs_fid_locks *fdlocks; in smb2_push_mandatory_locks() local 363 list_for_each_entry(fdlocks, &cinode->llist, llist) { in smb2_push_mandatory_locks() 364 stored_rc = smb2_push_mand_fdlocks(fdlocks, xid, buf, max_num); in smb2_push_mandatory_locks()
|
D | file.c | 457 struct cifs_fid_locks *fdlocks; in cifs_new_fileinfo() local 465 fdlocks = kzalloc(sizeof(struct cifs_fid_locks), GFP_KERNEL); in cifs_new_fileinfo() 466 if (!fdlocks) { in cifs_new_fileinfo() 474 kfree(fdlocks); in cifs_new_fileinfo() 480 INIT_LIST_HEAD(&fdlocks->locks); in cifs_new_fileinfo() 481 fdlocks->cfile = cfile; in cifs_new_fileinfo() 482 cfile->llist = fdlocks; in cifs_new_fileinfo() 510 list_add(&fdlocks->llist, &cinode->llist); in cifs_new_fileinfo() 1241 cifs_find_fid_lock_conflict(struct cifs_fid_locks *fdlocks, __u64 offset, in cifs_find_fid_lock_conflict() argument 1247 struct cifsFileInfo *cur_cfile = fdlocks->cfile; in cifs_find_fid_lock_conflict() [all …]
|