Lines Matching refs:persist_entry
3128 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) { in persist_get_key()
3130 strlcpy(value, persist_data->persist_entry[i].val, PROPERTY_VALUE_MAX); in persist_get_key()
3153 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) { in persist_set_key()
3155 memset(persist_data->persist_entry[i].val, 0, PROPERTY_VALUE_MAX); in persist_set_key()
3156 strlcpy(persist_data->persist_entry[i].val, value, PROPERTY_VALUE_MAX); in persist_set_key()
3163 memset(&persist_data->persist_entry[num], 0, sizeof(struct crypt_persist_entry)); in persist_set_key()
3164 strlcpy(persist_data->persist_entry[num].key, fieldname, PROPERTY_KEY_MAX); in persist_set_key()
3165 strlcpy(persist_data->persist_entry[num].val, value, PROPERTY_VALUE_MAX); in persist_set_key()
3226 if (!match_multi_entry(persist_data->persist_entry[i].key, fieldname, index)) { in persist_del_keys()
3227 persist_data->persist_entry[j] = persist_data->persist_entry[i]; in persist_del_keys()
3235 memset(&persist_data->persist_entry[j], 0, (num - j) * sizeof(struct crypt_persist_entry)); in persist_del_keys()
3254 if (match_multi_entry(persist_data->persist_entry[i].key, fieldname, 0)) { in persist_count_keys()