Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/client/
Dsmb2file.c291 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument
295 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks()
301 list_for_each_entry(li, &fdlocks->locks, llist) { in smb2_push_mand_fdlocks()
338 struct cifs_fid_locks *fdlocks; in smb2_push_mandatory_locks() local
361 list_for_each_entry(fdlocks, &cinode->llist, llist) { in smb2_push_mandatory_locks()
362 stored_rc = smb2_push_mand_fdlocks(fdlocks, xid, buf, max_num); in smb2_push_mandatory_locks()
Dfile.c657 struct cifs_fid_locks *fdlocks; in cifs_new_fileinfo() local
665 fdlocks = kzalloc(sizeof(struct cifs_fid_locks), GFP_KERNEL); in cifs_new_fileinfo()
666 if (!fdlocks) { in cifs_new_fileinfo()
674 kfree(fdlocks); in cifs_new_fileinfo()
680 INIT_LIST_HEAD(&fdlocks->locks); in cifs_new_fileinfo()
681 fdlocks->cfile = cfile; in cifs_new_fileinfo()
682 cfile->llist = fdlocks; in cifs_new_fileinfo()
711 list_add(&fdlocks->llist, &cinode->llist); in cifs_new_fileinfo()
1517 cifs_find_fid_lock_conflict(struct cifs_fid_locks *fdlocks, __u64 offset, in cifs_find_fid_lock_conflict() argument
1523 struct cifsFileInfo *cur_cfile = fdlocks->cfile; in cifs_find_fid_lock_conflict()
[all …]