Lines Matching refs:LOCKFILE
51 #define LOCKFILE _PATH_SYSVOL "/yp_mapupdate"
96 LOCKFILE);
114 * File name is $_PATH_SYSVOL/yp_mapupate (LOCKFILE). It might or might
128 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600);
141 LOCKFILE, errno);
146 LOCKFILE,
157 "fstat(%s) => errno=%d", LOCKFILE, errno);
164 "lockf(%s,F_LOCK) => errno=%d", LOCKFILE, errno);
170 "open(%s) => errno=%d", LOCKFILE, errno);
182 "mmap(%s) => errno=%d", LOCKFILE, errno);
196 if (remove(LOCKFILE) != 0) {
199 LOCKFILE, errno);
207 "lockf(%s,F_ULOCK) => errno=%d", LOCKFILE, errno);
216 "close(%s) => errno=%d", LOCKFILE, errno);
262 if (remove(LOCKFILE) != 0) {
265 LOCKFILE, errno);
289 if (remove(LOCKFILE) != 0) {
292 LOCKFILE, errno);
390 if (remove(LOCKFILE) != 0) {
393 LOCKFILE, errno);