Home
last modified time | relevance | path

Searched refs:id_table (Results 1 – 12 of 12) sorted by relevance

/external/squashfs-tools/kernel/fs/squashfs/
Did.c53 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()
Dsuper.c209 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()
Dsquashfs_fs_sb.h61 __le64 *id_table; member
/external/squashfs-tools/squashfs-tools/
Dread_fs.c127 unsigned int *id_table) in scan_inode_table() argument
217 get_uid(id_table[dir_inode->base.uid], 0); in scan_inode_table()
218 get_guid(id_table[dir_inode->base.guid], 0); in scan_inode_table()
237 get_uid(id_table[base.uid], 0); in scan_inode_table()
238 get_guid(id_table[base.guid], 0); 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 …]
Dread_xattrs.c155 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()
Dunsquash-4.c29 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()
Dmksquashfs.c290 struct id *id_table[SQUASHFS_IDS], *sid_table[SQUASHFS_IDS]; variable
717 TRACE("write_id_table: id index %d, id %d", i, id_table[i]->id); in write_id_table()
718 SQUASHFS_SWAP_INTS(&id_table[i]->id, p + i, 1); in write_id_table()
749 id_table[entry->index] = entry; in create_id()
5214 if(id_table[i]->flags & ISA_UID) { in write_filesystem_tables()
5215 struct passwd *user = getpwuid(id_table[i]->id); in write_filesystem_tables()
5217 user->pw_name, id_table[i]->id); in write_filesystem_tables()
5224 if(id_table[i]->flags & ISA_GID) { in write_filesystem_tables()
5225 struct group *group = getgrgid(id_table[i]->id); in write_filesystem_tables()
5227 group->gr_name, id_table[i]->id); in write_filesystem_tables()
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.c142 id_table:tusb_id_table,
363 if (pdev->driver->id_table) in test_find_hcd()
396 id = (struct pci_device_id *)pdev->driver->id_table; in test_hcd_probe()
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs_sb.h59 __le64 *id_table; member
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
Dltp_tpci.c79 .id_table = ltp_pci_tbl,
406 id = pci_match_id(drv->id_table, dev); in test_match_device()
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.c653 .id_table = agp_test_pci_table,
/external/u-boot/drivers/usb/musb-new/
Dmusb_dsps.c742 .id_table = musb_dsps_id_table,