/u-boot/fs/cramfs/ |
H A D | cramfs.c | 82 /* Check that the root inode is in a sane state */ 100 /* Unpack to an allocated buffer, trusting in the inode's size field. */ 103 struct cramfs_inode *inode = (struct cramfs_inode *)(begin + offset); local 104 unsigned long size = CRAMFS_24 (inode->size); 123 struct cramfs_inode *inode; local 127 inode = (struct cramfs_inode *) (begin + offset + 135 namelen = CRAMFS_GET_NAMELEN (inode) << 2; 136 name = (char *) inode + sizeof (struct cramfs_inode); 156 if (S_ISDIR (CRAMFS_16 (inode->mode))) { 159 (inode) << 208 struct cramfs_inode *inode = (struct cramfs_inode *) (begin + offset); local 256 struct cramfs_inode *inode = (struct cramfs_inode *) local 296 struct cramfs_inode *inode; local [all...] |
/u-boot/fs/erofs/ |
H A D | data.c | 5 static int erofs_map_blocks_flatmode(struct erofs_inode *inode, argument 12 struct erofs_inode *vi = inode; 15 nblocks = BLK_ROUND_UP(inode->i_size); 25 /* 2 - inode inline B: inode, [xattrs], inline last blk... */ 28 map->m_plen = inode->i_size - offset; 42 vi->nid, (unsigned long long)inode->i_size, map->m_la); 53 int erofs_map_blocks(struct erofs_inode *inode, argument 56 struct erofs_inode *vi = inode; 65 if (map->m_la >= inode 170 erofs_read_raw_data(struct erofs_inode *inode, char *buffer, erofs_off_t size, erofs_off_t offset) argument 219 z_erofs_read_one_data(struct erofs_inode *inode, struct erofs_map_blocks *map, char *raw, char *buffer, erofs_off_t skip, erofs_off_t length, bool trimmed) argument 274 z_erofs_read_data(struct erofs_inode *inode, char *buffer, erofs_off_t size, erofs_off_t offset) argument 341 erofs_pread(struct erofs_inode *inode, char *buf, erofs_off_t count, erofs_off_t offset) argument [all...] |
H A D | fs.c | 54 struct erofs_inode inode; member in struct:erofs_dir_stream 93 err = erofs_ilookup(filename, &dirs->inode); 97 if (S_ISLNK(dirs->inode.i_mode)) { 98 err = erofs_readlink(&dirs->inode); 103 if (!S_ISDIR(dirs->inode.i_mode)) { 124 if (pos >= dirs->inode.i_size) 129 dirs->inode.i_size - pos); 131 err = erofs_pread(&dirs->inode, dirs->dblk,
|
H A D | internal.h | 218 static inline bool is_inode_layout_compression(struct erofs_inode *inode) argument 220 return erofs_inode_is_data_compressed(inode->datalayout); 249 struct erofs_inode *inode; member in union:erofs_dentry::__anon8 287 /* Located in the special packed inode */ 337 int erofs_pread(struct erofs_inode *inode, char *buf, 339 int erofs_map_blocks(struct erofs_inode *inode, struct erofs_map_blocks *map, 344 int z_erofs_read_one_data(struct erofs_inode *inode, 348 static inline int erofs_get_occupied_size(const struct erofs_inode *inode, argument 352 switch (inode->datalayout) { 356 *size = inode [all...] |
H A D | zmap.c | 41 * is stored in the packed inode. The rest bits keeps z_fragmentoff. 100 struct erofs_inode *inode; member in struct:z_erofs_maprecorder 136 struct erofs_inode *const vi = m->inode; 226 struct erofs_inode *const vi = m->inode; 334 struct erofs_inode *const vi = m->inode; 389 const unsigned int datamode = m->inode->datalayout; 403 struct erofs_inode *const vi = m->inode; 448 struct erofs_inode *const vi = m->inode; 515 struct erofs_inode *const vi = m->inode; 562 .inode [all...] |
/u-boot/fs/squashfs/ |
H A D | sqfs_inode.c | 20 int sqfs_inode_size(struct squashfs_base_inode *inode, u32 blk_size) argument 22 switch (get_unaligned_le16(&inode->inode_type)) { 28 (struct squashfs_reg_inode *)inode; 43 (struct squashfs_ldir_inode *)inode; 66 (struct squashfs_lreg_inode *)inode; 82 (struct squashfs_symlink_inode *)inode; 101 printf("Error while searching inode: unknown type.\n"); 107 * Given the uncompressed inode table, the inode to be found and the number of 108 * inodes in the table, return inode positio [all...] |
/u-boot/fs/ubifs/ |
H A D | super.c | 56 static struct inode *inodes_locked_down[INODE_LOCKED_MAX]; 63 struct inode *iget_locked(struct super_block *sb, unsigned long ino) 65 struct inode *inode; local 67 inode = (struct inode *)malloc_cache_aligned( 69 if (inode) { 70 inode->i_ino = ino; 71 inode->i_sb = sb; 72 list_add(&inode 79 iget_failed(struct inode *inode) argument 83 ubifs_iput(struct inode *inode) argument 94 iput(struct inode *inode) argument 133 clear_nlink(struct inode *inode) argument 150 set_nlink(struct inode *inode, unsigned int nlink) argument 165 i_uid_write(struct inode *inode, uid_t uid) argument 170 i_gid_write(struct inode *inode, gid_t gid) argument 175 unlock_new_inode(struct inode *inode) argument 209 validate_inode(struct ubifs_info *c, const struct inode *inode) argument 249 struct inode *inode; local 462 struct inode *inode = container_of(head, struct inode, i_rcu); local 467 ubifs_destroy_inode(struct inode *inode) argument 478 ubifs_write_inode(struct inode *inode, struct writeback_control *wbc) argument 522 ubifs_evict_inode(struct inode *inode) argument 570 ubifs_dirty_inode(struct inode *inode, int flags) argument [all...] |
H A D | ubifs.c | 249 struct inode *inode; local 267 inode = ubifs_iget(c->vfs_sb, ino); 268 if (IS_ERR(inode)) { 270 __func__, ino, inode); 273 ctime_r((time_t *)&inode->i_mtime, filetime); 274 printf("%9lld %24.24s ", inode->i_size, filetime); 276 ubifs_iput(inode); 290 struct inode *dir = file->f_path.dentry->d_inode; 385 struct inode *di 488 struct inode *inode; local 632 struct inode *inode; local 669 read_block(struct inode *inode, void *addr, unsigned int block, struct ubifs_data_node *dn) argument 716 do_readpage(struct ubifs_info *c, struct inode *inode, struct page *page, int last_block_size) argument 834 struct inode *inode; local [all...] |
H A D | misc.h | 85 * ubifs_inode - get UBIFS inode information by VFS 'struct inode' object. 86 * @inode: the VFS 'struct inode' pointer 88 static inline struct ubifs_inode *ubifs_inode(const struct inode *inode) argument 90 return container_of(inode, struct ubifs_inode, vfs_inode); 231 * @inode: inode 233 static inline struct timespec ubifs_current_time(struct inode *inod argument [all...] |
H A D | ubifs.h | 65 struct inode *inode; member in struct:page 68 void iput(struct inode *inode); 136 struct inode *host; /* owner: inode, block_device */ 161 * of the 'struct inode' 163 struct inode { struct 218 struct list_head i_lru; /* inode LRU list */ 244 __u32 i_fsnotify_mask; /* all events this inode care [all...] |
H A D | debug.h | 298 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode); 333 int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode); 334 int dbg_check_dir(struct ubifs_info *c, const struct inode *dir); 342 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode,
|
H A D | recovery.c | 1239 * struct size_entry - inode size information for recovery. 1241 * @inum: inode number 1242 * @i_size: size on inode 1244 * @exists: indicates whether the inode exists 1245 * @inode: inode if pinned in memory awaiting rw mode to fix it 1253 struct inode *inode; member in struct:size_entry 1259 * @inum: inode number 1260 * @i_size: size on inode 1517 struct inode *inode; local [all...] |
H A D | debug.c | 66 return "inode"; 155 return "inode node"; 237 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode) argument 240 const struct ubifs_inode *ui = ubifs_inode(inode); 246 pr_err("Dump in-memory inode:"); 247 pr_err("\tinode %lu\n", inode->i_ino); 249 (unsigned long long)i_size_read(inode)); 250 pr_err("\tnlink %u\n", inode->i_nlink); 251 pr_err("\tuid %u\n", (unsigned int)i_uid_read(inode)); 1106 dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode) argument 1876 struct inode *inode; local 2723 dfs_file_open(struct inode *inode, struct file *file) argument [all...] |
H A D | io.c | 1083 * ubifs_wbuf_add_ino_nolock - add an inode number into the wbuf inode array. 1085 * @inum: the inode number 1087 * This function adds an inode number to the inode array of the write-buffer. 1102 * wbuf_has_ino - returns if the wbuf contains data from the inode. 1104 * @inum: the inode number 1107 * given inode otherwise it returns with %0. 1125 * ubifs_sync_wbufs_by_inode - synchronize write-buffers for an inode. 1127 * @inode 1133 ubifs_sync_wbufs_by_inode(struct ubifs_info *c, struct inode *inode) argument [all...] |
/u-boot/fs/btrfs/ |
H A D | Makefile | 6 extent-io.o inode.o subvolume.o crypto/hash.o disk-io.o \
|
/u-boot/fs/ext4/ |
H A D | ext4_common.h | 52 struct ext2_inode *inode); 74 int ext4fs_iget(int inode_no, struct ext2_inode *inode);
|
H A D | ext4_write.c | 90 /* update inode bitmaps */ 139 static void delete_single_indirect_block(struct ext2_inode *inode) argument 155 /* deleting the single indirect block associated with inode */ 156 if (inode->b.blocks.indir_block != 0) { 157 blknr = le32_to_cpu(inode->b.blocks.indir_block); 187 static void delete_double_indirect_block(struct ext2_inode *inode) argument 206 if (inode->b.blocks.double_indir_block != 0) { 213 blknr = le32_to_cpu(inode->b.blocks.double_indir_block); 253 blknr = le32_to_cpu(inode->b.blocks.double_indir_block); 284 static void delete_triple_indirect_block(struct ext2_inode *inode) argument 440 struct ext2_inode inode; local [all...] |
H A D | ext4_common.c | 164 /* Block number of the inode bitmap */ 175 /* Block number of the inode table */ 601 /* get the next available inode number */ 604 printf("no inode left to assign\n"); 607 dir->inode = cpu_to_le32(inodeno); 619 /* update or write the 1st block of root inode */ 677 if (dir->inode && (strlen(dirname) == dir->namelen) && 679 inodeno = le32_to_cpu(dir->inode); 739 int ext4fs_iget(int inode_no, struct ext2_inode *inode) argument 741 if (ext4fs_read_inode(ext4fs_root, inode_no, inode) 1595 ext4fs_read_inode(struct ext2_data *data, int ino, struct ext2_inode *inode) argument 1645 read_allocated_block(struct ext2_inode *inode, int fileblock, struct ext_block_cache *cache) argument [all...] |
H A D | ext4fs.c | 61 unsigned int filesize = le32_to_cpu(node->inode.size); 90 blknr = read_allocated_block(&node->inode, i, &cache);
|
/u-boot/include/ |
H A D | ext_common.h | 32 /* Amount of indirect blocks in an inode. */ 45 #define EXT2_DYNAMIC_REV 1 /* V2 format w/ dynamic inode sizes */ 60 #define EXT2_ROOT_INO 2 /* Root inode */ 61 #define EXT2_BOOT_LOADER_INO 5 /* Boot loader inode */ 63 /* First non-reserved inode for old ext2 filesystems */ 176 /* The ext2 inode. */ 209 __le32 inode; member in struct:ext2_dirent 217 struct ext2_inode inode; member in struct:ext2fs_node 225 struct ext2_inode *inode; member in struct:ext2_data
|
H A D | ext4fs.h | 76 /* Each block (leaves and indexes), even inode-stored has header. */ 159 long int read_allocated_block(struct ext2_inode *inode, int fileblock,
|
/u-boot/fs/jffs2/ |
H A D | summary.h | 39 __u32 inode; /* inode number */ member in struct:jffs2_sum_inode_flash 40 __u32 version; /* inode version */ 50 __u32 pino; /* parent inode */ 94 __u32 inode; /* inode number */ member in struct:jffs2_sum_inode_mem 95 __u32 version; /* inode version */ 106 __u32 pino; /* parent inode */
|
H A D | jffs2_1pass.c | 601 * by marking the previous version dead by setting the inode to 0. 680 /* find the inode from the slashless name given a parent */ 682 jffs2_1pass_read_inode(struct b_lists *pL, u32 inode, char *dest) argument 702 if (inode == b->ino) { 726 if (inode == b->ino) { 736 putLabeledWord("read_inode: inode = ", jNode->ino); 749 * Now that the inode has been checked, 750 * read the entire inode, including data. 821 /* find the inode from the slashless name given a parent */ 830 u32 inode local 1910 u32 inode; local 1937 u32 inode; local [all...] |
/u-boot/drivers/mtd/ubi/ |
H A D | kapi.c | 301 struct inode *inode; local 313 inode = d_backing_inode(path.dentry); 314 mod = inode->i_mode; 315 ubi_num = ubi_major2num(imajor(inode)); 316 vol_id = iminor(inode) - 1;
|
/u-boot/test/image/ |
H A D | spl_load_fs.c | 129 dot->inode = cpu_to_le32(root_ino); 135 dotdot->inode = cpu_to_le32(root_ino); 141 dirent->inode = cpu_to_le32(file_ino);
|