Lines Matching +full:look +full:- +full:up
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Squashfs - a compressed read only filesystem for Linux
15 * converted to 32-bit uids/gids using an id look up table. This table is
30 * Map uid/gid index into real 32-bit uid/gid using the id look up table
35 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_get_id()
42 if (index >= msblk->ids) in squashfs_get_id()
43 return -EINVAL; in squashfs_get_id()
45 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
75 return ERR_PTR(-EINVAL); in squashfs_read_id_index_table()
81 if (length != (next_table - id_table_start)) in squashfs_read_id_index_table()
82 return ERR_PTR(-EINVAL); in squashfs_read_id_index_table()
89 * table[0], table[1], ... table[indexes - 1] store the locations in squashfs_read_id_index_table()
92 * should be SQUASHFS_METADATA_SIZE or less. table[indexes - 1] in squashfs_read_id_index_table()
96 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_id_index_table()
100 if (start >= end || (end - start) > in squashfs_read_id_index_table()
103 return ERR_PTR(-EINVAL); in squashfs_read_id_index_table()
107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table()
108 if (start >= id_table_start || (id_table_start - start) > in squashfs_read_id_index_table()
111 return ERR_PTR(-EINVAL); in squashfs_read_id_index_table()