Searched refs:device_len (Results 1 – 1 of 1) sorted by relevance
174 int num = 0, device_len = 0; in read_proc_yaffs() local184 device_len = strlen(device); in read_proc_yaffs()194 data->name = malloc(12 + device_len + 1 + (name_end - line) + 1); in read_proc_yaffs()196 unspace(data->name + 12, device, device_len); in read_proc_yaffs()197 data->name[12 + device_len] = ':'; in read_proc_yaffs()198 unspace(data->name + 12 + device_len + 1, line, name_end - line); in read_proc_yaffs()199 data->name[12 + device_len + 1 + (name_end - line)] = '\0'; in read_proc_yaffs()