Lines Matching defs:gr_mc_ctx
32 struct sss_cli_mc_ctx gr_mc_ctx = { UNINITIALIZED, -1, 0, NULL, 0, NULL, 0,
118 ret = sss_nss_mc_get_ctx("group", &gr_mc_ctx);
124 data_size = gr_mc_ctx.dt_size;
127 hash = sss_nss_mc_hash(&gr_mc_ctx, name, name_len + 1);
128 slot = gr_mc_ctx.hash_table[hash];
138 ret = sss_nss_mc_get_record(&gr_mc_ctx, slot, &rec);
160 || (uint8_t *) rec + rec->len > gr_mc_ctx.data_table + data_size) {
181 __sync_sub_and_fetch(&gr_mc_ctx.active_threads, 1);
197 ret = sss_nss_mc_get_ctx("group", &gr_mc_ctx);
209 hash = sss_nss_mc_hash(&gr_mc_ctx, gidstr, len+1);
210 slot = gr_mc_ctx.hash_table[hash];
215 while (MC_SLOT_WITHIN_BOUNDS(slot, gr_mc_ctx.dt_size)) {
220 ret = sss_nss_mc_get_record(&gr_mc_ctx, slot, &rec);
240 if (!MC_SLOT_WITHIN_BOUNDS(slot, gr_mc_ctx.dt_size)) {
249 __sync_sub_and_fetch(&gr_mc_ctx.active_threads, 1);