Lines Matching refs:persist_entry
255 struct crypt_persist_entry persist_entry[0]; member
2524 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) { in persist_get_key()
2526 strlcpy(value, persist_data->persist_entry[i].val, PROPERTY_VALUE_MAX); in persist_get_key()
2548 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) { in persist_set_key()
2550 memset(persist_data->persist_entry[i].val, 0, PROPERTY_VALUE_MAX); in persist_set_key()
2551 strlcpy(persist_data->persist_entry[i].val, value, PROPERTY_VALUE_MAX); in persist_set_key()
2558 memset(&persist_data->persist_entry[num], 0, sizeof(struct crypt_persist_entry)); in persist_set_key()
2559 strlcpy(persist_data->persist_entry[num].key, fieldname, PROPERTY_KEY_MAX); in persist_set_key()
2560 strlcpy(persist_data->persist_entry[num].val, value, PROPERTY_VALUE_MAX); in persist_set_key()
2613 if (!match_multi_entry(persist_data->persist_entry[i].key, fieldname, index)) { in persist_del_keys()
2614 persist_data->persist_entry[j] = persist_data->persist_entry[i]; in persist_del_keys()
2622 memset(&persist_data->persist_entry[j], 0, (num - j) * sizeof(struct crypt_persist_entry)); in persist_del_keys()
2640 if (match_multi_entry(persist_data->persist_entry[i].key, fieldname, 0)) { in persist_count_keys()