Searched refs:lock_file (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/contrib/subversion/subversion/include/private/
H A Dsvn_io_private.h77 * Lock file at @a lock_file. If that file does not exist, create an empty
84 svn_io__file_lock_autocreate(const char *lock_file,
/freebsd-11-stable/crypto/heimdal/lib/hdb/
H A Dndbm.c138 char *lock_file; local
141 asprintf(&lock_file, "%s.lock", db_name);
142 if(lock_file == NULL) {
147 *fd = open(lock_file, O_RDWR | O_CREAT, 0600);
148 free(lock_file);
151 krb5_set_error_message(context, ret, "open(%s): %s", lock_file,
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_printer_tbl.c153 if (pp->lock_file[0] == '/')
154 strlcpy(lockfile, pp->lock_file, sizeof(lockfile));
157 pp->spool_dir, pp->lock_file);
/freebsd-11-stable/usr.sbin/ctm/ctm_rmail/
H A Dctm_rmail.c43 int lock_file(char *name);
160 if ((lfd = lock_file(fname)) < 0)
463 if ((lfd = lock_file(tname)) < 0)
656 lock_file(char *name) function
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dcommon.c292 if (pp->lock_file[0] == '/')
293 strlcpy(buf, pp->lock_file, len);
295 snprintf(buf, len, "%s/%s", pp->spool_dir, pp->lock_file);
H A Dprintcap.c230 CHK(capdb_getaltstr(bp, "lo", "spool.lock", DEFLOCK, &pp->lock_file));
342 cfree(pp->lock_file);
H A Ddisplayq.c129 ret = stat(pp->lock_file, &statb);
156 fp = fopen(pp->lock_file, "r");
H A Dlp.h62 char *lock_file; /* LO: lock file */ member in struct:printer
H A Drmjob.c125 if (lockchk(pp, pp->lock_file) && chk(current)) {
/freebsd-11-stable/usr.sbin/lpr/lpc/
H A Dmovejobs.c261 setres = set_qstate(SQS_QCHANGED, pp->lock_file);
H A Dcmds.c1212 if (changed && stat(pp->lock_file, &stbuf) >= 0)
1213 (void) chmod(pp->lock_file, stbuf.st_mode | LFM_RESET_QUE);
/freebsd-11-stable/usr.sbin/lpr/lpd/
H A Dprintjob.c201 statok = stat(pp->lock_file, &stb);
205 lfd = open(pp->lock_file, O_WRONLY|O_CREAT|O_EXLOCK|O_NONBLOCK,
211 pp->lock_file);
215 * If the initial call to stat() failed, then lock_file will have
219 statok = stat(pp->lock_file, &stb);
223 pp->lock_file);
234 pp->lock_file);
250 pp->lock_file);
285 pp->lock_file);
306 pp->printer, pp->lock_file);
[all...]
H A Drecvjob.c124 if (stat(pp->lock_file, &stb) == 0) {
/freebsd-11-stable/contrib/sendmail/contrib/
H A Dqtool.pl364 sub lock_file subroutine
658 ($lock_handle, $result) = ::lock_file($self->{file_name});
/freebsd-11-stable/contrib/subversion/subversion/include/
H A Dsvn_io.h735 * Lock file at @a lock_file. If @a exclusive is TRUE,
744 svn_io_file_lock(const char *lock_file,
749 * Lock file at @a lock_file. If @a exclusive is TRUE,
761 svn_io_file_lock2(const char *lock_file,
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Drepos.c1928 const char * lock_file = svn_repos_db_logs_lockfile(repos, pool);
1934 return svn_io_file_lock2(lock_file, exclusive, FALSE, pool);
1927 const char * lock_file = svn_repos_db_logs_lockfile(repos, pool); local
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dio.c2645 svn_io_file_lock2(const char *lock_file,
2668 SVN_ERR(svn_io_file_open(&lockfile_handle, lock_file, flags,
2677 svn_io__file_lock_autocreate(const char *lock_file,
2681 = svn_io_file_lock2(lock_file, TRUE, FALSE, pool);
2690 err = svn_io_file_create_empty(lock_file, pool);
2699 err = svn_io_file_lock2(lock_file, TRUE, FALSE, pool);
2639 svn_io_file_lock2(const char *lock_file, svn_boolean_t exclusive, svn_boolean_t nonblocking, apr_pool_t *pool) argument
2671 svn_io__file_lock_autocreate(const char *lock_file, apr_pool_t *pool) argument
H A Ddeprecated.c1183 svn_error_t *svn_io_file_lock(const char *lock_file,
1187 return svn_io_file_lock2(lock_file, exclusive, FALSE, pool);
1181 svn_io_file_lock(const char *lock_file, svn_boolean_t exclusive, apr_pool_t *pool) argument

Completed in 294 milliseconds