Searched refs:lock_f (Results 1 – 2 of 2) sorted by relevance
39 def acquire_lock(lock_f): argument41 log.debug("Acquiring lock %s", os.path.abspath(lock_f.name))43 fcntl.flock(lock_f, fcntl.LOCK_EX | fcntl.LOCK_NB)158 lock_f = open(args.lock_file, 'w')159 if not acquire_lock(lock_f):
3680 u8 lock_f; in stv090x_read_cnr() local3687 lock_f = STV090x_GETFIELD_Px(reg, LOCK_DEFINITIF_FIELD); in stv090x_read_cnr()3688 if (lock_f) { in stv090x_read_cnr()3712 lock_f = STV090x_GETFIELD_Px(reg, LOCK_DEFINITIF_FIELD); in stv090x_read_cnr()3713 if (lock_f) { in stv090x_read_cnr()