/titanic_41/usr/src/cmd/ypcmd/shared/ |
H A D | lockmap.c | 187 if (lockf(lockfile, F_LOCK, 0) == 0) { in init_lock_map() 205 lockf(lockfile, F_ULOCK, 0); in init_lock_map() 213 lockf(lockfile, F_ULOCK, 0); in init_lock_map() 237 lockf(lockfile, F_ULOCK, 0); in init_lock_map() 248 lockf(lockfile, F_ULOCK, 0); in init_lock_map() 259 if (lockf(lockfile, F_ULOCK, 0) != 0) { in init_lock_map()
|
/titanic_41/usr/src/lib/libnisdb/yptol/ |
H A D | lock_update.c | 133 if (lockf(lockfile, F_LOCK, 0) == 0) { in init_update_lock_map() 153 lockf(lockfile, F_ULOCK, 0); in init_update_lock_map() 161 lockf(lockfile, F_ULOCK, 0); in init_update_lock_map() 186 lockf(lockfile, F_ULOCK, 0); in init_update_lock_map() 197 lockf(lockfile, F_ULOCK, 0); in init_update_lock_map() 208 if (lockf(lockfile, F_ULOCK, 0) != 0) { in init_update_lock_map()
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | ulockf.c | 364 while ( lockf(fd, F_TLOCK, 0L) != 0 ) { 426 return( lockf(fd, F_TEST, 0L) ); 448 (void) lockf(fd, F_ULOCK, 0L); 456 lockf(fd, cmd, size) in lockf() function
|
/titanic_41/usr/src/head/ |
H A D | unistd.h | 211 #pragma redefine_extname lockf lockf64 219 #define lockf lockf64 232 #pragma redefine_extname lockf64 lockf 240 #define lockf64 lockf 419 extern int lockf(int, int, off_t);
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 363 while ( lockf(fd, F_TLOCK, 0L) != 0 ) { 425 return( lockf(fd, F_TEST, 0L) ); 447 (void) lockf(fd, F_ULOCK, 0L);
|
H A D | tmsac.c | 60 if (lockf(Lckfd, F_TEST, 0L) == -1) in openpid() 69 if (lockf(Lckfd, F_LOCK, 0L) == -1) in openpid()
|
H A D | tmlock.c | 55 extern int lockf();
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_setup.c | 240 if (lockf(lockfd, F_ULOCK, 0) != 0) { in meta_unlock() 275 if (lockf(lockfd, F_TLOCK, 0) != 0) { in meta_lock() 284 if (lockf(lockfd, F_LOCK, 0) != 0) { in meta_lock() 328 if (lockf(lockfd, F_TLOCK, 0) != 0) { in meta_lock_nowait() 376 if (lockf(lockfd, F_TEST, 0) != 0) { in meta_lock_status()
|
/titanic_41/usr/src/lib/libnsl/dial/ |
H A D | ulockf.c | 266 while (lockf(fd, F_TLOCK, 0L) != 0) { in fd_mklock() 301 (void) lockf(fd, F_ULOCK, 0L); in fd_rmlock()
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_domain.c | 399 (void) lockf(fileno(fp), F_LOCK, 0); in smb_domain_save() 433 (void) lockf(fileno(fp), F_ULOCK, 0); in smb_domain_save() 451 (void) lockf(fileno(fp), F_LOCK, 0); in smb_domain_show() 459 (void) lockf(fileno(fp), F_ULOCK, 0); in smb_domain_show()
|
/titanic_41/usr/src/lib/libbc/libc/compat/common/ |
H A D | lockf.c | 47 lockf(int fildes, int function, long size) in lockf() function
|
/titanic_41/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 548 (void) lockf(fileno(dfstab), F_LOCK, 0); in sa_comment_line() 561 (void) lockf(fileno(dfstab), F_ULOCK, 0); in sa_comment_line() 601 (void) lockf(fileno(dfstab), F_LOCK, 0); in sa_delete_legacy() 642 (void) lockf(fileno(dfstab), F_ULOCK, 0); in sa_delete_legacy() 708 (void) lockf(fileno(dfstab), F_LOCK, 0); in sa_update_legacy() 718 (void) lockf(fileno(dfstab), F_ULOCK, 0); in sa_update_legacy() 1376 (void) lockf(fileno(fp), F_LOCK, 0); in get_share_list() 1383 (void) lockf(fileno(fp), F_ULOCK, 0); in get_share_list() 1409 (void) lockf(fileno(fp), F_ULOCK, 0); in get_share_list() 1415 (void) lockf(fileno(fp), F_ULOCK, 0); in get_share_list()
|
/titanic_41/usr/src/cmd/oamuser/group/ |
H A D | add_group.c | 73 lockf(fileno(etctmp), F_LOCK, 0) != 0) {
|
/titanic_41/usr/src/common/net/patricia/ |
H A D | radix.c | 1098 rn_walktree_mt(h, f, w, lockf, unlockf) in rn_walktree_mt() argument 1102 lockf_t lockf, unlockf; 1109 if (lockf != NULL) { 1125 (*lockf)(rn); 1141 (*lockf)(next); 1148 (*lockf)(base);
|
/titanic_41/usr/src/cmd/saf/ |
H A D | log.c | 90 if (lockf(fileno(Lfp), F_LOCK, 0) < 0) { in openlog()
|
/titanic_41/usr/src/cmd/rexd/ |
H A D | mntent.c | 143 if (lockf(fileno(mnttabp), LOCK_EX, 0) < 0)
|
/titanic_41/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 348 if (lockf(fileno(defptr), F_LOCK, 0) != 0) { in putusrdef() 399 (void) lockf(fileno(defptr), F_ULOCK, 0); in putusrdef()
|
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslogd.c | 550 if (lockf(fileno(fd), F_LOCK, 0L) < 0) { in nfslogtab_remove() 606 if (lockf(fileno(fd), F_LOCK, 0L) < 0) { in nfslogtab_deactivate_after_boot() 840 if (lockf(fd, F_LOCK, 0) < 0) { in process_pidfile()
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 504 (void) lockf(fileno(fp), F_LOCK, 0); in smb_netbios_dump() 531 (void) lockf(fileno(fp), F_ULOCK, 0); in smb_netbios_dump()
|
/titanic_41/usr/src/cmd/filesync/ |
H A D | main.c | 559 ret = lockf(lockfd, F_TLOCK, 0L); in findfiles() 595 (void) lockf(lockfd, F_ULOCK, 0); in cleanup()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 661 if (lockf(fd, F_LOCK, 0) < NULL) in pututxline() 689 (void) lockf(fd, F_ULOCK, 0); in pututxline() 1085 if (lockf(lockfd, F_LOCK, 0) < 0) { in lockutx() 1105 (void) lockf(fd, F_ULOCK, 0); in unlockutx()
|
H A D | getut.c | 672 if (lockf(fd, F_LOCK, 0) < 0) { in lockut() 687 (void) lockf(fd, F_ULOCK, 0); in unlockut()
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | lockinst.c | 208 if (lockf(fd, F_LOCK, 0)) { in lockinst()
|
/titanic_41/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 174 if (lockf(pid_fd, F_TLOCK, 0L) < 0) { in init_daemon()
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_bind.c | 1091 st = lockf(fd, F_TEST, 1); in get_cached_transport() 1123 st = lockf(fileno(fp), F_TEST, 1); in get_cached_domain() 1159 st = lockf(fd, F_TEST, 1); in ypbind_running()
|