Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dsmb2pdu.c7200 struct ksmbd_lock *smb_lock = NULL, *cmp_lock, *tmp, *tmp2; in smb2_lock() local
7266 list_for_each_entry(cmp_lock, &lock_list, llist) { in smb2_lock()
7267 if (cmp_lock->fl->fl_start <= flock->fl_start && in smb2_lock()
7268 cmp_lock->fl->fl_end >= flock->fl_end) { in smb2_lock()
7269 if (cmp_lock->fl->c.flc_type != F_UNLCK && in smb2_lock()
7317 list_for_each_entry_safe(cmp_lock, tmp2, &conn->lock_list, clist) { in smb2_lock()
7318 if (file_inode(cmp_lock->fl->c.flc_file) != in smb2_lock()
7323 if (cmp_lock->fl->c.flc_file == smb_lock->fl->c.flc_file && in smb2_lock()
7324 cmp_lock->start == smb_lock->start && in smb2_lock()
7325 cmp_lock->end == smb_lock->end && in smb2_lock()
[all …]
/linux-6.12.1/drivers/media/firewire/
Dfiredtv-avc.c1348 static int cmp_lock(struct firedtv *fdtv, u64 addr, __be32 data[]) in cmp_lock() function
1421 ret = cmp_lock(fdtv, opcr_address, opcr); in cmp_establish_pp_connection()
1461 if (cmp_lock(fdtv, opcr_address, opcr) < 0) in cmp_break_pp_connection()