Lines Matching refs:data_len
85 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode()
144 ui->data_len = le32_to_cpu(ino->data_len); in ubifs_iget()
168 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
173 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget()
174 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget()
175 } else if (ui->data_len != 0) { in ubifs_iget()
183 if (ui->data_len != 0) { in ubifs_iget()
190 if (ui->data_len <= 0 || ui->data_len > UBIFS_MAX_INO_DATA) { in ubifs_iget()
194 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
199 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget()
200 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget()
215 if (ui->data_len == sizeof(dev->new)) in ubifs_iget()
217 else if (ui->data_len == sizeof(dev->huge)) in ubifs_iget()
223 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget()
232 if (ui->data_len != 0) { in ubifs_iget()