Home
last modified time | relevance | path

Searched refs:inodep (Results 1 – 5 of 5) sorted by relevance

/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c192 struct squashfs_reg_inode_header_2 *inodep = &id.reg; in squashfs_iget_2() local
203 SQUASHFS_SWAP_REG_INODE_HEADER_2(inodep, sinodep); in squashfs_iget_2()
206 inodep, block, offset, in squashfs_iget_2()
207 sizeof(*inodep), &next_block, in squashfs_iget_2()
212 if (inodep->fragment != SQUASHFS_INVALID_FRAG && in squashfs_iget_2()
214 inodep->fragment, &frag_blk, &frag_size)) in squashfs_iget_2()
220 i->i_size = inodep->file_size; in squashfs_iget_2()
223 i->i_mtime = inodep->mtime; in squashfs_iget_2()
224 i->i_atime = inodep->mtime; in squashfs_iget_2()
225 i->i_ctime = inodep->mtime; in squashfs_iget_2()
[all …]
Dinode.c557 struct squashfs_reg_inode_header *inodep = &id.reg; in squashfs_iget() local
566 SQUASHFS_SWAP_REG_INODE_HEADER(inodep, sinodep); in squashfs_iget()
569 inodep, block, offset, in squashfs_iget()
570 sizeof(*inodep), &next_block, in squashfs_iget()
575 if (inodep->fragment != SQUASHFS_INVALID_FRAG && in squashfs_iget()
577 inodep->fragment, &frag_blk, &frag_size)) in squashfs_iget()
584 i->i_size = inodep->file_size; in squashfs_iget()
591 SQUASHFS_I(i)->u.s1.fragment_offset = inodep->offset; in squashfs_iget()
592 SQUASHFS_I(i)->start_block = inodep->start_block; in squashfs_iget()
603 inodep->start_block, next_block, in squashfs_iget()
[all …]
/external/squashfs-tools/squashfs-tools/
Dunsquash-1.c82 squashfs_ipc_inode_header_1 *inodep = &header.ipc; in read_inode_1() local
87 SQUASHFS_SWAP_IPC_INODE_HEADER_1(inodep, &sinodep); in read_inode_1()
89 memcpy(inodep, block_ptr, sizeof(*inodep)); in read_inode_1()
91 if(inodep->type == SQUASHFS_SOCKET_TYPE) { in read_inode_1()
98 i.uid = (uid_t) uid_table[inodep->offset * 16 + inodep->uid]; in read_inode_1()
153 squashfs_symlink_inode_header_1 *inodep = in read_inode_1() local
159 SQUASHFS_SWAP_SYMLINK_INODE_HEADER_1(inodep, in read_inode_1()
162 memcpy(inodep, block_ptr, sizeof(*inodep)); in read_inode_1()
164 i.symlink = malloc(inodep->symlink_size + 1); in read_inode_1()
170 inodep->symlink_size); in read_inode_1()
[all …]
Dunsquash-2.c223 squashfs_symlink_inode_header_2 *inodep = in read_inode_2() local
229 SQUASHFS_SWAP_SYMLINK_INODE_HEADER_2(inodep, in read_inode_2()
232 memcpy(inodep, block_ptr, sizeof(*inodep)); in read_inode_2()
234 i.symlink = malloc(inodep->symlink_size + 1); in read_inode_2()
240 inodep->symlink_size); in read_inode_2()
241 i.symlink[inodep->symlink_size] = '\0'; in read_inode_2()
242 i.data = inodep->symlink_size; in read_inode_2()
247 squashfs_dev_inode_header_2 *inodep = &header.dev; in read_inode_2() local
252 SQUASHFS_SWAP_DEV_INODE_HEADER_2(inodep, in read_inode_2()
255 memcpy(inodep, block_ptr, sizeof(*inodep)); in read_inode_2()
[all …]
Dunsquash-3.c232 squashfs_symlink_inode_header_3 *inodep = in read_inode_3() local
238 SQUASHFS_SWAP_SYMLINK_INODE_HEADER_3(inodep, in read_inode_3()
241 memcpy(inodep, block_ptr, sizeof(*inodep)); in read_inode_3()
243 i.symlink = malloc(inodep->symlink_size + 1); in read_inode_3()
249 inodep->symlink_size); in read_inode_3()
250 i.symlink[inodep->symlink_size] = '\0'; in read_inode_3()
251 i.data = inodep->symlink_size; in read_inode_3()
256 squashfs_dev_inode_header_3 *inodep = &header.dev; in read_inode_3() local
261 SQUASHFS_SWAP_DEV_INODE_HEADER_3(inodep, in read_inode_3()
264 memcpy(inodep, block_ptr, sizeof(*inodep)); in read_inode_3()
[all …]