/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 147 #ifndef F_SETLKW in main() 150 if (F_SETLKW > f_local) f_local = F_SETLKW; in main() 192 #ifndef F_SETLKW in main()
|
H A D | asometh | 16 return fcntl(1, F_SETLKW, &lock) < 0;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | lock_file.c | 47 #if defined(HAVE_FCNTL_H) && defined(F_SETLKW) && defined(F_RDLCK) 70 int lock_cmd = F_SETLKW; in krb5_lock_file()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso-fcntl.c | 65 if (fcntl(apl->fd, F_SETLKW, &lock) >= 0) 137 if (fcntl(fd, F_SETLKW, &lock) < 0) 183 return fcntl(apl->fd, F_SETLKW, &lock) < 0 ? -1 : k;
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 80 #define F_SETLKW 7 /* Set file lock and wait */ macro 106 #define F_SETLKW 7 /* Set file lock and wait */ macro
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_fcntl.c | 68 case F_SETLKW: in pr_fcntl() 98 case F_SETLKW: in pr_fcntl()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fcntl.h | 167 #define F_SETLKW 7 /* Set file lock and wait */ macro 182 #define F_SETLKW 35 /* Set file lock and wait */
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | lock.c | 52 return fcntl(fileno(fp), blk ? F_SETLKW : F_SETLK, &l); in lock()
|
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yplckpwdf.c | 70 retval = fcntl(fildes, F_SETLKW, (int)&flock); in yplckpwdf()
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | lockfile.c | 57 action = F_SETLKW;
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lockf.c | 63 rv = fcntl(fildes, F_SETLKW, &l); in __lockf()
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | util.c | 156 case F_SETLKW: in flock_cmdname()
|
H A D | acquire-lock.c | 113 acq_fcntl(fd, F_SETLKW, is_exclusive ? F_WRLCK : F_RDLCK); in acq_run()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 118 if (fcntl(fd, F_SETLKW, &lock) < 0) { in di_dli_open()
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | mnt.c | 93 (void) fcntl(fileno(mpt), F_SETLKW, &lb); in do_mnttab()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 235 #define F_SETLKW 13 /* F_SETLK; wait if blocked */ macro
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 770 cmd = F_SETLKW; in nwam_write_object_to_files_backend() 802 (void) fcntl(fd, F_SETLKW, &fu); in nwam_write_object_to_files_backend() 809 (void) fcntl(fd, F_SETLKW, &fu); in nwam_write_object_to_files_backend()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 244 if (strcmp(device, "/dev/null") && Fcntl(fd, F_SETLKW, &lck) < 0) { in open_direct()
|
/illumos-gate/usr/src/cmd/sendmail/db/mutex/ |
H A D | mutex.c | 244 if (fcntl(fd, F_SETLKW, &k_lock))
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | conf.c | 363 if (fcntl(Conffd, F_SETLKW, &flock) < 0) in conf_open() 393 if (fcntl(Timesfd, F_SETLKW, &flock) < 0) in conf_open()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 77 return (fcntl(fd, F_SETLKW, &lock)); in lock_op()
|
H A D | getzoneent.c | 222 if (fcntl(lock_fd, F_SETLKW, &lock) == -1) { in lock_index_file()
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 101 action = F_SETLKW;
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 95 if (fcntl(lock_fd, F_SETLKW, &lock) < 0) { in i_dladm_flow_lock_db() 119 (void) fcntl(fd, F_SETLKW, &lock); in i_dladm_flow_unlock_db()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpitime.c | 19 #define flock(fd, flag) (fl.l_type = (flag), fcntl(fd, F_SETLKW, &fl))
|