Searched refs:lock_count (Results 1 – 21 of 21) sorted by relevance
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)) { \
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()
447 atomic_inc(&rg->lock_count); in store_size()481 atomic_dec(&rg->lock_count); in store_size()
222 atomic_inc(&rg->lock_count); in omapfb_setup_mem()256 atomic_dec(&rg->lock_count); in omapfb_setup_mem()
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()
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
214 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
106 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()
28 aligned_u64 lock_count; member
49 qcom_pll_set_fsm_mode(struct regmap *m, u32 reg, u8 bias_count, u8 lock_count);
101 qcom_pll_set_fsm_mode(struct regmap *map, u32 reg, u8 bias_count, u8 lock_count) in qcom_pll_set_fsm_mode() argument111 lock_count << PLL_LOCK_COUNT_SHIFT; in qcom_pll_set_fsm_mode()
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()
363 unsigned long lock_count; /* DRI1 legacy lock count */ member
136 u_short lock_count; member
91 u_short lock_count;
357 if (--(s->lock_count) == 0) { in pcmcia_release_configuration()534 s->lock_count++; in pcmcia_enable_device()
303 s->lock_count = 0; in socket_shutdown()
202 int lock_count; member