Lines Matching refs:fm_idx
22531 int fm_idx = -1;
22535 fm_idx = i;
22539 fm_idx = i;
22544 if (fm_idx == -1) {
22545 return fm_idx;
22548 if (strlen(fm_ptr->elems[fm_idx].type_name) == 0) {
22549 strncpy(fm_ptr->elems[fm_idx].type_name, fname, DHD_DUMP_TYPE_NAME_SIZE);
22550 fm_ptr->elems[fm_idx].type_name[DHD_DUMP_TYPE_NAME_SIZE - 1] = '\0';
22551 fm_ptr->elems[fm_idx].file_idx = 0;
22554 return fm_idx;
22564 int fm_idx;
22579 if ((fm_idx = dhd_dump_file_manage_idx(fm_ptr, fname)) < 0) {
22585 elem = &fm_ptr->elems[fm_idx];
22588 __FUNCTION__, fm_idx, fp_idx, elem->file_path[fp_idx]));