tag | line | file | source code |
u | 915 | drivers/block/mcd.c | int u, t; |
u | 917 | drivers/block/mcd.c | u = *p % 10; |
u | 919 | drivers/block/mcd.c | *p = u | (t << 4); |
u | 1659 | drivers/char/console.c | static inline short limit(const int v, const int l, const int u) |
u | 1661 | drivers/char/console.c | return (v < l) ? l : ((v > u) ? u : v); |
u | 57 | fs/ext/freelists.c | if (block < sb->u.ext_sb.s_firstdatazone || |
u | 58 | fs/ext/freelists.c | block >= sb->u.ext_sb.s_nzones) { |
u | 66 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 67 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 68 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock || efb->count == 254) { |
u | 72 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 73 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 74 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_firstfreeblock = bread (sb->s_dev, |
u | 77 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 78 | fs/ext/freelists.c | efb->next = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 80 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblocknumber = block; |
u | 84 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount ++; |
u | 86 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeblock, 1); |
u | 101 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock) |
u | 104 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 107 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeblock, 1); |
u | 112 | fs/ext/freelists.c | j = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 113 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblocknumber = efb->next; |
u | 114 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 115 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblocknumber) { |
u | 116 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblock = NULL; |
u | 118 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_firstfreeblock = bread (sb->s_dev, |
u | 119 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblocknumber, |
u | 124 | fs/ext/freelists.c | if (j < sb->u.ext_sb.s_firstdatazone || j > sb->u.ext_sb.s_nzones) { |
u | 129 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount --; |
u | 155 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock) |
u | 158 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 174 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount, count); |
u | 178 | fs/ext/freelists.c | return sb->u.ext_sb.s_freeblockscount; |
u | 214 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
u | 219 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 220 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
u | 221 | fs/ext/freelists.c | (sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK; |
u | 222 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock || efi->count == 14) { |
u | 226 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 227 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 233 | fs/ext/freelists.c | efi->next = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 235 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodenumber = ino; |
u | 236 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodeblock = bh; |
u | 240 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount ++; |
u | 242 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeinodeblock, 1); |
u | 259 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock) |
u | 262 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
u | 263 | fs/ext/freelists.c | (sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK; |
u | 266 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeinodeblock, 1); |
u | 271 | fs/ext/freelists.c | j = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 272 | fs/ext/freelists.c | if (efi->next > sb->u.ext_sb.s_ninodes) { |
u | 276 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodenumber = efi->next; |
u | 278 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 279 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodenumber) { |
u | 280 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodeblock = NULL; |
u | 282 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_firstfreeinodeblock = |
u | 287 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount --; |
u | 315 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock) |
u | 318 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
u | 319 | fs/ext/freelists.c | ((sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK); |
u | 323 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
u | 325 | fs/ext/freelists.c | (int) sb->u.ext_sb.s_firstfreeinodenumber,ino); |
u | 342 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount, count); |
u | 346 | fs/ext/freelists.c | return sb->u.ext_sb.s_freeinodescount; |
u | 89 | fs/ext/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
u | 179 | fs/ext/fsync.c | err |= sync_indirect(inode, inode->u.ext_i.i_data+9, wait); |
u | 180 | fs/ext/fsync.c | err |= sync_dindirect(inode, inode->u.ext_i.i_data+10, wait); |
u | 181 | fs/ext/fsync.c | err |= sync_tindirect(inode, inode->u.ext_i.i_data+11, wait); |
u | 38 | fs/ext/inode.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 39 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 40 | fs/ext/inode.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 41 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 75 | fs/ext/inode.c | s->u.ext_sb.s_ninodes = es->s_ninodes; |
u | 76 | fs/ext/inode.c | s->u.ext_sb.s_nzones = es->s_nzones; |
u | 77 | fs/ext/inode.c | s->u.ext_sb.s_firstdatazone = es->s_firstdatazone; |
u | 78 | fs/ext/inode.c | s->u.ext_sb.s_log_zone_size = es->s_log_zone_size; |
u | 79 | fs/ext/inode.c | s->u.ext_sb.s_max_size = es->s_max_size; |
u | 81 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber = es->s_firstfreeblock; |
u | 82 | fs/ext/inode.c | s->u.ext_sb.s_freeblockscount = es->s_freeblockscount; |
u | 83 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodenumber = es->s_firstfreeinode; |
u | 84 | fs/ext/inode.c | s->u.ext_sb.s_freeinodescount = es->s_freeinodescount; |
u | 94 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeblocknumber) |
u | 95 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblock = NULL; |
u | 97 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeblock = bread(dev, |
u | 98 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber, BLOCK_SIZE))) { |
u | 104 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeinodenumber) |
u | 105 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodeblock = NULL; |
u | 107 | fs/ext/inode.c | block = 2 + (s->u.ext_sb.s_firstfreeinodenumber - 1) / EXT_INODES_PER_BLOCK; |
u | 108 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeinodeblock = bread(dev, block, BLOCK_SIZE))) { |
u | 110 | fs/ext/inode.c | brelse(s->u.ext_sb.s_firstfreeblock); |
u | 138 | fs/ext/inode.c | es->s_firstfreeblock = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 139 | fs/ext/inode.c | es->s_freeblockscount = sb->u.ext_sb.s_freeblockscount; |
u | 140 | fs/ext/inode.c | es->s_firstfreeinode = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 141 | fs/ext/inode.c | es->s_freeinodescount = sb->u.ext_sb.s_freeinodescount; |
u | 153 | fs/ext/inode.c | put_fs_long(sb->u.ext_sb.s_nzones << sb->u.ext_sb.s_log_zone_size, |
u | 158 | fs/ext/inode.c | put_fs_long(sb->u.ext_sb.s_ninodes, &buf->f_files); |
u | 164 | fs/ext/inode.c | #define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)]) |
u | 227 | fs/ext/inode.c | p = inode->u.ext_i.i_data + nr; |
u | 372 | fs/ext/inode.c | inode->u.ext_i.i_data[block] = raw_inode->i_zone[block]; |
u | 409 | fs/ext/inode.c | raw_inode->i_zone[block] = inode->u.ext_i.i_data[block]; |
u | 42 | fs/ext/truncate.c | p = inode->u.ext_i.i_data+i; |
u | 184 | fs/ext/truncate.c | p = inode->u.ext_i.i_data+11; |
u | 232 | fs/ext/truncate.c | retry |= trunc_indirect(inode,9,inode->u.ext_i.i_data+9); |
u | 233 | fs/ext/truncate.c | retry |= trunc_dindirect(inode,9+256,inode->u.ext_i.i_data+10); |
u | 127 | fs/ext2/balloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 131 | fs/ext2/balloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 135 | fs/ext2/balloc.c | if (!sb->u.ext2_sb.s_group_desc[group_desc]) |
u | 141 | fs/ext2/balloc.c | sb->u.ext2_sb.s_group_desc[group_desc]->b_data; |
u | 143 | fs/ext2/balloc.c | *bh = sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 161 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[bitmap_nr] = block_group; |
u | 162 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[bitmap_nr] = bh; |
u | 183 | fs/ext2/balloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 187 | fs/ext2/balloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 189 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_groups_count <= EXT2_MAX_GROUP_LOADED) { |
u | 190 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_block_bitmap[block_group]) { |
u | 191 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_block_bitmap_number[block_group] != |
u | 203 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_loaded_block_bitmaps && |
u | 204 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[i] != block_group; i++) |
u | 206 | fs/ext2/balloc.c | if (i < sb->u.ext2_sb.s_loaded_block_bitmaps && |
u | 207 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[i] == block_group) { |
u | 208 | fs/ext2/balloc.c | block_bitmap_number = sb->u.ext2_sb.s_block_bitmap_number[i]; |
u | 209 | fs/ext2/balloc.c | block_bitmap = sb->u.ext2_sb.s_block_bitmap[i]; |
u | 211 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j] = |
u | 212 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j - 1]; |
u | 213 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j] = |
u | 214 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j - 1]; |
u | 216 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[0] = block_bitmap_number; |
u | 217 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[0] = block_bitmap; |
u | 219 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_loaded_block_bitmaps < EXT2_MAX_GROUP_LOADED) |
u | 220 | fs/ext2/balloc.c | sb->u.ext2_sb.s_loaded_block_bitmaps++; |
u | 222 | fs/ext2/balloc.c | brelse (sb->u.ext2_sb.s_block_bitmap[EXT2_MAX_GROUP_LOADED - 1]); |
u | 223 | fs/ext2/balloc.c | for (j = sb->u.ext2_sb.s_loaded_block_bitmaps - 1; j > 0; j--) { |
u | 224 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j] = |
u | 225 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j - 1]; |
u | 226 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j] = |
u | 227 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j - 1]; |
u | 237 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_loaded_block_bitmaps > 0 && |
u | 238 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[0] == block_group) |
u | 241 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_groups_count <= EXT2_MAX_GROUP_LOADED && |
u | 242 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[block_group] == block_group && |
u | 243 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[block_group]) |
u | 266 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 287 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 294 | fs/ext2/balloc.c | sb->u.ext2_sb.s_itb_per_group) || |
u | 296 | fs/ext2/balloc.c | sb->u.ext2_sb.s_itb_per_group))) |
u | 314 | fs/ext2/balloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 354 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 377 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 446 | fs/ext2/balloc.c | for (k = 0; k < sb->u.ext2_sb.s_groups_count; k++) { |
u | 448 | fs/ext2/balloc.c | if (i >= sb->u.ext2_sb.s_groups_count) |
u | 454 | fs/ext2/balloc.c | if (k >= sb->u.ext2_sb.s_groups_count) { |
u | 459 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 492 | fs/ext2/balloc.c | in_range (tmp, gdp->bg_inode_table, sb->u.ext2_sb.s_itb_per_group))) |
u | 556 | fs/ext2/balloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 572 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 576 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 580 | fs/ext2/balloc.c | x = ext2_count_free (sb->u.ext2_sb.s_block_bitmap[bitmap_nr], |
u | 591 | fs/ext2/balloc.c | return sb->u.ext2_sb.s_es->s_free_blocks_count; |
u | 599 | fs/ext2/balloc.c | return test_bit ((block - sb->u.ext2_sb.s_es->s_first_data_block) % |
u | 614 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 618 | fs/ext2/balloc.c | desc_blocks = (sb->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / |
u | 620 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 624 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 646 | fs/ext2/balloc.c | for (j = 0; j < sb->u.ext2_sb.s_itb_per_group; j++) |
u | 88 | fs/ext2/fsync.c | rc = sync_block (inode, inode->u.ext2_i.i_data + i, wait); |
u | 186 | fs/ext2/fsync.c | inode->u.ext2_i.i_data+EXT2_IND_BLOCK, |
u | 189 | fs/ext2/fsync.c | inode->u.ext2_i.i_data+EXT2_DIND_BLOCK, |
u | 192 | fs/ext2/fsync.c | inode->u.ext2_i.i_data+EXT2_TIND_BLOCK, |
u | 70 | fs/ext2/ialloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 74 | fs/ext2/ialloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 78 | fs/ext2/ialloc.c | if (!sb->u.ext2_sb.s_group_desc[group_desc]) |
u | 84 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_group_desc[group_desc]->b_data; |
u | 86 | fs/ext2/ialloc.c | *bh = sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 103 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[bitmap_nr] = block_group; |
u | 104 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[bitmap_nr] = bh; |
u | 125 | fs/ext2/ialloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 129 | fs/ext2/ialloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 130 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_loaded_inode_bitmaps > 0 && |
u | 131 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[0] == block_group) |
u | 133 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_groups_count <= EXT2_MAX_GROUP_LOADED) { |
u | 134 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_inode_bitmap[block_group]) { |
u | 135 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_inode_bitmap_number[block_group] != block_group) |
u | 146 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_loaded_inode_bitmaps && |
u | 147 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[i] != block_group; |
u | 150 | fs/ext2/ialloc.c | if (i < sb->u.ext2_sb.s_loaded_inode_bitmaps && |
u | 151 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[i] == block_group) { |
u | 152 | fs/ext2/ialloc.c | inode_bitmap_number = sb->u.ext2_sb.s_inode_bitmap_number[i]; |
u | 153 | fs/ext2/ialloc.c | inode_bitmap = sb->u.ext2_sb.s_inode_bitmap[i]; |
u | 155 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j] = |
u | 156 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j - 1]; |
u | 157 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j] = |
u | 158 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j - 1]; |
u | 160 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[0] = inode_bitmap_number; |
u | 161 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[0] = inode_bitmap; |
u | 163 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_loaded_inode_bitmaps < EXT2_MAX_GROUP_LOADED) |
u | 164 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_loaded_inode_bitmaps++; |
u | 166 | fs/ext2/ialloc.c | brelse (sb->u.ext2_sb.s_inode_bitmap[EXT2_MAX_GROUP_LOADED - 1]); |
u | 167 | fs/ext2/ialloc.c | for (j = sb->u.ext2_sb.s_loaded_inode_bitmaps - 1; j > 0; j--) { |
u | 168 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j] = |
u | 169 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j - 1]; |
u | 170 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j] = |
u | 171 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j - 1]; |
u | 250 | fs/ext2/ialloc.c | inode->i_ino > sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 256 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 260 | fs/ext2/ialloc.c | bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; |
u | 271 | fs/ext2/ialloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 307 | fs/ext2/ialloc.c | inode->u.ext2_i.i_version = 1; |
u | 315 | fs/ext2/ialloc.c | inode->u.ext2_i.i_version = raw_inode->i_version; |
u | 348 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 354 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_groups_count; |
u | 369 | fs/ext2/ialloc.c | for (j = 0; j < sb->u.ext2_sb.s_groups_count; j++) { |
u | 388 | fs/ext2/ialloc.c | i = dir->u.ext2_i.i_block_group; |
u | 398 | fs/ext2/ialloc.c | for (j = 1; j < sb->u.ext2_sb.s_groups_count; j <<= 1) { |
u | 400 | fs/ext2/ialloc.c | if (i >= sb->u.ext2_sb.s_groups_count) |
u | 401 | fs/ext2/ialloc.c | i -= sb->u.ext2_sb.s_groups_count; |
u | 413 | fs/ext2/ialloc.c | i = dir->u.ext2_i.i_block_group + 1; |
u | 414 | fs/ext2/ialloc.c | for (j = 2; j < sb->u.ext2_sb.s_groups_count; j++) { |
u | 415 | fs/ext2/ialloc.c | if (++i >= sb->u.ext2_sb.s_groups_count) |
u | 432 | fs/ext2/ialloc.c | bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; |
u | 471 | fs/ext2/ialloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 492 | fs/ext2/ialloc.c | inode->u.ext2_i.i_flags = dir->u.ext2_i.i_flags; |
u | 493 | fs/ext2/ialloc.c | inode->u.ext2_i.i_faddr = 0; |
u | 494 | fs/ext2/ialloc.c | inode->u.ext2_i.i_frag = 0; |
u | 495 | fs/ext2/ialloc.c | inode->u.ext2_i.i_fsize = 0; |
u | 496 | fs/ext2/ialloc.c | inode->u.ext2_i.i_file_acl = 0; |
u | 497 | fs/ext2/ialloc.c | inode->u.ext2_i.i_dir_acl = 0; |
u | 498 | fs/ext2/ialloc.c | inode->u.ext2_i.i_dtime = 0; |
u | 499 | fs/ext2/ialloc.c | inode->u.ext2_i.i_block_group = i; |
u | 501 | fs/ext2/ialloc.c | if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL) |
u | 522 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 526 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 530 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
u | 541 | fs/ext2/ialloc.c | return sb->u.ext2_sb.s_es->s_free_inodes_count; |
u | 554 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 558 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 562 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
u | 48 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
u | 71 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count) { |
u | 72 | fs/ext2/inode.c | int i = inode->u.ext2_i.i_prealloc_count; |
u | 73 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_count = 0; |
u | 75 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_block, |
u | 92 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count && |
u | 93 | fs/ext2/inode.c | (goal == inode->u.ext2_i.i_prealloc_block || |
u | 94 | fs/ext2/inode.c | goal + 1 == inode->u.ext2_i.i_prealloc_block)) |
u | 96 | fs/ext2/inode.c | result = inode->u.ext2_i.i_prealloc_block++; |
u | 97 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_count--; |
u | 121 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_count, |
u | 122 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_block); |
u | 197 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
u | 213 | fs/ext2/inode.c | if (inode->u.ext2_i.i_next_alloc_block == new_block) |
u | 214 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_next_alloc_goal; |
u | 220 | fs/ext2/inode.c | if (inode->u.ext2_i.i_data[tmp]) { |
u | 221 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_data[tmp]; |
u | 226 | fs/ext2/inode.c | goal = (inode->u.ext2_i.i_block_group * |
u | 228 | fs/ext2/inode.c | inode->i_sb->u.ext2_sb.s_es->s_first_data_block; |
u | 243 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = new_block; |
u | 244 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = tmp; |
u | 293 | fs/ext2/inode.c | if (inode->u.ext2_i.i_next_alloc_block == new_block) |
u | 294 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_next_alloc_goal; |
u | 325 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = new_block; |
u | 326 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = tmp; |
u | 391 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block, |
u | 392 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal); |
u | 394 | fs/ext2/inode.c | if (block == inode->u.ext2_i.i_next_alloc_block + 1) { |
u | 395 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block++; |
u | 396 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal++; |
u | 505 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 511 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
u | 516 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 538 | fs/ext2/inode.c | inode->u.ext2_i.i_dtime = raw_inode->i_dtime; |
u | 541 | fs/ext2/inode.c | inode->u.ext2_i.i_flags = raw_inode->i_flags; |
u | 542 | fs/ext2/inode.c | inode->u.ext2_i.i_faddr = raw_inode->i_faddr; |
u | 543 | fs/ext2/inode.c | inode->u.ext2_i.i_frag = raw_inode->i_frag; |
u | 544 | fs/ext2/inode.c | inode->u.ext2_i.i_fsize = raw_inode->i_fsize; |
u | 545 | fs/ext2/inode.c | inode->u.ext2_i.i_file_acl = raw_inode->i_file_acl; |
u | 546 | fs/ext2/inode.c | inode->u.ext2_i.i_dir_acl = raw_inode->i_dir_acl; |
u | 547 | fs/ext2/inode.c | inode->u.ext2_i.i_version = raw_inode->i_version; |
u | 548 | fs/ext2/inode.c | inode->u.ext2_i.i_block_group = block_group; |
u | 549 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = 0; |
u | 550 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = 0; |
u | 551 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count) |
u | 557 | fs/ext2/inode.c | inode->u.ext2_i.i_data[block] = raw_inode->i_block[block]; |
u | 575 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL) |
u | 590 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 596 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
u | 601 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 624 | fs/ext2/inode.c | raw_inode->i_dtime = inode->u.ext2_i.i_dtime; |
u | 625 | fs/ext2/inode.c | raw_inode->i_flags = inode->u.ext2_i.i_flags; |
u | 626 | fs/ext2/inode.c | raw_inode->i_faddr = inode->u.ext2_i.i_faddr; |
u | 627 | fs/ext2/inode.c | raw_inode->i_frag = inode->u.ext2_i.i_frag; |
u | 628 | fs/ext2/inode.c | raw_inode->i_fsize = inode->u.ext2_i.i_fsize; |
u | 629 | fs/ext2/inode.c | raw_inode->i_file_acl = inode->u.ext2_i.i_file_acl; |
u | 630 | fs/ext2/inode.c | raw_inode->i_dir_acl = inode->u.ext2_i.i_dir_acl; |
u | 631 | fs/ext2/inode.c | raw_inode->i_version = inode->u.ext2_i.i_version; |
u | 635 | fs/ext2/inode.c | raw_inode->i_block[block] = inode->u.ext2_i.i_data[block]; |
u | 28 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_flags, (long *) arg); |
u | 35 | fs/ext2/ioctl.c | inode->u.ext2_i.i_flags = get_fs_long ((long *) arg); |
u | 42 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_version, (long *) arg); |
u | 49 | fs/ext2/ioctl.c | inode->u.ext2_i.i_version = get_fs_long ((long *) arg); |
u | 786 | fs/ext2/namei.c | link = (char *) inode->u.ext2_i.i_data; |
u | 1098 | fs/ext2/namei.c | while (old_dir->i_sb->u.ext2_sb.s_rename_lock) |
u | 1099 | fs/ext2/namei.c | sleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
u | 1100 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 1; |
u | 1103 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 0; |
u | 1104 | fs/ext2/namei.c | wake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
u | 37 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS; |
u | 38 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state |= EXT2_ERROR_FS; |
u | 39 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 46 | fs/ext2/super.c | (sb->u.ext2_sb.s_es->s_errors == EXT2_ERRORS_PANIC && |
u | 53 | fs/ext2/super.c | (sb->u.ext2_sb.s_es->s_errors == EXT2_ERRORS_RO && |
u | 67 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS; |
u | 68 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state |= EXT2_ERROR_FS; |
u | 69 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 98 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state = sb->u.ext2_sb.s_mount_state; |
u | 99 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 106 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc[i]) |
u | 107 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[i]); |
u | 109 | fs/ext2/super.c | if (sb->u.ext2_sb.s_inode_bitmap[i]) |
u | 110 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_inode_bitmap[i]); |
u | 112 | fs/ext2/super.c | if (sb->u.ext2_sb.s_block_bitmap[i]) |
u | 113 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_block_bitmap[i]); |
u | 114 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_sbh); |
u | 149 | fs/ext2/super.c | groups_count = (sb->u.ext2_sb.s_blocks_count - |
u | 150 | fs/ext2/super.c | sb->u.ext2_sb.s_first_data_block + |
u | 271 | fs/ext2/super.c | if (!(sb->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
u | 274 | fs/ext2/super.c | else if ((sb->u.ext2_sb.s_mount_state & EXT2_ERROR_FS)) |
u | 290 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 296 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size, |
u | 297 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count, |
u | 300 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_opt); |
u | 312 | fs/ext2/super.c | unsigned long block = sb->u.ext2_sb.s_es->s_first_data_block; |
u | 317 | fs/ext2/super.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) |
u | 320 | fs/ext2/super.c | gdp = (struct ext2_group_desc *) sb->u.ext2_sb.s_group_desc[desc_block++]->b_data; |
u | 340 | fs/ext2/super.c | gdp->bg_inode_table + sb->u.ext2_sb.s_itb_per_group >= |
u | 369 | fs/ext2/super.c | set_opt (sb->u.ext2_sb.s_mount_opt, CHECK_NORMAL); |
u | 371 | fs/ext2/super.c | &sb->u.ext2_sb.s_mount_opt)) { |
u | 389 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 419 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 428 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size = EXT2_MIN_FRAG_SIZE << |
u | 430 | fs/ext2/super.c | if (sb->u.ext2_sb.s_frag_size) |
u | 431 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_block = sb->s_blocksize / |
u | 432 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size; |
u | 435 | fs/ext2/super.c | sb->u.ext2_sb.s_blocks_per_group = es->s_blocks_per_group; |
u | 436 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_group = es->s_frags_per_group; |
u | 437 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_group = es->s_inodes_per_group; |
u | 438 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block = sb->s_blocksize / |
u | 440 | fs/ext2/super.c | sb->u.ext2_sb.s_itb_per_group = sb->u.ext2_sb.s_inodes_per_group / |
u | 441 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block; |
u | 442 | fs/ext2/super.c | sb->u.ext2_sb.s_desc_per_block = sb->s_blocksize / |
u | 444 | fs/ext2/super.c | sb->u.ext2_sb.s_sbh = bh; |
u | 445 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 446 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state = es->s_state; |
u | 447 | fs/ext2/super.c | sb->u.ext2_sb.s_rename_lock = 0; |
u | 448 | fs/ext2/super.c | sb->u.ext2_sb.s_rename_wait = NULL; |
u | 501 | fs/ext2/super.c | if (sb->s_blocksize != sb->u.ext2_sb.s_frag_size) { |
u | 506 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size, sb->s_blocksize); |
u | 510 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count = (es->s_blocks_count - |
u | 515 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc[i] = NULL; |
u | 516 | fs/ext2/super.c | bh_count = (sb->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / |
u | 526 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1, |
u | 528 | fs/ext2/super.c | if (!sb->u.ext2_sb.s_group_desc[i]) { |
u | 532 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
u | 542 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
u | 548 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_bitmap_number[i] = 0; |
u | 549 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_bitmap[i] = NULL; |
u | 550 | fs/ext2/super.c | sb->u.ext2_sb.s_block_bitmap_number[i] = 0; |
u | 551 | fs/ext2/super.c | sb->u.ext2_sb.s_block_bitmap[i] = NULL; |
u | 553 | fs/ext2/super.c | sb->u.ext2_sb.s_loaded_inode_bitmaps = 0; |
u | 554 | fs/ext2/super.c | sb->u.ext2_sb.s_loaded_block_bitmaps = 0; |
u | 564 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc[i]) |
u | 565 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[i]); |
u | 573 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_group_desc[i], 1); |
u | 585 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 605 | fs/ext2/super.c | es = sb->u.ext2_sb.s_es; |
u | 626 | fs/ext2/super.c | set_opt (sb->u.ext2_sb.s_mount_opt, CHECK_NORMAL); |
u | 627 | fs/ext2/super.c | parse_options (data, &tmp, &sb->u.ext2_sb.s_mount_opt); |
u | 629 | fs/ext2/super.c | es = sb->u.ext2_sb.s_es; |
u | 634 | fs/ext2/super.c | !(sb->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
u | 640 | fs/ext2/super.c | es->s_state = sb->u.ext2_sb.s_mount_state; |
u | 642 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 652 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state = es->s_state; |
u | 665 | fs/ext2/super.c | put_fs_long (sb->u.ext2_sb.s_es->s_blocks_count, &buf->f_blocks); |
u | 668 | fs/ext2/super.c | if (tmp >= sb->u.ext2_sb.s_es->s_r_blocks_count) |
u | 669 | fs/ext2/super.c | put_fs_long (tmp - sb->u.ext2_sb.s_es->s_r_blocks_count, |
u | 673 | fs/ext2/super.c | put_fs_long (sb->u.ext2_sb.s_es->s_inodes_count, &buf->f_files); |
u | 84 | fs/ext2/symlink.c | link = (char *) inode->u.ext2_i.i_data; |
u | 116 | fs/ext2/symlink.c | link = (char *) inode->u.ext2_i.i_data; |
u | 68 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + i; |
u | 72 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) |
u | 90 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) { |
u | 149 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) |
u | 166 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) { |
u | 283 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + EXT2_TIND_BLOCK; |
u | 341 | fs/ext2/truncate.c | (unsigned long *) &inode->u.ext2_i.i_data[EXT2_IND_BLOCK]); |
u | 344 | fs/ext2/truncate.c | (unsigned long *) &inode->u.ext2_i.i_data[EXT2_DIND_BLOCK]); |
u | 342 | fs/hpfs/hpfs.h | } u; |
u | 386 | fs/hpfs/hpfs.h | } u; |
u | 415 | fs/hpfs/hpfs.h | } u; |
u | 695 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_dno = fnode->u.external[0].disk_secno; |
u | 1043 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
u | 1061 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
u | 1579 | fs/hpfs/hpfs_fs.c | dno = fnode->u.external[0].disk_secno; |
u | 160 | fs/isofs/dir.c | if((inode->i_sb->u.isofs_sb.s_firstdatazone |
u | 162 | fs/isofs/dir.c | inode_number = inode->u.isofs_i.i_backlink; |
u | 197 | fs/isofs/dir.c | if(inode->i_sb->u.isofs_sb.s_mapping == 'n') |
u | 110 | fs/isofs/file.c | inode->u.isofs_i.i_file_format = result; |
u | 132 | fs/isofs/file.c | if (inode->u.isofs_i.i_file_format == ISOFS_FILE_UNKNOWN) |
u | 211 | fs/isofs/file.c | if (inode->u.isofs_i.i_file_format == ISOFS_FILE_TEXT || |
u | 212 | fs/isofs/file.c | inode->u.isofs_i.i_file_format == ISOFS_FILE_TEXT_M) |
u | 214 | fs/isofs/file.c | chars, inode->u.isofs_i.i_file_format); |
u | 158 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
u | 179 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
u | 213 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
u | 214 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
u | 215 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
u | 222 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
u | 223 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
u | 224 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
u | 227 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
u | 229 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = isonum_733( rootp->extent) << |
u | 240 | fs/isofs/inode.c | if(s->u.isofs_sb.s_log_zone_size != (1 << ISOFS_BLOCK_BITS)) { |
u | 248 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
u | 249 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size); |
u | 251 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone, |
u | 259 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = map; |
u | 260 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (rock == 'y' ? 1 : 0); |
u | 261 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = conversion; |
u | 262 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = cruft; |
u | 313 | fs/isofs/inode.c | put_fs_long(sb->u.isofs_sb.s_nzones, &buf->f_blocks); |
u | 316 | fs/isofs/inode.c | put_fs_long(sb->u.isofs_sb.s_ninodes, &buf->f_files); |
u | 329 | fs/isofs/inode.c | return inode->u.isofs_i.i_first_extent + block; |
u | 352 | fs/isofs/inode.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
u | 399 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft == 'n') { |
u | 401 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
u | 408 | fs/isofs/inode.c | if(inode->i_sb->u.isofs_sb.s_cruft == 'y' && |
u | 449 | fs/isofs/inode.c | inode->u.isofs_i.i_first_extent = isonum_733 (raw_inode->extent) << |
u | 452 | fs/isofs/inode.c | inode->u.isofs_i.i_backlink = 0xffffffff; /* Will be used for previous directory */ |
u | 453 | fs/isofs/inode.c | switch (inode->i_sb->u.isofs_sb.s_conversion){ |
u | 455 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_UNKNOWN; /* File type */ |
u | 458 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_BINARY; /* File type */ |
u | 461 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_TEXT; /* File type */ |
u | 464 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_TEXT_M; /* File type */ |
u | 475 | fs/isofs/inode.c | printk("Inode: %x extent: %x\n",inode->i_ino, inode->u.isofs_i.i_first_extent); |
u | 480 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft != 'y' && |
u | 505 | fs/isofs/inode.c | inode->u.isofs_i.i_first_extent = 0; |
u | 506 | fs/isofs/inode.c | inode->u.isofs_i.i_backlink = 0xffffffff; |
u | 83 | fs/isofs/namei.c | if (!(block = dir->u.isofs_i.i_first_extent)) return NULL; |
u | 147 | fs/isofs/namei.c | if((dir->i_sb->u.isofs_sb.s_firstdatazone |
u | 149 | fs/isofs/namei.c | inode_number = dir->u.isofs_i.i_backlink; |
u | 162 | fs/isofs/namei.c | if(dir->i_sb->u.isofs_sb.s_mapping == 'n') { |
u | 263 | fs/isofs/namei.c | (*result)->u.isofs_i.i_backlink = ino_back; |
u | 31 | fs/isofs/rock.c | if(rr->u.SP.magic[0] != 0xbe) FAIL; \ |
u | 32 | fs/isofs/rock.c | if(rr->u.SP.magic[1] != 0xef) FAIL; |
u | 43 | fs/isofs/rock.c | {cont_extent = isonum_733(rr->u.CE.extent); \ |
u | 44 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
u | 45 | fs/isofs/rock.c | cont_size = isonum_733(rr->u.CE.size);} |
u | 107 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return retval; |
u | 124 | fs/isofs/rock.c | rrflag = rr->u.RR.flags[0]; |
u | 136 | fs/isofs/rock.c | retval = isonum_733(rr->u.CL.location); |
u | 145 | fs/isofs/rock.c | retval = isonum_733(rr->u.PL.location); |
u | 173 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
u | 190 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & RR_NM) == 0) goto out; |
u | 200 | fs/isofs/rock.c | if (rr->u.NM.flags & ~1) { |
u | 201 | fs/isofs/rock.c | printk("Unsupported NM flag settings (%d)\n",rr->u.NM.flags); |
u | 219 | fs/isofs/rock.c | strncat(retname, rr->u.NM.name, rr->len - 5); |
u | 253 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
u | 272 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & |
u | 284 | fs/isofs/rock.c | for(p=0;p<rr->u.ER.len_id;p++) printk("%c",rr->u.ER.data[p]); |
u | 289 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
u | 290 | fs/isofs/rock.c | inode->i_nlink = isonum_733(rr->u.PX.n_links); |
u | 291 | fs/isofs/rock.c | inode->i_uid = isonum_733(rr->u.PX.uid); |
u | 292 | fs/isofs/rock.c | inode->i_gid = isonum_733(rr->u.PX.gid); |
u | 296 | fs/isofs/rock.c | high = isonum_733(rr->u.PN.dev_high); |
u | 297 | fs/isofs/rock.c | low = isonum_733(rr->u.PN.dev_low); |
u | 305 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_CREATE) |
u | 306 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 307 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_MODIFY) |
u | 308 | fs/isofs/rock.c | inode->i_mtime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 309 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_ACCESS) |
u | 310 | fs/isofs/rock.c | inode->i_atime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 311 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_ATTRIBUTES) |
u | 312 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 318 | fs/isofs/rock.c | slp = &rr->u.SL.link; |
u | 354 | fs/isofs/rock.c | inode->u.isofs_i.i_first_extent = isonum_733(rr->u.CL.location) << |
u | 356 | fs/isofs/rock.c | reloc = iget(inode->i_sb, inode->u.isofs_i.i_first_extent << ISOFS_BUFFER_BITS(inode)); |
u | 401 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) |
u | 446 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & RR_SL) == 0) goto out; |
u | 455 | fs/isofs/rock.c | slp = &rr->u.SL.link; |
u | 101 | fs/isofs/rock.h | } u; |
u | 77 | fs/minix/bitmap.c | if (block < sb->u.minix_sb.s_firstdatazone || |
u | 78 | fs/minix/bitmap.c | block >= sb->u.minix_sb.s_nzones) { |
u | 86 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
u | 89 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
u | 112 | fs/minix/bitmap.c | if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL) |
u | 122 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
u | 123 | fs/minix/bitmap.c | if (j < sb->u.minix_sb.s_firstdatazone || |
u | 124 | fs/minix/bitmap.c | j >= sb->u.minix_sb.s_nzones) |
u | 139 | fs/minix/bitmap.c | return (sb->u.minix_sb.s_nzones - count_used(sb->u.minix_sb.s_zmap,sb->u.minix_sb.s_zmap_blocks,sb->u.minix_sb.s_nzones)) |
u | 140 | fs/minix/bitmap.c | << sb->u.minix_sb.s_log_zone_size; |
u | 166 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 171 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
u | 195 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
u | 209 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 229 | fs/minix/bitmap.c | return sb->u.minix_sb.s_ninodes - count_used(sb->u.minix_sb.s_imap,sb->u.minix_sb.s_imap_blocks,sb->u.minix_sb.s_ninodes); |
u | 68 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
u | 87 | fs/minix/fsync.c | rc = sync_block (inode, inode->u.minix_i.i_data + i, wait); |
u | 154 | fs/minix/fsync.c | err |= sync_indirect(inode, inode->u.minix_i.i_data+7, wait); |
u | 155 | fs/minix/fsync.c | err |= sync_dindirect(inode, inode->u.minix_i.i_data+8, wait); |
u | 31 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 40 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
u | 56 | fs/minix/inode.c | sb->u.minix_sb.s_ms->s_state = sb->u.minix_sb.s_mount_state; |
u | 57 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 61 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_imap[i]); |
u | 63 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_zmap[i]); |
u | 64 | fs/minix/inode.c | brelse (sb->u.minix_sb.s_sbh); |
u | 84 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
u | 89 | fs/minix/inode.c | !(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 92 | fs/minix/inode.c | ms->s_state = sb->u.minix_sb.s_mount_state; |
u | 93 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 99 | fs/minix/inode.c | sb->u.minix_sb.s_mount_state = ms->s_state; |
u | 101 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 104 | fs/minix/inode.c | if (!(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 107 | fs/minix/inode.c | else if ((sb->u.minix_sb.s_mount_state & MINIX_ERROR_FS)) |
u | 132 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
u | 133 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
u | 134 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
u | 137 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
u | 138 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
u | 139 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
u | 140 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
u | 141 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
u | 142 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
u | 143 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
u | 146 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
u | 147 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
u | 149 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
u | 150 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
u | 160 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
u | 162 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
u | 164 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
u | 165 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
u | 169 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
u | 170 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
u | 174 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
u | 176 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
u | 178 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
u | 185 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
u | 186 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
u | 203 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 206 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
u | 218 | fs/minix/inode.c | tmp = sb->u.minix_sb.s_nzones - sb->u.minix_sb.s_firstdatazone; |
u | 219 | fs/minix/inode.c | tmp <<= sb->u.minix_sb.s_log_zone_size; |
u | 224 | fs/minix/inode.c | put_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files); |
u | 226 | fs/minix/inode.c | put_fs_long(sb->u.minix_sb.s_namelen, &buf->f_namelen); |
u | 230 | fs/minix/inode.c | #define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)]) |
u | 280 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
u | 406 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 411 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
u | 412 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 431 | fs/minix/inode.c | inode->u.minix_i.i_data[block] = raw_inode->i_zone[block]; |
u | 454 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 460 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 478 | fs/minix/inode.c | raw_inode->i_zone[block] = inode->u.minix_i.i_data[block]; |
u | 78 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 164 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 317 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 385 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
u | 680 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
u | 36 | fs/minix/truncate.c | p = i + inode->u.minix_i.i_data; |
u | 127 | fs/minix/truncate.c | p = 8 + inode->u.minix_i.i_data; |
u | 175 | fs/minix/truncate.c | retry |= trunc_indirect(inode,7,inode->u.minix_i.i_data+7); |
u | 47 | fs/nfs/inode.c | close_fp(sb->u.nfs_sb.s_server.file, 0); |
u | 97 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
u | 119 | fs/nfs/inode.c | sb->u.nfs_sb.s_root = data->root; |
u | 135 | fs/nfs/inode.c | error = nfs_proc_statfs(&sb->u.nfs_sb.s_server, &sb->u.nfs_sb.s_root, |
u | 173 | fs/nfs/inode.c | error = nfs_proc_getattr(&sb->u.nfs_sb.s_server, fhandle, |
u | 95 | fs/sysv/fsync.c | rc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait); |
u | 194 | fs/sysv/fsync.c | err |= sync_indirect(inode, inode->u.sysv_i.i_data+10, 0, wait); |
u | 195 | fs/sysv/fsync.c | err |= sync_dindirect(inode, inode->u.sysv_i.i_data+11, 0, wait); |
u | 196 | fs/sysv/fsync.c | err |= sync_tindirect(inode, inode->u.sysv_i.i_data+12, 0, wait); |
u | 145 | fs/sysv/ialloc.c | inode->u.sysv_i.i_lock = 0; inode->u.sysv_i.i_wait = NULL; |
u | 37 | fs/sysv/inode.c | add_wait_queue(&inode->u.sysv_i.i_wait, &wait); |
u | 40 | fs/sysv/inode.c | if (inode->u.sysv_i.i_lock) { |
u | 44 | fs/sysv/inode.c | remove_wait_queue(&inode->u.sysv_i.i_wait, &wait); |
u | 391 | fs/sysv/inode.c | int tmp = inode->u.sysv_i.i_data[nr]; |
u | 480 | fs/sysv/inode.c | p = inode->u.sysv_i.i_data + nr; |
u | 689 | fs/sysv/inode.c | inode->u.sysv_i.i_data[block] = |
u | 693 | fs/sysv/inode.c | inode->u.sysv_i.i_data[block] = |
u | 771 | fs/sysv/inode.c | coh_write3byte(&raw_inode->i_a.i_addb[3*block],inode->u.sysv_i.i_data[block]); |
u | 774 | fs/sysv/inode.c | write3byte(&raw_inode->i_a.i_addb[3*block],inode->u.sysv_i.i_data[block]); |
u | 39 | fs/sysv/truncate.c | p = &inode->u.sysv_i.i_data[i]; |
u | 227 | fs/sysv/truncate.c | retry |= coh_trunc_indirect(inode,blocks,&inode->u.sysv_i.i_data[10],0,&inode->i_dirt); |
u | 230 | fs/sysv/truncate.c | retry |= coh_trunc_dindirect(inode,blocks,&inode->u.sysv_i.i_data[11],0,&inode->i_dirt); |
u | 233 | fs/sysv/truncate.c | retry |= coh_trunc_tindirect(inode,blocks,&inode->u.sysv_i.i_data[12]); |
u | 267 | fs/sysv/truncate.c | p = inode->u.sysv_i.i_data + i; |
u | 471 | fs/sysv/truncate.c | | trunc_indirect(inode,10*BLOCK_SIZE,&inode->u.sysv_i.i_data[10],0,&inode->i_dirt) |
u | 472 | fs/sysv/truncate.c | | trunc_dindirect(inode,(10+IND_PER_BLOCK)*BLOCK_SIZE,&inode->u.sysv_i.i_data[11],0,&inode->i_dirt) |
u | 473 | fs/sysv/truncate.c | | trunc_tindirect(inode,(10+IND_PER_BLOCK+IND_PER_BLOCK*IND_PER_BLOCK)*BLOCK_SIZE,&inode->u.sysv_i.i_data[12],0,&inode->i_dirt); |
u | 99 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_imap_buf, \ |
u | 100 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_iznr, \ |
u | 101 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_cached, 1, \ |
u | 102 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_zones, _XIAFS_IMAP_SLOTS, \ |
u | 106 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_zmap_buf, \ |
u | 107 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zznr, \ |
u | 108 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_cached, \ |
u | 109 | fs/xiafs/bitmap.c | 1+(sb)->u.xiafs_sb.s_imap_zones, \ |
u | 110 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zones, _XIAFS_ZMAP_SLOTS, \ |
u | 160 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_imap_buf, \ |
u | 161 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_iznr, \ |
u | 162 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_cached, \ |
u | 163 | fs/xiafs/bitmap.c | 1, sb->u.xiafs_sb.s_imap_zones, \ |
u | 167 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_zmap_buf, \ |
u | 168 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zznr, \ |
u | 169 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_cached, \ |
u | 170 | fs/xiafs/bitmap.c | 1 + sb->u.xiafs_sb.s_imap_zones, \ |
u | 171 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zones, \ |
u | 209 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 230 | fs/xiafs/bitmap.c | if (d_addr < sb->u.xiafs_sb.s_firstdatazone || |
u | 231 | fs/xiafs/bitmap.c | d_addr >= sb->u.xiafs_sb.s_nzones) { |
u | 239 | fs/xiafs/bitmap.c | bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1; |
u | 249 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 261 | fs/xiafs/bitmap.c | if (prev_addr < sb->u.xiafs_sb.s_firstdatazone || |
u | 262 | fs/xiafs/bitmap.c | prev_addr >= sb->u.xiafs_sb.s_nzones) { |
u | 263 | fs/xiafs/bitmap.c | prev_addr=sb->u.xiafs_sb.s_firstdatazone; |
u | 265 | fs/xiafs/bitmap.c | prev_znr=prev_addr-sb->u.xiafs_sb.s_firstdatazone+1; |
u | 269 | fs/xiafs/bitmap.c | tmp += sb->u.xiafs_sb.s_firstdatazone -1; |
u | 294 | fs/xiafs/bitmap.c | inode->i_ino < 3 || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 309 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
u | 366 | fs/xiafs/bitmap.c | izones=sb->u.xiafs_sb.s_imap_zones; |
u | 371 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
u | 385 | fs/xiafs/bitmap.c | zzones=sb->u.xiafs_sb.s_zmap_zones; |
u | 390 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 85 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 88 | fs/xiafs/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
u | 154 | fs/xiafs/fsync.c | err |= sync_indirect(inode, &inode->u.xiafs_i.i_ind_zone, wait); |
u | 155 | fs/xiafs/fsync.c | err |= sync_dindirect(inode, &inode->u.xiafs_i.i_dind_zone, wait); |
u | 42 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_imap_buf[i]); |
u | 44 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_zmap_buf[i]); |
u | 99 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
u | 100 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
u | 101 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
u | 102 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
u | 103 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
u | 104 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
u | 105 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
u | 106 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
u | 109 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
u | 110 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
u | 113 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
u | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
u | 117 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
u | 118 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
u | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
u | 121 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
u | 122 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
u | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
u | 127 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
u | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
u | 130 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
u | 131 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
u | 132 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
u | 134 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
u | 149 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
u | 151 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
u | 164 | fs/xiafs/inode.c | put_fs_long(sb->u.xiafs_sb.s_ndatazones, &buf->f_blocks); |
u | 168 | fs/xiafs/inode.c | put_fs_long(sb->u.xiafs_sb.s_ninodes, &buf->f_files); |
u | 202 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
u | 205 | fs/xiafs/inode.c | i = inode->u.xiafs_i.i_ind_zone; |
u | 211 | fs/xiafs/inode.c | i = inode->u.xiafs_i.i_dind_zone; |
u | 229 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
u | 230 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
u | 331 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
u | 334 | fs/xiafs/inode.c | bh = dt_getblk(inode, &(inode->u.xiafs_i.i_ind_zone), create, prev_addr); |
u | 339 | fs/xiafs/inode.c | bh = dt_getblk(inode, &(inode->u.xiafs_i.i_dind_zone), create, prev_addr); |
u | 372 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 376 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
u | 377 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
u | 400 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
u | 401 | fs/xiafs/inode.c | inode->u.xiafs_i.i_ind_zone = raw_inode->i_ind_zone & 0xffffff; |
u | 402 | fs/xiafs/inode.c | inode->u.xiafs_i.i_dind_zone = raw_inode->i_dind_zone & 0xffffff; |
u | 433 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 438 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
u | 439 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
u | 462 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |
u | 464 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_ind_zone & 0xffffff); |
u | 466 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_dind_zone & 0xffffff); |
u | 88 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 195 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
u | 444 | fs/xiafs/namei.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 49 | fs/xiafs/truncate.c | lp=i + inode->u.xiafs_i.i_zone; |
u | 140 | fs/xiafs/truncate.c | lp = &(inode->u.xiafs_i.i_dind_zone); |
u | 188 | fs/xiafs/truncate.c | retry |= trunc_indirect(inode, 8, &(inode->u.xiafs_i.i_ind_zone)); |
u | 11 | fs/xiafs/xiafs_mac.h | #define XIAFS_ZSHIFT(sp) ((sp)->u.xiafs_sb.s_zone_shift) |
u | 107 | include/linux/ext2_fs.h | # define EXT2_BLOCK_SIZE_BITS(s) ((s)->u.ext2_sb.s_es->s_log_block_size + 10) |
u | 120 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) ((s)->u.ext2_sb.s_frag_size) |
u | 121 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) ((s)->u.ext2_sb.s_frags_per_block) |
u | 177 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->u.ext2_sb.s_blocks_per_group) |
u | 178 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) ((s)->u.ext2_sb.s_desc_per_block) |
u | 179 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->u.ext2_sb.s_inodes_per_group) |
u | 259 | include/linux/ext2_fs.h | #define test_opt(sb, opt) ((sb)->u.ext2_sb.s_mount_opt & \ |
u | 209 | include/linux/fs.h | } u; |
u | 270 | include/linux/fs.h | } u; |
u | 15 | include/linux/hpfs_fs_i.h | #define i_hpfs_dno u.hpfs_i.i_dno |
u | 16 | include/linux/hpfs_fs_i.h | #define i_hpfs_parent_dir u.hpfs_i.i_parent_dir |
u | 17 | include/linux/hpfs_fs_i.h | #define i_hpfs_n_secs u.hpfs_i.i_n_secs |
u | 18 | include/linux/hpfs_fs_i.h | #define i_hpfs_file_sec u.hpfs_i.i_file_sec |
u | 19 | include/linux/hpfs_fs_i.h | #define i_hpfs_disk_sec u.hpfs_i.i_disk_sec |
u | 20 | include/linux/hpfs_fs_i.h | #define i_hpfs_dpos u.hpfs_i.i_dpos |
u | 21 | include/linux/hpfs_fs_i.h | #define i_hpfs_dsubdno u.hpfs_i.i_dsubdno |
u | 22 | include/linux/hpfs_fs_i.h | #define i_hpfs_conv u.hpfs_i.i_conv |
u | 19 | include/linux/hpfs_fs_sb.h | #define s_hpfs_root u.hpfs_sb.sb_root |
u | 20 | include/linux/hpfs_fs_sb.h | #define s_hpfs_fs_size u.hpfs_sb.sb_fs_size |
u | 21 | include/linux/hpfs_fs_sb.h | #define s_hpfs_bitmaps u.hpfs_sb.sb_bitmaps |
u | 22 | include/linux/hpfs_fs_sb.h | #define s_hpfs_dirband_size u.hpfs_sb.sb_dirband_size |
u | 23 | include/linux/hpfs_fs_sb.h | #define s_hpfs_dmap u.hpfs_sb.sb_dmap |
u | 24 | include/linux/hpfs_fs_sb.h | #define s_hpfs_uid u.hpfs_sb.sb_uid |
u | 25 | include/linux/hpfs_fs_sb.h | #define s_hpfs_gid u.hpfs_sb.sb_gid |
u | 26 | include/linux/hpfs_fs_sb.h | #define s_hpfs_mode u.hpfs_sb.sb_mode |
u | 27 | include/linux/hpfs_fs_sb.h | #define s_hpfs_n_free u.hpfs_sb.sb_n_free |
u | 28 | include/linux/hpfs_fs_sb.h | #define s_hpfs_n_free_dnodes u.hpfs_sb.sb_n_free_dnodes |
u | 29 | include/linux/hpfs_fs_sb.h | #define s_hpfs_lowercase u.hpfs_sb.sb_lowercase |
u | 30 | include/linux/hpfs_fs_sb.h | #define s_hpfs_conv u.hpfs_sb.sb_conv |
u | 43 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
u | 44 | include/linux/msdos_fs.h | #define MSDOS_I(i) (&((i)->u.msdos_i)) |
u | 53 | include/linux/nfs_fs.h | #define NFS_SERVER(inode) (&(inode)->i_sb->u.nfs_sb.s_server) |
u | 54 | include/linux/nfs_fs.h | #define NFS_FH(inode) (&(inode)->u.nfs_i.fhandle) |
u | 16 | include/linux/pipe_fs_i.h | #define PIPE_WAIT(inode) ((inode).u.pipe_i.wait) |
u | 17 | include/linux/pipe_fs_i.h | #define PIPE_BASE(inode) ((inode).u.pipe_i.base) |
u | 18 | include/linux/pipe_fs_i.h | #define PIPE_START(inode) ((inode).u.pipe_i.start) |
u | 19 | include/linux/pipe_fs_i.h | #define PIPE_LEN(inode) ((inode).u.pipe_i.len) |
u | 20 | include/linux/pipe_fs_i.h | #define PIPE_RD_OPENERS(inode) ((inode).u.pipe_i.rd_openers) |
u | 21 | include/linux/pipe_fs_i.h | #define PIPE_WR_OPENERS(inode) ((inode).u.pipe_i.wr_openers) |
u | 22 | include/linux/pipe_fs_i.h | #define PIPE_READERS(inode) ((inode).u.pipe_i.readers) |
u | 23 | include/linux/pipe_fs_i.h | #define PIPE_WRITERS(inode) ((inode).u.pipe_i.writers) |
u | 24 | include/linux/pipe_fs_i.h | #define PIPE_LOCK(inode) ((inode).u.pipe_i.lock) |
u | 369 | include/linux/sysv_fs.h | if (inode->u.sysv_i.i_lock) |
u | 375 | include/linux/sysv_fs.h | if (inode->u.sysv_i.i_lock) |
u | 377 | include/linux/sysv_fs.h | inode->u.sysv_i.i_lock = 1; |
u | 382 | include/linux/sysv_fs.h | inode->u.sysv_i.i_lock = 0; |
u | 383 | include/linux/sysv_fs.h | wake_up(&inode->u.sysv_i.i_wait); |
u | 63 | include/linux/sysv_fs_sb.h | #define sv_type u.sysv_sb.s_type |
u | 64 | include/linux/sysv_fs_sb.h | #define sv_block_size u.sysv_sb.s_block_size |
u | 65 | include/linux/sysv_fs_sb.h | #define sv_block_size_1 u.sysv_sb.s_block_size_1 |
u | 66 | include/linux/sysv_fs_sb.h | #define sv_block_size_bits u.sysv_sb.s_block_size_bits |
u | 67 | include/linux/sysv_fs_sb.h | #define sv_block_size_ratio u.sysv_sb.s_block_size_ratio |
u | 68 | include/linux/sysv_fs_sb.h | #define sv_block_size_ratio_1 u.sysv_sb.s_block_size_ratio_1 |
u | 69 | include/linux/sysv_fs_sb.h | #define sv_block_size_ratio_bits u.sysv_sb.s_block_size_ratio_bits |
u | 70 | include/linux/sysv_fs_sb.h | #define sv_convert u.sysv_sb.s_convert |
u | 71 | include/linux/sysv_fs_sb.h | #define sv_kludge_symlinks u.sysv_sb.s_kludge_symlinks |
u | 72 | include/linux/sysv_fs_sb.h | #define sv_truncate u.sysv_sb.s_truncate |
u | 73 | include/linux/sysv_fs_sb.h | #define sv_link_max u.sysv_sb.s_link_max |
u | 74 | include/linux/sysv_fs_sb.h | #define sv_inodes_per_block u.sysv_sb.s_inodes_per_block |
u | 75 | include/linux/sysv_fs_sb.h | #define sv_inodes_per_block_1 u.sysv_sb.s_inodes_per_block_1 |
u | 76 | include/linux/sysv_fs_sb.h | #define sv_inodes_per_block_bits u.sysv_sb.s_inodes_per_block_bits |
u | 77 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block u.sysv_sb.s_ind_per_block |
u | 78 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_1 u.sysv_sb.s_ind_per_block_1 |
u | 79 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_bits u.sysv_sb.s_ind_per_block_bits |
u | 80 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2 u.sysv_sb.s_ind_per_block_2 |
u | 81 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2_1 u.sysv_sb.s_ind_per_block_2_1 |
u | 82 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2_bits u.sysv_sb.s_ind_per_block_2_bits |
u | 83 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_3 u.sysv_sb.s_ind_per_block_3 |
u | 84 | include/linux/sysv_fs_sb.h | #define sv_toobig_block u.sysv_sb.s_toobig_block |
u | 85 | include/linux/sysv_fs_sb.h | #define sv_block_base u.sysv_sb.s_block_base |
u | 86 | include/linux/sysv_fs_sb.h | #define sv_fic_size u.sysv_sb.s_fic_size |
u | 87 | include/linux/sysv_fs_sb.h | #define sv_flc_size u.sysv_sb.s_flc_size |
u | 88 | include/linux/sysv_fs_sb.h | #define sv_bh u.sysv_sb.s_bh |
u | 89 | include/linux/sysv_fs_sb.h | #define sv_sbd u.sysv_sb.s_sbd |
u | 90 | include/linux/sysv_fs_sb.h | #define sv_sb_fic_count u.sysv_sb.s_sb_fic_count |
u | 91 | include/linux/sysv_fs_sb.h | #define sv_sb_fic_inodes u.sysv_sb.s_sb_fic_inodes |
u | 92 | include/linux/sysv_fs_sb.h | #define sv_sb_total_free_inodes u.sysv_sb.s_sb_total_free_inodes |
u | 93 | include/linux/sysv_fs_sb.h | #define sv_sb_flc_count u.sysv_sb.s_sb_flc_count |
u | 94 | include/linux/sysv_fs_sb.h | #define sv_sb_flc_blocks u.sysv_sb.s_sb_flc_blocks |
u | 95 | include/linux/sysv_fs_sb.h | #define sv_sb_total_free_blocks u.sysv_sb.s_sb_total_free_blocks |
u | 96 | include/linux/sysv_fs_sb.h | #define sv_sb_time u.sysv_sb.s_sb_time |
u | 97 | include/linux/sysv_fs_sb.h | #define sv_firstinodezone u.sysv_sb.s_firstinodezone |
u | 98 | include/linux/sysv_fs_sb.h | #define sv_firstdatazone u.sysv_sb.s_firstdatazone |
u | 99 | include/linux/sysv_fs_sb.h | #define sv_ninodes u.sysv_sb.s_ninodes |
u | 100 | include/linux/sysv_fs_sb.h | #define sv_ndatazones u.sysv_sb.s_ndatazones |
u | 101 | include/linux/sysv_fs_sb.h | #define sv_nzones u.sysv_sb.s_nzones |
u | 74 | include/linux/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 75 | include/linux/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 465 | ipc/sem.c | struct sem_undo *u, *un = NULL, **up, **unp; |
u | 469 | ipc/sem.c | for (up = ¤t->semun; (u = *up); *up = u->proc_next, kfree(u)) { |
u | 470 | ipc/sem.c | sma = semary[u->semid % SEMMNI]; |
u | 473 | ipc/sem.c | if (sma->sem_perm.seq != u->semid / SEMMNI) |
u | 476 | ipc/sem.c | if (u == un) |
u | 479 | ipc/sem.c | printk ("sem_exit undo list error id=%d\n", u->semid); |
u | 125 | zBoot/inflate.c | struct huft *u[BMAX]; /* table stack */ |
u | 201 | zBoot/inflate.c | u[0] = (struct huft *)NULL; /* just to keep compilers happy */ |
u | 246 | zBoot/inflate.c | huft_free(u[0]); |
u | 253 | zBoot/inflate.c | u[h] = ++q; /* table starts after link */ |
u | 264 | zBoot/inflate.c | u[h-1][j] = r; /* connect to last table */ |