Lines Matching defs:rec
34 static errno_t sss_nss_mc_parse_result(struct sss_mc_rec *rec,
44 expire = rec->expire;
50 data = (struct sss_mc_pwd_data *)rec->data;
102 struct sss_mc_rec *rec = NULL;
128 free(rec);
129 rec = NULL;
131 ret = sss_nss_mc_get_record(&pw_mc_ctx, slot, &rec);
137 if (hash != rec->hash1) {
139 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
143 data = (struct sss_mc_pwd_data *)rec->data;
152 || data->strs_len > rec->len
153 || (uint8_t *) rec + rec->len > pw_mc_ctx.data_table + data_size) {
162 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
170 ret = sss_nss_mc_parse_result(rec, result, buffer, buflen);
173 free(rec);
182 struct sss_mc_rec *rec = NULL;
210 free(rec);
211 rec = NULL;
213 ret = sss_nss_mc_get_record(&pw_mc_ctx, slot, &rec);
219 if (hash != rec->hash2) {
221 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
225 data = (struct sss_mc_pwd_data *)rec->data;
230 slot = sss_nss_mc_next_slot_with_hash(rec, hash);
238 ret = sss_nss_mc_parse_result(rec, result, buffer, buflen);
241 free(rec);