Lines Matching refs:str_o_len
162 int str_o_len = 0; /* Length of resulting output */
234 if (str_o_len > (str_max_len - ext_o_len))
239 if (!udf_name_conv_char(str_o, str_max_len, &str_o_len,
245 (str_o_len <= (str_max_len - ext_o_len - CRC_LEN)))
246 o_crc = str_o_len;
250 if (str_o_len > 0 && str_o_len <= 2 && str_o[0] == '.' &&
251 (str_o_len == 1 || str_o[1] == '.'))
254 str_o_len = o_crc;
261 len = min_t(int, CRC_LEN, str_max_len - str_o_len);
262 memcpy(&str_o[str_o_len], crc, len);
263 str_o_len += len;
267 memcpy(&str_o[str_o_len], ext, ext_o_len);
268 str_o_len += ext_o_len;
272 return str_o_len;