Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dlockref.c15 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)) { \
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
Domapfb.h54 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()
Domapfb-sysfs.c447 atomic_inc(&rg->lock_count); in store_size()
481 atomic_dec(&rg->lock_count); in store_size()
Domapfb-ioctl.c222 atomic_inc(&rg->lock_count); in omapfb_setup_mem()
256 atomic_dec(&rg->lock_count); in omapfb_setup_mem()
Domapfb-main.c664 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()
/kernel/linux/linux-5.10/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.c214 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
Dfsclient.c106 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()
/kernel/linux/linux-5.10/include/linux/
Dlockref.h28 aligned_u64 lock_count; member
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dcommon.h49 qcom_pll_set_fsm_mode(struct regmap *m, u32 reg, u8 bias_count, u8 lock_count);
Dcommon.c101 qcom_pll_set_fsm_mode(struct regmap *map, u32 reg, u8 bias_count, u8 lock_count) in qcom_pll_set_fsm_mode() argument
111 lock_count << PLL_LOCK_COUNT_SHIFT; in qcom_pll_set_fsm_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_lock.c175 ++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()
/kernel/linux/linux-5.10/include/drm/
Ddrm_file.h363 unsigned long lock_count; /* DRI1 legacy lock count */ member
/kernel/linux/linux-5.10/include/pcmcia/
Dss.h136 u_short lock_count; member
/kernel/linux/linux-5.10/Documentation/pcmcia/
Dlocking.rst91 u_short lock_count;
/kernel/linux/linux-5.10/drivers/pcmcia/
Dpcmcia_resource.c357 if (--(s->lock_count) == 0) { in pcmcia_release_configuration()
534 s->lock_count++; in pcmcia_enable_device()
Dcs.c303 s->lock_count = 0; in socket_shutdown()
/kernel/linux/linux-5.10/drivers/block/
Dxsysace.c202 int lock_count; member