Searched refs:fdlocks (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/fs/cifs/ |
D | smb2file.c | 207 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument 211 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks() 217 list_for_each_entry(li, &fdlocks->locks, llist) { in smb2_push_mand_fdlocks() 254 struct cifs_fid_locks *fdlocks; in smb2_push_mandatory_locks() local 277 list_for_each_entry(fdlocks, &cinode->llist, llist) { in smb2_push_mandatory_locks() 278 stored_rc = smb2_push_mand_fdlocks(fdlocks, xid, buf, max_num); in smb2_push_mandatory_locks()
|
D | file.c | 289 struct cifs_fid_locks *fdlocks; in cifs_new_fileinfo() local 297 fdlocks = kzalloc(sizeof(struct cifs_fid_locks), GFP_KERNEL); in cifs_new_fileinfo() 298 if (!fdlocks) { in cifs_new_fileinfo() 303 INIT_LIST_HEAD(&fdlocks->locks); in cifs_new_fileinfo() 304 fdlocks->cfile = cfile; in cifs_new_fileinfo() 305 cfile->llist = fdlocks; in cifs_new_fileinfo() 333 list_add(&fdlocks->llist, &cinode->llist); in cifs_new_fileinfo() 1048 cifs_find_fid_lock_conflict(struct cifs_fid_locks *fdlocks, __u64 offset, in cifs_find_fid_lock_conflict() argument 1054 struct cifsFileInfo *cur_cfile = fdlocks->cfile; in cifs_find_fid_lock_conflict() 1057 list_for_each_entry(li, &fdlocks->locks, llist) { in cifs_find_fid_lock_conflict()
|