Lines Matching refs:data_len
92 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode()
154 ui->data_len = le32_to_cpu(ino->data_len); in ubifs_iget()
175 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
180 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget()
181 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget()
182 } else if (ui->data_len != 0) { in ubifs_iget()
190 if (ui->data_len != 0) { in ubifs_iget()
197 if (ui->data_len <= 0 || ui->data_len > UBIFS_MAX_INO_DATA) { in ubifs_iget()
201 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
206 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget()
207 ((char *)ui->data)[ui->data_len] = '\0'; in ubifs_iget()
222 if (ui->data_len == sizeof(dev->new)) in ubifs_iget()
224 else if (ui->data_len == sizeof(dev->huge)) in ubifs_iget()
230 memcpy(ui->data, ino->data, ui->data_len); in ubifs_iget()
239 if (ui->data_len != 0) { in ubifs_iget()