Home
last modified time | relevance | path

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

/device/google/bonito/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 …]
/device/google/coral/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 …]
/device/google/crosshatch/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 …]
/device/linaro/dragonboard/installer/db845c/dragonboard-845c-bootloader-ufs-aosp/
DMD5SUMS.txt46 21775907582b06389a656ab56011c160 sec.dat
/device/linaro/hikey/gralloc/
Dalloc_device.cpp759 struct ion_heap_data *dat = (struct ion_heap_data *)data; in find_heap_id() local
760 if (strcmp(dat[i].name, name) == 0) { in find_heap_id()
761 heap_id = dat[i].heap_id; in find_heap_id()