Searched refs:lock_count (Results 1 – 22 of 22) sorted by relevance
/linux/lib/ |
A D | lockref.c | 15 old.lock_count = READ_ONCE(lockref->lock_count); \ 19 old.lock_count = cmpxchg64_relaxed(&lockref->lock_count, \ 20 old.lock_count, \ 21 new.lock_count); \ 22 if (likely(old.lock_count == prev.lock_count)) { \
|
/linux/drivers/video/fbdev/omap2/omapfb/ |
A D | omapfb.h | 54 atomic_t lock_count; member 186 atomic_inc(&rg->lock_count); in omapfb_get_mem_region() 192 atomic_dec(&rg->lock_count); in omapfb_put_mem_region()
|
A D | omapfb-sysfs.c | 447 atomic_inc(&rg->lock_count); in store_size() 481 atomic_dec(&rg->lock_count); in store_size()
|
A D | omapfb-ioctl.c | 222 atomic_inc(&rg->lock_count); in omapfb_setup_mem() 256 atomic_dec(&rg->lock_count); in omapfb_setup_mem()
|
A D | omapfb-main.c | 664 WARN_ON(!atomic_read(&ofbi->region->lock_count)); in check_fb_var() 847 WARN_ON(!atomic_read(&ofbi->region->lock_count)); in omapfb_setup_overlay() 941 WARN_ON(!atomic_read(&ofbi->region->lock_count)); in omapfb_apply_changes()
|
/linux/fs/ksmbd/ |
A D | smb2misc.c | 154 int lock_count; in smb2_get_data_area_len() local 160 lock_count = le16_to_cpu(((struct smb2_lock_req *)hdr)->LockCount) - 1; in smb2_get_data_area_len() 161 if (lock_count > 0) { in smb2_get_data_area_len() 163 *len = sizeof(struct smb2_lock_element) * lock_count; in smb2_get_data_area_len()
|
A D | smb2pdu.c | 6751 int lock_count; in smb2_lock() local 6775 lock_count = le16_to_cpu(req->LockCount); in smb2_lock() 6778 ksmbd_debug(SMB, "lock count is %d\n", lock_count); in smb2_lock() 6779 if (!lock_count) { in smb2_lock() 6784 for (i = 0; i < lock_count; i++) { in smb2_lock()
|
/linux/fs/afs/ |
A D | flock.c | 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() 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()
|
A D | xdr_fs.h | 31 __be32 lock_count; member
|
A D | afs.h | 142 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */ member
|
A D | protocol_yfs.h | 101 __be32 lock_count; member
|
A D | yfsclient.c | 207 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
|
A D | fsclient.c | 107 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()
|
/linux/include/linux/ |
A D | lockref.h | 28 aligned_u64 lock_count; member
|
/linux/drivers/gpu/drm/ |
A D | drm_lock.c | 175 ++file_priv->lock_count; in drm_legacy_lock() 334 return (file_priv->lock_count && master->lock.hw_lock && in drm_legacy_i_have_hw_lock()
|
/linux/drivers/clk/qcom/ |
A D | common.h | 49 qcom_pll_set_fsm_mode(struct regmap *m, u32 reg, u8 bias_count, u8 lock_count);
|
A D | common.c | 99 qcom_pll_set_fsm_mode(struct regmap *map, u32 reg, u8 bias_count, u8 lock_count) in qcom_pll_set_fsm_mode() argument 109 lock_count << PLL_LOCK_COUNT_SHIFT; in qcom_pll_set_fsm_mode()
|
/linux/include/drm/ |
A D | drm_file.h | 367 unsigned long lock_count; /* DRI1 legacy lock count */ member
|
/linux/include/pcmcia/ |
A D | ss.h | 136 u_short lock_count; member
|
/linux/Documentation/pcmcia/ |
A D | locking.rst | 91 u_short lock_count;
|
/linux/drivers/pcmcia/ |
A D | pcmcia_resource.c | 357 if (--(s->lock_count) == 0) { in pcmcia_release_configuration() 534 s->lock_count++; in pcmcia_enable_device()
|
A D | cs.c | 303 s->lock_count = 0; in socket_shutdown()
|
Completed in 58 milliseconds