Lines Matching refs:data_offset
1175 node->data_offset = raw_inode.offset; in jffs_scan_flash()
2160 __u32 offset = node->data_offset; in jffs_delete_data()
2168 && f->range_tail->data_offset + f->range_tail->data_size in jffs_delete_data()
2176 if (n->data_offset + n->data_size > offset) { in jffs_delete_data()
2186 if (n->data_offset > offset) { in jffs_delete_data()
2191 else if (n->data_offset < offset) { in jffs_delete_data()
2193 if (n->data_offset + n->data_size > offset + remove_size) { in jffs_delete_data()
2207 new_node->data_offset = offset; in jffs_delete_data()
2208 new_node->data_size = n->data_size - (remove_size + (offset - n->data_offset)); in jffs_delete_data()
2209 new_node->fm_offset = n->fm_offset + (remove_size + (offset - n->data_offset)); in jffs_delete_data()
2232 n->data_size = offset - n->data_offset; in jffs_delete_data()
2245 int r = min(n->data_offset + n->data_size in jffs_delete_data()
2274 n->data_offset -= (node->removed_size - remove_size); in jffs_delete_data()
2282 n->data_offset -= node->removed_size; in jffs_delete_data()
2286 if (node->removed_size > (f->size - node->data_offset)) { in jffs_delete_data()
2297 f->size = node->data_offset; in jffs_delete_data()
2313 node->data_offset, node->data_size, f->size)); in jffs_insert_data()
2317 if (node->data_offset == f->size) { in jffs_insert_data()
2330 else if (node->data_offset < f->size) { in jffs_insert_data()
2341 if (n->data_offset == node->data_offset) { in jffs_insert_data()
2353 ASSERT(else if (n->data_offset + n->data_size > in jffs_insert_data()
2354 node->data_offset) { in jffs_insert_data()
2365 n->data_offset += node->data_size; in jffs_insert_data()
2370 else if (node->data_offset > f->size) { in jffs_insert_data()
2389 D(printk(" node->data_offset = %u\n", node->data_offset)); in jffs_insert_data()
2404 virtual_node->data_offset in jffs_insert_data()
2405 = f->range_tail->data_offset in jffs_insert_data()
2408 = node->data_offset - virtual_node->data_offset; in jffs_insert_data()
2413 virtual_node->data_offset = 0; in jffs_insert_data()
2414 virtual_node->data_size = node->data_offset; in jffs_insert_data()
2497 D(printk(" 0x%08x, /* data_offset */\n", n->data_offset)); in jffs_print_node()
2688 new_node->data_offset = node->data_offset; in jffs_rewrite_data()
2738 raw_inode.offset = node->data_offset; in jffs_rewrite_data()
2796 __u32 offset = node->data_offset; in jffs_rewrite_data()
2924 data_size = f->size - node->data_offset; in jffs_garbage_collect_next()
3017 D2(printk(" node->data_offset: %u\n", node->data_offset)); in jffs_garbage_collect_next()