Home
last modified time | relevance | path

Searched refs:inode (Results 1 – 24 of 24) sorted by relevance

/u-boot/fs/cramfs/
A Dcramfs.c124 struct cramfs_inode *inode; in cramfs_resolve() local
136 namelen = CRAMFS_GET_NAMELEN (inode) << 2; in cramfs_resolve()
157 if (S_ISDIR (CRAMFS_16 (inode->mode))) { in cramfs_resolve()
160 (inode) << 2, in cramfs_resolve()
161 CRAMFS_24 (inode-> in cramfs_resolve()
196 CRAMFS_16 (inode->mode)); in cramfs_resolve()
215 (((CRAMFS_24 (inode->size)) + in cramfs_uncompress()
269 namelen = CRAMFS_GET_NAMELEN (inode) << 2; in cramfs_list_inode()
299 struct cramfs_inode *inode; in cramfs_ls() local
328 offset = CRAMFS_GET_OFFSET (inode) << 2; in cramfs_ls()
[all …]
/u-boot/fs/ubifs/
A Dubifs.c255 struct inode *inode; in filldir() local
282 ubifs_iput(inode); in filldir()
391 struct inode *dir; in ubifs_finddir()
494 struct inode *inode; in ubifs_findfile() local
510 if (!inode) in ubifs_findfile()
579 struct inode *dir; in ubifs_ls()
638 struct inode *inode; in ubifs_size() local
658 ubifs_iput(inode); in ubifs_size()
722 static int do_readpage(struct ubifs_info *c, struct inode *inode, in do_readpage() argument
838 struct inode *inode; in ubifs_read() local
[all …]
A Dsuper.c64 struct inode *inode; in iget_locked() local
66 inode = (struct inode *)malloc_cache_aligned( in iget_locked()
78 void iget_failed(struct inode *inode) in iget_failed() argument
82 int ubifs_iput(struct inode *inode) in ubifs_iput() argument
93 void iput(struct inode *inode) in iput() argument
132 void clear_nlink(struct inode *inode) in clear_nlink() argument
174 void unlock_new_inode(struct inode *inode) in unlock_new_inode() argument
248 struct inode *inode; in ubifs_iget() local
397 init_special_inode(inode, inode->i_mode, 0); in ubifs_iget()
461 struct inode *inode = container_of(head, struct inode, i_rcu); in ubifs_i_callback() local
[all …]
A Dubifs.h64 struct inode *inode; member
67 void iput(struct inode *inode);
163 struct inode { struct
2141 const struct qstr *nm, const struct inode *inode,
2151 int ubifs_jnl_truncate(struct ubifs_info *c, const struct inode *inode,
2154 const struct inode *inode, const struct qstr *nm);
2163 int ubifs_budget_inode_op(struct ubifs_info *c, struct inode *inode,
2167 void ubifs_cancel_ino_op(struct ubifs_info *c, struct inode *inode,
2365 int ubifs_init_security(struct inode *dentry, struct inode *inode,
2370 int ubifs_iput(struct inode *inode);
[all …]
A Dmisc.h88 static inline struct ubifs_inode *ubifs_inode(const struct inode *inode) in ubifs_inode() argument
90 return container_of(inode, struct ubifs_inode, vfs_inode); in ubifs_inode()
233 static inline struct timespec ubifs_current_time(struct inode *inode) in ubifs_current_time() argument
235 return (inode->i_sb->s_time_gran < NSEC_PER_SEC) ? in ubifs_current_time()
236 current_fs_time(inode->i_sb) : CURRENT_TIME_SEC; in ubifs_current_time()
A Ddebug.h308 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode);
343 int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode);
344 int dbg_check_dir(struct ubifs_info *c, const struct inode *dir);
352 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode,
A Drecovery.c1253 struct inode *inode; member
1340 if (e->inode) in ubifs_destroy_size_tree()
1341 iput(e->inode); in ubifs_destroy_size_tree()
1517 struct inode *inode; in ubifs_recover_size() local
1520 ubifs_assert(!e->inode); in ubifs_recover_size()
1523 if (IS_ERR(inode)) in ubifs_recover_size()
1524 return PTR_ERR(inode); in ubifs_recover_size()
1534 e->inode = inode; in ubifs_recover_size()
1538 iput(inode); in ubifs_recover_size()
1545 if (e->inode) in ubifs_recover_size()
[all …]
A Ddebug.c234 void ubifs_dump_inode(struct ubifs_info *c, const struct inode *inode) in ubifs_dump_inode() argument
276 if (!S_ISDIR(inode->i_mode)) in ubifs_dump_inode()
1077 int dbg_check_synced_i_size(const struct ubifs_info *c, struct inode *inode) in dbg_check_synced_i_size() argument
1084 if (!S_ISREG(inode->i_mode)) in dbg_check_synced_i_size()
1093 inode->i_mode, i_size_read(inode)); in dbg_check_synced_i_size()
1847 struct inode *inode; in add_inode() local
1886 if (!inode) { in add_inode()
1894 ui = ubifs_inode(inode); in add_inode()
1896 fscki->size = inode->i_size; in add_inode()
1901 iput(inode); in add_inode()
[all …]
A Dio.c1133 int ubifs_sync_wbufs_by_inode(struct ubifs_info *c, struct inode *inode) in ubifs_sync_wbufs_by_inode() argument
1149 if (!wbuf_has_ino(wbuf, inode->i_ino)) in ubifs_sync_wbufs_by_inode()
1153 if (wbuf_has_ino(wbuf, inode->i_ino)) in ubifs_sync_wbufs_by_inode()
A Dtnc.c3277 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode, in dbg_check_inode_size() argument
3285 if (!S_ISREG(inode->i_mode)) in dbg_check_inode_size()
3291 data_key_init(c, &from_key, inode->i_ino, block); in dbg_check_inode_size()
3292 highest_data_key(c, &to_key, inode->i_ino); in dbg_check_inode_size()
3320 (unsigned long)inode->i_ino, size, in dbg_check_inode_size()
3323 ubifs_dump_inode(c, inode); in dbg_check_inode_size()
/u-boot/fs/squashfs/
A Dsqfs_inode.c20 int sqfs_inode_size(struct squashfs_base_inode *inode, u32 blk_size) in sqfs_inode_size() argument
22 switch (get_unaligned_le16(&inode->inode_type)) { in sqfs_inode_size()
28 (struct squashfs_reg_inode *)inode; in sqfs_inode_size()
43 (struct squashfs_ldir_inode *)inode; in sqfs_inode_size()
66 (struct squashfs_lreg_inode *)inode; in sqfs_inode_size()
82 (struct squashfs_symlink_inode *)inode; in sqfs_inode_size()
/u-boot/fs/ext4/
A Dext4_common.c926 dir->inode = 0; in unlink_filename()
1746 (inode->b.blocks. in read_allocated_block()
1755 le32_to_cpu(inode->b.blocks. in read_allocated_block()
1795 (inode->b.blocks. in read_allocated_block()
2111 (dirent.inode), in ext4fs_iterate_dir()
2112 &fdiro->inode); in ext4fs_iterate_dir()
2147 dirent.inode), in ext4fs_iterate_dir()
2148 &fdiro->inode); in ext4fs_iterate_dir()
2196 if (le32_to_cpu(diro->inode.size) < sizeof(diro->inode.b.symlink)) { in ext4fs_read_symlink()
2352 &fdiro->inode); in ext4fs_open()
[all …]
A Dext4_write.c156 if (inode->b.blocks.indir_block != 0) { in delete_single_indirect_block()
206 if (inode->b.blocks.double_indir_block != 0) { in delete_double_indirect_block()
305 if (inode->b.blocks.triple_indir_block != 0) { in delete_triple_indirect_block()
440 struct ext2_inode inode; in ext4fs_delete_file() local
469 if (le32_to_cpu(inode.size) % fs->blksz) in ext4fs_delete_file()
476 if ((le16_to_cpu(inode.mode) & S_IFLNK) && in ext4fs_delete_file()
477 le32_to_cpu(inode.size) <= sizeof(inode.b.symlink)) { in ext4fs_delete_file()
485 inode.b.blocks.dir_blocks; in ext4fs_delete_file()
488 delete_single_indirect_block(&inode); in ext4fs_delete_file()
489 delete_double_indirect_block(&inode); in ext4fs_delete_file()
[all …]
A Dext4_common.h52 struct ext2_inode *inode);
72 int ext4fs_iget(int inode_no, struct ext2_inode *inode);
A Dext4fs.c61 unsigned int filesize = le32_to_cpu(node->inode.size); in ext4fs_read_file()
90 blknr = read_allocated_block(&node->inode, i, &cache); in ext4fs_read_file()
/u-boot/include/
A Dext_common.h195 __le32 inode; member
203 struct ext2_inode inode; member
211 struct ext2_inode *inode; member
A Dext4fs.h158 long int read_allocated_block(struct ext2_inode *inode, int fileblock,
/u-boot/fs/btrfs/
A DMakefile6 extent-io.o inode.o subvolume.o crypto/hash.o disk-io.o \
A Dconv-funcs.h144 DEFINE_CONV(btrfs_root_item, inode, generation, root_dirid, bytenr, byte_limit,
/u-boot/fs/jffs2/
A Dsummary.h39 __u32 inode; /* inode number */ member
94 __u32 inode; /* inode number */ member
A Djffs2_1pass.c685 if (inode == b->ino) { in jffs2_1pass_read_inode()
709 if (inode == b->ino) { in jffs2_1pass_read_inode()
813 u32 inode = 0; in jffs2_1pass_find_inode() local
830 if (jDir->version == version && inode != 0) { in jffs2_1pass_find_inode()
836 inode = jDir->ino; in jffs2_1pass_find_inode()
850 return inode; in jffs2_1pass_find_inode()
1278 &spi->inode); in jffs2_sum_process_sum_data()
1891 u32 inode; in jffs2_1pass_ls() local
1903 putLabeledWord("found file at inode = ", inode); in jffs2_1pass_ls()
1918 u32 inode; in jffs2_1pass_load() local
[all …]
/u-boot/drivers/mtd/ubi/
A Dkapi.c301 struct inode *inode; in ubi_open_volume_path() local
313 inode = d_backing_inode(path.dentry); in ubi_open_volume_path()
314 mod = inode->i_mode; in ubi_open_volume_path()
315 ubi_num = ubi_major2num(imajor(inode)); in ubi_open_volume_path()
316 vol_id = iminor(inode) - 1; in ubi_open_volume_path()
/u-boot/fs/btrfs/kernel-shared/
A Dbtrfs_tree.h684 struct btrfs_inode_item inode; member
/u-boot/drivers/mtd/
A Dmtdcore.c1767 static int mtd_proc_open(struct inode *inode, struct file *file) in mtd_proc_open() argument

Completed in 57 milliseconds