Searched refs:lock_fd (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/sendmail/libsmdb/ |
H A D | smdb.c | 315 smdb_lock_file(lock_fd, db_name, mode, sff, extension) in smdb_lock_file() argument 316 int *lock_fd; in smdb_lock_file() 330 *lock_fd = safeopen(file_name, mode & ~O_TRUNC, DBMMODE, sff); 331 if (*lock_fd < 0) 348 smdb_unlock_file(lock_fd) in smdb_unlock_file() argument 349 int lock_fd; in smdb_unlock_file() 353 result = close(lock_fd);
|
H A D | smcdb.c | 440 int lock_fd; local 458 lock_fd = -1; 464 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 479 smdb_unlock_file(lock_fd); 486 sm_cdbmap->smcdb_lock_fd = lock_fd;
|
H A D | smdb1.c | 459 int lock_fd; local 490 lock_fd = -1; 491 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 508 (void) smdb_unlock_file(lock_fd); 513 db1->smdb1_lock_fd = lock_fd;
|
H A D | smndbm.c | 501 int lock_fd; local 529 lock_fd = -1; 530 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 544 (void) close(lock_fd); 564 db->smndbm_lock_fd = lock_fd;
|
H A D | smdb2.c | 588 int lock_fd; local 614 lock_fd = -1; 620 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 635 smdb_unlock_file(lock_fd); 642 db2->smdb2_lock_fd = lock_fd;
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | ndbm.c | 50 int lock_fd; member 66 return hdb_lock(d->lock_fd, operation); in NDBM_lock() 73 return hdb_unlock(d->lock_fd); in NDBM_unlock() 298 close(d->lock_fd); in NDBM_close() 323 ret = open_lock_file(context, db->hdb_name, &d->lock_fd); in NDBM_open()
|