Searched refs:newIndex (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/fs/udf/
H A Dunicode.c430 int index, newIndex = 0, needsCRC = 0; udf_translate_to_linux() local
438 newIndex = udfLen; udf_translate_to_linux()
458 newExtIndex = newIndex; udf_translate_to_linux()
461 if (newIndex < newLen) udf_translate_to_linux()
462 newName[newIndex++] = curr; udf_translate_to_linux()
490 if (newIndex > maxFilenameLen) udf_translate_to_linux()
491 newIndex = maxFilenameLen; udf_translate_to_linux()
493 newIndex = newExtIndex; udf_translate_to_linux()
494 } else if (newIndex > newLen - CRC_LEN) udf_translate_to_linux()
495 newIndex = newLen - CRC_LEN; udf_translate_to_linux()
496 newName[newIndex++] = CRC_MARK; udf_translate_to_linux()
498 newName[newIndex++] = hex_asc_upper_hi(valueCRC >> 8); udf_translate_to_linux()
499 newName[newIndex++] = hex_asc_upper_lo(valueCRC >> 8); udf_translate_to_linux()
500 newName[newIndex++] = hex_asc_upper_hi(valueCRC); udf_translate_to_linux()
501 newName[newIndex++] = hex_asc_upper_lo(valueCRC); udf_translate_to_linux()
504 newName[newIndex++] = EXT_MARK; udf_translate_to_linux()
506 newName[newIndex++] = ext[index]; udf_translate_to_linux()
510 return newIndex; udf_translate_to_linux()
/linux-4.1.27/drivers/message/fusion/
H A Dmptscsih.c192 int newIndex; mptscsih_AddSGE() local
347 if ((mptscsih_getFreeChainBuffer(ioc, &newIndex)) == FAILED) { mptscsih_AddSGE()
358 ioc->ChainToChain[chain_idx] = newIndex; mptscsih_AddSGE()
360 ioc->ReqToChain[req_idx] = newIndex; mptscsih_AddSGE()
362 chain_idx = newIndex; mptscsih_AddSGE()

Completed in 149 milliseconds