ref_lock         1720 http-push.c    	struct remote_lock *ref_lock = NULL;
ref_lock         1940 http-push.c    		ref_lock = lock_remote(ref->name, LOCK_TIME);
ref_lock         1941 http-push.c    		if (ref_lock == NULL) {
ref_lock         1978 http-push.c    		objects_to_send = get_delta(&revs, ref_lock);
ref_lock         1991 http-push.c    		if (aborted || !update_remote(ref->new_sha1, ref_lock))
ref_lock         1998 http-push.c    		unlock_remote(ref_lock);
ref_lock         2252 refs.c         static void unlock_ref(struct ref_lock *lock)
ref_lock         2268 refs.c         static int verify_lock(struct ref_lock *lock,
ref_lock         2393 refs.c         static struct ref_lock *lock_ref_sha1_basic(const char *refname,
ref_lock         2403 refs.c         	struct ref_lock *lock;
ref_lock         2412 refs.c         	lock = xcalloc(1, sizeof(struct ref_lock));
ref_lock         2839 refs.c         static int delete_ref_loose(struct ref_lock *lock, int flag, struct strbuf *err)
ref_lock         3101 refs.c         static int write_ref_to_lockfile(struct ref_lock *lock,
ref_lock         3103 refs.c         static int commit_ref_update(struct ref_lock *lock,
ref_lock         3111 refs.c         	struct ref_lock *lock;
ref_lock         3211 refs.c         static int close_ref(struct ref_lock *lock)
ref_lock         3218 refs.c         static int commit_ref(struct ref_lock *lock)
ref_lock         3399 refs.c         static int write_ref_to_lockfile(struct ref_lock *lock,
ref_lock         3438 refs.c         static int commit_ref_update(struct ref_lock *lock,
ref_lock         3926 refs.c         	struct ref_lock *lock;
ref_lock         4567 refs.c         	struct ref_lock *lock;