Searched refs:lock_count (Results 1 – 16 of 16) sorted by relevance
54 atomic_t lock_count; member186 atomic_inc(&rg->lock_count); in omapfb_get_mem_region()192 atomic_dec(&rg->lock_count); in omapfb_put_mem_region()
170 unsigned short lock_count; in smb2_get_data_area_len() local172 lock_count = le16_to_cpu(((struct smb2_lock_req *)hdr)->LockCount); in smb2_get_data_area_len()173 if (lock_count > 0) { in smb2_get_data_area_len()175 *len = sizeof(struct smb2_lock_element) * lock_count; in smb2_get_data_area_len()
7462 int lock_count; in smb2_lock() 7485 lock_count = le16_to_cpu(req->LockCount); in smb2_lock() 7488 ksmbd_debug(SMB, "lock count is %d\n", lock_count); in smb2_lock() 7490 * Cap lock_count at 64. The MS-SMB2 spec defines Open.LockSequenceArray in smb2_lock() 7494 if (!lock_count || lock_count > 64) { in smb2_lock() 7499 for (i = 0; i < lock_count; i++) { in smb2_lock() 7456 int lock_count; smb2_lock() local
529 if (vnode->status.lock_count == -1) in afs_do_setlk()532 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
104 __be32 lock_count; member
107 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()
207 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
697 meta->core.lock_count = ndev->metadata.core.lock_count; in aie2_get_aie_metadata()703 meta->mem.lock_count = ndev->metadata.mem.lock_count; in aie2_get_aie_metadata()709 meta->shim.lock_count = ndev->metadata.shim.lock_count; in aie2_get_aie_metadata()
193 metadata->core.lock_count = resp.info.core_locks; in aie2_query_aie_metadata()199 metadata->mem.lock_count = resp.info.mem_locks; in aie2_query_aie_metadata()205 metadata->shim.lock_count = resp.info.shim_locks; in aie2_query_aie_metadata()
126 u16 lock_count; member
136 u_short lock_count; member
91 u_short lock_count;
357 if (--(s->lock_count) == 0) { in pcmcia_release_configuration()531 s->lock_count++; in pcmcia_enable_device()
286 s->lock_count = 0; in socket_shutdown()