Home
last modified time | relevance | path

Searched refs:lock_count (Results 1 – 8 of 8) sorted by relevance

/fs/smb/server/
Dsmb2misc.c171 unsigned short lock_count; in smb2_get_data_area_len() local
173 lock_count = le16_to_cpu(((struct smb2_lock_req *)hdr)->LockCount); in smb2_get_data_area_len()
174 if (lock_count > 0) { in smb2_get_data_area_len()
176 *len = sizeof(struct smb2_lock_element) * lock_count; in smb2_get_data_area_len()
Dsmb2pdu.c7179 int lock_count; in smb2_lock() local
7202 lock_count = le16_to_cpu(req->LockCount); in smb2_lock()
7205 ksmbd_debug(SMB, "lock count is %d\n", lock_count); in smb2_lock()
7206 if (!lock_count) { in smb2_lock()
7211 for (i = 0; i < lock_count; i++) { in smb2_lock()
/fs/afs/
Dflock.c530 if (vnode->status.lock_count == -1) in afs_do_setlk()
533 if (vnode->status.lock_count != 0) in afs_do_setlk()
726 int ret, lock_count; in afs_do_getlk() local
743 lock_count = READ_ONCE(vnode->status.lock_count); in afs_do_getlk()
744 if (lock_count != 0) { in afs_do_getlk()
745 if (lock_count > 0) in afs_do_getlk()
Dxdr_fs.h31 __be32 lock_count; member
Dafs.h142 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */ member
Dprotocol_yfs.h101 __be32 lock_count; member
Dyfsclient.c207 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
Dfsclient.c107 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()