Lines Matching full:de
351 struct ext2_direntry *de; in ext2_format() local
366 de = ext2_create_direntry(".", 1, EXT2_ROOT_INODE, EXT2_FT_DIR); in ext2_format()
367 ext2_write_direntry(disk_de, de); in ext2_format()
369 de_offset += de->de_rec_len; in ext2_format()
370 k_heap_free(&direntry_heap, de); in ext2_format()
373 de = ext2_create_direntry("..", 2, EXT2_ROOT_INODE, EXT2_FT_DIR); in ext2_format()
374 ext2_write_direntry(disk_de, de); in ext2_format()
376 de_offset += de->de_rec_len; in ext2_format()
377 k_heap_free(&direntry_heap, de); in ext2_format()
382 de = ext2_create_direntry(name, strlen(name), lost_found_inode, EXT2_FT_DIR); in ext2_format()
383 de_offset += de->de_rec_len; in ext2_format()
386 de->de_rec_len += cfg->block_size - de_offset; in ext2_format()
388 ext2_write_direntry(disk_de, de); in ext2_format()
389 k_heap_free(&direntry_heap, de); in ext2_format()
408 de = ext2_create_direntry(".", 1, lost_found_inode, EXT2_FT_DIR); in ext2_format()
409 ext2_write_direntry(disk_de, de); in ext2_format()
411 de_offset += de->de_rec_len; in ext2_format()
412 k_heap_free(&direntry_heap, de); in ext2_format()
415 de = ext2_create_direntry("..", 2, EXT2_ROOT_INODE, EXT2_FT_DIR); in ext2_format()
416 de_offset += de->de_rec_len; in ext2_format()
419 de->de_rec_len += cfg->block_size - de_offset; in ext2_format()
421 ext2_write_direntry(disk_de, de); in ext2_format()
422 k_heap_free(&direntry_heap, de); in ext2_format()