Searched refs:id_table (Results 1 – 8 of 8) sorted by relevance
/external/squashfs-tools/kernel/fs/squashfs/ |
D | id.c | 53 u64 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id() 74 __le64 *id_table; in squashfs_read_id_index_table() local 80 id_table = kmalloc(length, GFP_KERNEL); in squashfs_read_id_index_table() 81 if (id_table == NULL) { in squashfs_read_id_index_table() 86 err = squashfs_read_table(sb, id_table, id_table_start, length); in squashfs_read_id_index_table() 89 kfree(id_table); in squashfs_read_id_index_table() 93 return id_table; in squashfs_read_id_index_table()
|
D | super.c | 209 msblk->id_table = squashfs_read_id_index_table(sb, in squashfs_fill_super() 211 if (IS_ERR(msblk->id_table)) { in squashfs_fill_super() 212 err = PTR_ERR(msblk->id_table); in squashfs_fill_super() 213 msblk->id_table = NULL; in squashfs_fill_super() 285 kfree(msblk->id_table); in squashfs_fill_super() 332 kfree(sbi->id_table); in squashfs_put_super()
|
D | squashfs_fs_sb.h | 61 __le64 *id_table; member
|
/external/squashfs-tools/squashfs-tools/ |
D | read_fs.c | 127 unsigned int *id_table) in scan_inode_table() argument 217 get_uid(id_table[dir_inode->base.uid]); in scan_inode_table() 218 get_guid(id_table[dir_inode->base.guid]); in scan_inode_table() 237 get_uid(id_table[base.uid]); in scan_inode_table() 238 get_guid(id_table[base.guid]); in scan_inode_table() 704 unsigned int *id_table; in read_id_table() local 707 id_table = malloc(bytes); in read_id_table() 708 if(id_table == NULL) in read_id_table() 716 free(id_table); in read_id_table() 726 ((unsigned char *) id_table) + in read_id_table() [all …]
|
D | read_xattrs.c | 155 struct squashfs_xattr_table id_table; in read_xattrs_from_disk() local 166 res = read_fs_bytes(fd, sBlk->xattr_id_table_start, sizeof(id_table), in read_xattrs_from_disk() 167 &id_table); in read_xattrs_from_disk() 171 SQUASHFS_INSWAP_XATTR_TABLE(&id_table); in read_xattrs_from_disk() 177 ids = id_table.xattr_ids; in read_xattrs_from_disk() 178 xattr_table_start = id_table.xattr_table_start; in read_xattrs_from_disk() 185 res = read_fs_bytes(fd, sBlk->xattr_id_table_start + sizeof(id_table), in read_xattrs_from_disk()
|
D | unsquash-4.c | 29 static unsigned int *id_table; variable 113 i.uid = (uid_t) id_table[header.base.uid]; in read_inode_4() 114 i.gid = (uid_t) id_table[header.base.guid]; in read_inode_4() 363 id_table = malloc(bytes); in read_uids_guids_4() 364 if(id_table == NULL) { in read_uids_guids_4() 381 ((char *) id_table) + i * SQUASHFS_METADATA_SIZE); in read_uids_guids_4() 389 SQUASHFS_INSWAP_INTS(id_table, sBlk.s.no_ids); in read_uids_guids_4()
|
D | mksquashfs.c | 271 struct id *id_table[SQUASHFS_IDS], *sid_table[SQUASHFS_IDS]; variable 679 TRACE("write_id_table: id index %d, id %d", i, id_table[i]->id); in write_id_table() 680 SQUASHFS_SWAP_INTS(&id_table[i]->id, p + i, 1); in write_id_table() 711 id_table[entry->index] = entry; in create_id() 4974 if(id_table[i]->flags & ISA_UID) { in write_filesystem_tables() 4975 struct passwd *user = getpwuid(id_table[i]->id); in write_filesystem_tables() 4977 user->pw_name, id_table[i]->id); in write_filesystem_tables() 4984 if(id_table[i]->flags & ISA_GID) { in write_filesystem_tables() 4985 struct group *group = getgrgid(id_table[i]->id); in write_filesystem_tables() 4987 group->gr_name, id_table[i]->id); in write_filesystem_tables()
|
/external/squashfs-tools/kernel/include/linux/ |
D | squashfs_fs_sb.h | 59 __le64 *id_table; member
|