Lines Matching refs:_idmapdstate
72 idmapd_state_t _idmapdstate; variable
266 if (rwlock_init(&_idmapdstate.rwlk_cfg, USYNC_THREAD, NULL) != 0) in main()
268 if (mutex_init(&_idmapdstate.addisc_lk, USYNC_THREAD, NULL) != 0) in main()
270 if (cond_init(&_idmapdstate.addisc_cv, USYNC_THREAD, NULL) != 0) in main()
273 _idmapdstate.daemon_mode = TRUE; in main()
277 _idmapdstate.daemon_mode = FALSE; in main()
313 if (_idmapdstate.daemon_mode == TRUE) { in main()
342 if (_idmapdstate.daemon_mode == TRUE) in main()
372 if (sysinfo(SI_HOSTNAME, _idmapdstate.hostname, in init_idmapd()
373 sizeof (_idmapdstate.hostname)) == -1) { in init_idmapd()
389 max_threads = _idmapdstate.cfg->pgcfg.max_threads; in init_idmapd()
423 if ((error = allocids(_idmapdstate.new_eph_db, in init_idmapd()
424 8192, &_idmapdstate.next_uid, in init_idmapd()
425 8192, &_idmapdstate.next_gid)) != 0) { in init_idmapd()
428 _idmapdstate.next_uid = IDMAP_SENTINEL_PID; in init_idmapd()
429 _idmapdstate.limit_uid = IDMAP_SENTINEL_PID; in init_idmapd()
430 _idmapdstate.next_gid = IDMAP_SENTINEL_PID; in init_idmapd()
431 _idmapdstate.limit_gid = IDMAP_SENTINEL_PID; in init_idmapd()
433 _idmapdstate.limit_uid = _idmapdstate.next_uid + 8192; in init_idmapd()
434 _idmapdstate.limit_gid = _idmapdstate.next_gid + 8192; in init_idmapd()