Lines Matching refs:str_o_len
158 int str_o_len = 0; /* Length of resulting output */
230 if (str_o_len > (str_max_len - ext_o_len))
235 if (!udf_name_conv_char(str_o, str_max_len, &str_o_len,
241 (str_o_len <= (str_max_len - ext_o_len - CRC_LEN)))
242 o_crc = str_o_len;
246 if (str_o_len > 0 && str_o_len <= 2 && str_o[0] == '.' &&
247 (str_o_len == 1 || str_o[1] == '.'))
250 str_o_len = o_crc;
257 len = min_t(int, CRC_LEN, str_max_len - str_o_len);
258 memcpy(&str_o[str_o_len], crc, len);
259 str_o_len += len;
263 memcpy(&str_o[str_o_len], ext, ext_o_len);
264 str_o_len += ext_o_len;
268 return str_o_len;