Home
last modified time | relevance | path

Searched refs:F_SETLKW (Results 1 – 25 of 62) sorted by relevance

123

/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c147 #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 Dasometh16 return fcntl(1, F_SETLKW, &lock) < 0;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlock_file.c47 #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 Daso-fcntl.c65 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 Dfcntl.h80 #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 Dpr_fcntl.c68 case F_SETLKW: in pr_fcntl()
98 case F_SETLKW: in pr_fcntl()
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h167 #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 Dlock.c52 return fcntl(fileno(fp), blk ? F_SETLKW : F_SETLK, &l); in lock()
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyplckpwdf.c70 retval = fcntl(fildes, F_SETLKW, (int)&flock); in yplckpwdf()
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dlockfile.c57 action = F_SETLKW;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dlockf.c63 rv = fcntl(fildes, F_SETLKW, &l); in __lockf()
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dutil.c156 case F_SETLKW: in flock_cmdname()
H A Dacquire-lock.c113 acq_fcntl(fd, F_SETLKW, is_exclusive ? F_WRLCK : F_RDLCK); in acq_run()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c118 if (fcntl(fd, F_SETLKW, &lock) < 0) { in di_dli_open()
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c93 (void) fcntl(fileno(mpt), F_SETLKW, &lb); in do_mnttab()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h235 #define F_SETLKW 13 /* F_SETLK; wait if blocked */ macro
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c770 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 Dports.c244 if (strcmp(device, "/dev/null") && Fcntl(fd, F_SETLKW, &lck) < 0) { in open_direct()
/illumos-gate/usr/src/cmd/sendmail/db/mutex/
H A Dmutex.c244 if (fcntl(fd, F_SETLKW, &k_lock))
/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c363 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 Dscratchops.c77 return (fcntl(fd, F_SETLKW, &lock)); in lock_op()
H A Dgetzoneent.c222 if (fcntl(lock_fd, F_SETLKW, &lock) == -1) { in lock_index_file()
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c101 action = F_SETLKW;
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlflow.c95 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 Ddumpitime.c19 #define flock(fd, flag) (fl.l_type = (flag), fcntl(fd, F_SETLKW, &fl))

123