Home
last modified time | relevance | path

Searched refs:dat (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp924 int add_lun_to_update_list(char *lun_path, struct update_data *dat) in add_lun_to_update_list() argument
928 if (!lun_path || !dat){ in add_lun_to_update_list()
939 if (dat->num_valid_entries == 0) { in add_lun_to_update_list()
944 strlcpy(dat->lun_list[0], lun_path, in add_lun_to_update_list()
946 dat->num_valid_entries = 1; in add_lun_to_update_list()
948 for (i = 0; (i < dat->num_valid_entries) && in add_lun_to_update_list()
949 (dat->num_valid_entries < MAX_LUNS - 1); i++) { in add_lun_to_update_list()
952 if (!strncmp(lun_path,dat->lun_list[i], in add_lun_to_update_list()
953 strlen(dat->lun_list[i]))) { in add_lun_to_update_list()
961 dat->num_valid_entries); in add_lun_to_update_list()
[all …]