Lines Matching defs:pos
21 #define REGISTRY_LOCK(env, pos, nowait) \
22 __os_fdlock(env, (env)->dbenv->registry, (off_t)(pos), 1, nowait)
23 #define REGISTRY_UNLOCK(env, pos) \
24 __os_fdlock(env, (env)->dbenv->registry, (off_t)(pos), 0, 0)
212 off_t end, pos;
298 pos = (off_t)lcnt * PID_LEN;
299 if (REGISTRY_LOCK(env, pos, 1) == 0) {
300 if ((ret = REGISTRY_UNLOCK(env, pos)) != 0)
363 pos = (off_t)lcnt * PID_LEN;
364 if (REGISTRY_LOCK(env, pos, 1) == 0) {
368 (u_long)pid, lcnt, (u_long)pos);
371 dbenv->registry, 0, 0, (u_int32_t)pos)) != 0 ||
375 dbenv->registry_off = (u_int32_t)pos;