Lines Matching refs:lockfile
113 local lockfile="$1"
118 [ -n "${lockfile}" ] || return
119 if ! expr "${lockfile}" : '.*/' >/dev/null 2>&1; then
120 lockfile="${ZED_LOCKDIR}/${lockfile}"
128 eval "exec ${fd}>> '${lockfile}'"
130 zed_log_err "failed to lock \"${lockfile}\": ${err}"
155 local lockfile="$1"
159 [ -n "${lockfile}" ] || return
160 if ! expr "${lockfile}" : '.*/' >/dev/null 2>&1; then
161 lockfile="${ZED_LOCKDIR}/${lockfile}"
166 zed_log_err "failed to unlock \"${lockfile}\": ${err}"
764 zed_lock "${lockfile}" "${lockfile_fd}"
782 zed_unlock "${lockfile}" "${lockfile_fd}"