Home
last modified time | relevance | path

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

/linux/lib/
H A Dlockref.c15 old.lock_count = READ_ONCE(lockref->lock_count); \
19 if (likely(try_cmpxchg64_relaxed(&lockref->lock_count, \
20 &old.lock_count, \
21 new.lock_count))) { \
/linux/drivers/video/fbdev/omap2/omapfb/
H A 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()
H A Domapfb-sysfs.c448 atomic_inc(&rg->lock_count); in store_size()
482 atomic_dec(&rg->lock_count); in store_size()
H A Domapfb-ioctl.c222 atomic_inc(&rg->lock_count); in omapfb_setup_mem()
256 atomic_dec(&rg->lock_count); in omapfb_setup_mem()
H A 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()
/linux/fs/smb/server/
H A Dsmb2misc.c171 unsigned short lock_count; in smb2_get_data_area_len() local
173 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()
H A Dsmb2pdu.c7266 int lock_count; in smb2_lock() local
7289 lock_count = le16_to_cpu(req->LockCount); in smb2_lock()
7292 ksmbd_debug(SMB, "lock count is %d\n", lock_count); in smb2_lock()
7293 if (!lock_count) { in smb2_lock()
7298 for (i = 0; i < lock_count; i++) { in smb2_lock()
/linux/fs/afs/
H A Dflock.c529 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() 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()
H A Dxdr_fs.h31 __be32 lock_count; member
H A Dafs.h142 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */ member
H A Dprotocol_yfs.h101 __be32 lock_count; member
H A Dyfsclient.c207 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_YFSFetchStatus()
H A Dfsclient.c107 status->lock_count = ntohl(xdr->lock_count); in xdr_decode_AFSFetchStatus()
/linux/include/linux/
H A Dlockref.h28 aligned_u64 lock_count; member
/linux/drivers/clk/qcom/
H A Dcommon.h60 qcom_pll_set_fsm_mode(struct regmap *m, u32 reg, u8 bias_count, u8 lock_count);
H A Dcommon.c118 qcom_pll_set_fsm_mode(struct regmap *map, u32 reg, u8 bias_count, u8 lock_count) in qcom_pll_set_fsm_mode() argument
128 lock_count << PLL_LOCK_COUNT_SHIFT; in qcom_pll_set_fsm_mode()
/linux/include/pcmcia/
H A Dss.h136 u_short lock_count; member
/linux/Documentation/pcmcia/
H A Dlocking.rst91 u_short lock_count;
/linux/drivers/pcmcia/
H A Dpcmcia_resource.c357 if (--(s->lock_count) == 0) { in pcmcia_release_configuration()
531 s->lock_count++; in pcmcia_enable_device()
H A Dcs.c303 s->lock_count = 0; in socket_shutdown()