Lines Matching refs:fm_idx
29701 int fm_idx = -1;
29708 fm_idx = i;
29712 fm_idx = i;
29717 if (fm_idx == -1) {
29718 return fm_idx;
29721 if (strlen(fm_ptr->elems[fm_idx].type_name) == 0) {
29722 strncpy(fm_ptr->elems[fm_idx].type_name, fname, DHD_DUMP_TYPE_NAME_SIZE);
29723 fm_ptr->elems[fm_idx].type_name[DHD_DUMP_TYPE_NAME_SIZE - 1] = '\0';
29724 fm_ptr->elems[fm_idx].file_idx = 0;
29727 return fm_idx;
29737 int fm_idx;
29752 if ((fm_idx = dhd_dump_file_manage_idx(fm_ptr, fname)) < 0) {
29758 elem = &fm_ptr->elems[fm_idx];
29761 __FUNCTION__, fm_idx, fp_idx, elem->file_path[fp_idx]));