Lines Matching refs:getgrent_data
107 static GetentData getgrent_data = { variable
584 return nss_systemd_endent(&getgrent_data); in _nss_systemd_endgrent()
624 …thread_mutex_unlock_assertp) pthread_mutex_t *_l = pthread_mutex_lock_assert(&getgrent_data.mutex); in _nss_systemd_setgrent()
627 getgrent_data.iterator = userdb_iterator_free(getgrent_data.iterator); in _nss_systemd_setgrent()
628 getgrent_data.by_membership = false; in _nss_systemd_setgrent()
631 r = groupdb_all(nss_glue_userdb_flags() | USERDB_DONT_SYNTHESIZE, &getgrent_data.iterator); in _nss_systemd_setgrent()
738 …thread_mutex_unlock_assertp) pthread_mutex_t *_l = pthread_mutex_lock_assert(&getgrent_data.mutex); in _nss_systemd_getgrent_r()
741 if (!getgrent_data.iterator) { in _nss_systemd_getgrent_r()
747 if (!getgrent_data.by_membership) { in _nss_systemd_getgrent_r()
748 r = groupdb_iterator_get(getgrent_data.iterator, &gr); in _nss_systemd_getgrent_r()
756 getgrent_data.iterator = userdb_iterator_free(getgrent_data.iterator); in _nss_systemd_getgrent_r()
758 r = membershipdb_all(nss_glue_userdb_flags(), &getgrent_data.iterator); in _nss_systemd_getgrent_r()
765 getgrent_data.by_membership = true; in _nss_systemd_getgrent_r()
780 if (getgrent_data.by_membership) { in _nss_systemd_getgrent_r()
783 if (!getgrent_data.iterator) in _nss_systemd_getgrent_r()
789 … r = membershipdb_iterator_get(getgrent_data.iterator, &user_name, &group_name); in _nss_systemd_getgrent_r()