Searched refs:lock_count (Results 1 – 8 of 8) sorted by relevance
171 unsigned short lock_count; in smb2_get_data_area_len() local173 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()
7179 int lock_count; in smb2_lock() local7202 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()
530 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() local743 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()
31 __be32 lock_count; member
142 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */ member
101 __be32 lock_count; member
207 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
107 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()