Searched refs:file_inode (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/fs/ext4/ |
D | ext4_write.c | 763 static int ext4fs_write_file(struct ext2_inode *file_inode, in ext4fs_write_file() argument 768 uint32_t filesize = le32_to_cpu(file_inode->size); in ext4fs_write_file() 788 blknr = read_allocated_block(file_inode, i, NULL); in ext4fs_write_file() 845 struct ext2_inode *file_inode = NULL; in ext4fs_write() local 911 sizebytes <= sizeof(file_inode->b.symlink)) { in ext4fs_write() 937 file_inode = (struct ext2_inode *)inode_buffer; in ext4fs_write() 938 file_inode->size = cpu_to_le32(sizebytes); in ext4fs_write() 940 file_inode->mode = cpu_to_le16(S_IFLNK | S_IRWXU | S_IRWXG | in ext4fs_write() 943 strncpy(file_inode->b.symlink, buffer, sizebytes); in ext4fs_write() 947 file_inode->mode = cpu_to_le16(S_IFREG | S_IRWXU | S_IRGRP | in ext4fs_write() [all …]
|
D | ext4_common.c | 1207 static void alloc_single_indirect_block(struct ext2_inode *file_inode, in alloc_single_indirect_block() argument 1260 file_inode->b.blocks.indir_block = cpu_to_le32(si_blockno); in alloc_single_indirect_block() 1266 static void alloc_double_indirect_block(struct ext2_inode *file_inode, in alloc_double_indirect_block() argument 1367 file_inode->b.blocks.double_indir_block = cpu_to_le32(di_blockno_parent); in alloc_double_indirect_block() 1373 static void alloc_triple_indirect_block(struct ext2_inode *file_inode, in alloc_triple_indirect_block() argument 1483 file_inode->b.blocks.triple_indir_block = cpu_to_le32(ti_gp_blockno); in alloc_triple_indirect_block() 1493 void ext4fs_allocate_blocks(struct ext2_inode *file_inode, in ext4fs_allocate_blocks() argument 1508 file_inode->b.blocks.dir_blocks[i] = cpu_to_le32(direct_blockno); in ext4fs_allocate_blocks() 1514 alloc_single_indirect_block(file_inode, &total_remaining_blocks, in ext4fs_allocate_blocks() 1516 alloc_double_indirect_block(file_inode, &total_remaining_blocks, in ext4fs_allocate_blocks() [all …]
|
D | ext4_common.h | 72 void ext4fs_allocate_blocks(struct ext2_inode *file_inode,
|