Searched refs:lockinfo (Results 1 – 3 of 3) sorted by relevance
294 struct flock lockinfo; /* File locking structure */ in lkdgrptab() local314 lockinfo.l_type = lktype; in lkdgrptab()315 lockinfo.l_whence = 0; in lkdgrptab()316 lockinfo.l_start = 0L; in lkdgrptab()317 lockinfo.l_len = 0L; in lkdgrptab()321 while ((fcntl(fileno(oam_dgroup), F_SETLK, &lockinfo) == -1) && in lkdgrptab()334 &lockinfo) == -1) in lkdgrptab()374 struct flock lockinfo; /* Locking structure */ in unlkdgrptab() local378 lockinfo.l_type = F_UNLCK; /* Lock type */ in unlkdgrptab()379 lockinfo.l_whence = 0; /* Count from top of file */ in unlkdgrptab()[all …]
318 struct flock lockinfo; /* File locking structure */ in lkdevtab() local338 lockinfo.l_type = lktype; in lkdevtab()339 lockinfo.l_whence = 0; in lkdevtab()340 lockinfo.l_start = 0L; in lkdevtab()341 lockinfo.l_len = 0L; in lkdevtab()345 while ((fcntl(fileno(oam_devtab), F_SETLK, &lockinfo) == -1) && in lkdevtab()348 if (fcntl(fileno(oam_devtab), F_SETLKW, &lockinfo) == -1) in lkdevtab()382 struct flock lockinfo; /* Locking structure */ in unlkdevtab() local386 lockinfo.l_type = F_UNLCK; /* Lock type */ in unlkdevtab()387 lockinfo.l_whence = 0; /* Count from top of file */ in unlkdevtab()[all …]
46 osa_adb_lock_ent lockinfo; member197 if (strcmp(lockp->lockinfo.filename, lockfilename) == 0) in osa_adb_init_db()215 if (lockp->lockinfo.lockfile == NULL) { in osa_adb_init_db()216 if ((code = krb5int_init_context_kdc(&lockp->lockinfo.context))) { in osa_adb_init_db()225 lockp->lockinfo.filename = strdup(lockfilename); in osa_adb_init_db()226 if ((lockp->lockinfo.lockfile = fopen(lockfilename, "r+F")) == NULL) { in osa_adb_init_db()231 if ((lockp->lockinfo.lockfile = fopen(lockfilename, "rF")) in osa_adb_init_db()237 lockp->lockinfo.lockmode = lockp->lockinfo.lockcnt = 0; in osa_adb_init_db()241 db->lock = &lockp->lockinfo; in osa_adb_init_db()