tag | line | file | source code |
u | 58 | fs/ext/freelists.c | if (block < sb->u.ext_sb.s_firstdatazone || block >= sb->u.ext_sb.s_nzones) |
u | 72 | fs/ext/freelists.c | if (sb->u.ext_sb.s_zmap[1]) |
u | 73 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_zmap[1]->b_data; |
u | 74 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_zmap[1] || efb->count == 254) { |
u | 78 | fs/ext/freelists.c | if (sb->u.ext_sb.s_zmap[1]) |
u | 79 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_zmap[1]); |
u | 80 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_zmap[1] = bread (dev, block, sb->s_blocksize))) |
u | 82 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_zmap[1]->b_data; |
u | 83 | fs/ext/freelists.c | efb->next = (unsigned long) sb->u.ext_sb.s_zmap[0]; |
u | 85 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[0] = (struct buffer_head *) block; |
u | 89 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[2] = (struct buffer_head *) (((unsigned long) sb->u.ext_sb.s_zmap[2]) + 1); |
u | 91 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[1]->b_dirt = 1; |
u | 105 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_zmap[1]) |
u | 108 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_zmap[1]->b_data; |
u | 111 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[1]->b_dirt = 1; |
u | 116 | fs/ext/freelists.c | j = (unsigned long) sb->u.ext_sb.s_zmap[0]; |
u | 117 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[0] = (struct buffer_head *) efb->next; |
u | 118 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_zmap[1]); |
u | 119 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_zmap[0]) { |
u | 120 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[1] = NULL; |
u | 122 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_zmap[1] = bread (dev, (unsigned long) sb->u.ext_sb.s_zmap[0], sb->s_blocksize))) |
u | 126 | fs/ext/freelists.c | if (j < sb->u.ext_sb.s_firstdatazone || j > sb->u.ext_sb.s_nzones) { |
u | 130 | fs/ext/freelists.c | sb->u.ext_sb.s_zmap[2] = (struct buffer_head *) (((unsigned long) sb->u.ext_sb.s_zmap[2]) - 1); |
u | 156 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_zmap[1]) |
u | 159 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_zmap[1]->b_data; |
u | 175 | fs/ext/freelists.c | (unsigned long) sb->u.ext_sb.s_zmap[2], count); |
u | 179 | fs/ext/freelists.c | return (unsigned long) sb->u.ext_sb.s_zmap[2]; |
u | 208 | fs/ext/freelists.c | if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->u.ext_sb.s_ninodes) { |
u | 213 | fs/ext/freelists.c | if (inode->i_sb->u.ext_sb.s_imap[1]) |
u | 214 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) inode->i_sb->u.ext_sb.s_imap[1]->b_data) + |
u | 215 | fs/ext/freelists.c | (((unsigned long) inode->i_sb->u.ext_sb.s_imap[0])-1)%EXT_INODES_PER_BLOCK; |
u | 216 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_imap[1] || efi->count == 14) { |
u | 220 | fs/ext/freelists.c | if (inode->i_sb->u.ext_sb.s_imap[1]) |
u | 221 | fs/ext/freelists.c | brelse (inode->i_sb->u.ext_sb.s_imap[1]); |
u | 227 | fs/ext/freelists.c | efi->next = (unsigned long) inode->i_sb->u.ext_sb.s_imap[0]; |
u | 229 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[0] = (struct buffer_head *) inode->i_ino; |
u | 230 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1] = bh; |
u | 234 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[2] = (struct buffer_head *) (((unsigned long) inode->i_sb->u.ext_sb.s_imap[2]) + 1); |
u | 236 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1]->b_dirt = 1; |
u | 256 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_imap[1]) |
u | 259 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) inode->i_sb->u.ext_sb.s_imap[1]->b_data) + |
u | 260 | fs/ext/freelists.c | (((unsigned long) inode->i_sb->u.ext_sb.s_imap[0])-1)%EXT_INODES_PER_BLOCK; |
u | 263 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1]->b_dirt = 1; |
u | 268 | fs/ext/freelists.c | j = (unsigned long) inode->i_sb->u.ext_sb.s_imap[0]; |
u | 269 | fs/ext/freelists.c | if (efi->next > inode->i_sb->u.ext_sb.s_ninodes) { |
u | 273 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[0] = (struct buffer_head *) efi->next; |
u | 275 | fs/ext/freelists.c | brelse (inode->i_sb->u.ext_sb.s_imap[1]); |
u | 276 | fs/ext/freelists.c | if (!inode->i_sb->u.ext_sb.s_imap[0]) { |
u | 277 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[1] = NULL; |
u | 279 | fs/ext/freelists.c | if (!(inode->i_sb->u.ext_sb.s_imap[1] = bread (dev, block, inode->i_sb->s_blocksize))) |
u | 283 | fs/ext/freelists.c | inode->i_sb->u.ext_sb.s_imap[2] = (struct buffer_head *) (((unsigned long) inode->i_sb->u.ext_sb.s_imap[2]) - 1); |
u | 309 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_imap[1]) |
u | 312 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_imap[1]->b_data) + |
u | 313 | fs/ext/freelists.c | ((((unsigned long) sb->u.ext_sb.s_imap[0])-1)%EXT_INODES_PER_BLOCK); |
u | 317 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
u | 319 | fs/ext/freelists.c | (int) sb->u.ext_sb.s_imap[0],ino); |
u | 336 | fs/ext/freelists.c | (unsigned long) sb->u.ext_sb.s_imap[2], count); |
u | 340 | fs/ext/freelists.c | return (unsigned long) sb->u.ext_sb.s_imap[2]; |
u | 42 | fs/ext/inode.c | brelse(sb->u.ext_sb.s_imap[i]); |
u | 44 | fs/ext/inode.c | brelse(sb->u.ext_sb.s_zmap[i]); |
u | 47 | fs/ext/inode.c | if (sb->u.ext_sb.s_imap[1]) |
u | 48 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_imap[1]); |
u | 49 | fs/ext/inode.c | if (sb->u.ext_sb.s_zmap[1]) |
u | 50 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_zmap[1]); |
u | 85 | fs/ext/inode.c | s->u.ext_sb.s_ninodes = es->s_ninodes; |
u | 86 | fs/ext/inode.c | s->u.ext_sb.s_nzones = es->s_nzones; |
u | 88 | fs/ext/inode.c | s->u.ext_sb.s_imap_blocks = es->s_imap_blocks; |
u | 89 | fs/ext/inode.c | s->u.ext_sb.s_zmap_blocks = es->s_zmap_blocks; |
u | 91 | fs/ext/inode.c | s->u.ext_sb.s_firstdatazone = es->s_firstdatazone; |
u | 92 | fs/ext/inode.c | s->u.ext_sb.s_log_zone_size = es->s_log_zone_size; |
u | 93 | fs/ext/inode.c | s->u.ext_sb.s_max_size = es->s_max_size; |
u | 96 | fs/ext/inode.c | s->u.ext_sb.s_zmap[0] = (struct buffer_head *) es->s_firstfreeblock; |
u | 97 | fs/ext/inode.c | s->u.ext_sb.s_zmap[2] = (struct buffer_head *) es->s_freeblockscount; |
u | 98 | fs/ext/inode.c | s->u.ext_sb.s_imap[0] = (struct buffer_head *) es->s_firstfreeinode; |
u | 99 | fs/ext/inode.c | s->u.ext_sb.s_imap[2] = (struct buffer_head *) es->s_freeinodescount; |
u | 110 | fs/ext/inode.c | s->u.ext_sb.s_imap[i] = NULL; |
u | 112 | fs/ext/inode.c | s->u.ext_sb.s_zmap[i] = NULL; |
u | 114 | fs/ext/inode.c | for (i=0 ; i < s->u.ext_sb.s_imap_blocks ; i++) |
u | 115 | fs/ext/inode.c | if (s->u.ext_sb.s_imap[i]=bread(dev, block, BLOCK_SIZE)) |
u | 119 | fs/ext/inode.c | for (i=0 ; i < s->u.ext_sb.s_zmap_blocks ; i++) |
u | 120 | fs/ext/inode.c | if (s->u.ext_sb.s_zmap[i]=bread(dev, block, BLOCK_SIZE)) |
u | 124 | fs/ext/inode.c | if (block != 2+s->u.ext_sb.s_imap_blocks+s->u.ext_sb.s_zmap_blocks) { |
u | 126 | fs/ext/inode.c | brelse(s->u.ext_sb.s_imap[i]); |
u | 128 | fs/ext/inode.c | brelse(s->u.ext_sb.s_zmap[i]); |
u | 134 | fs/ext/inode.c | s->u.ext_sb.s_imap[0]->b_data[0] |= 1; |
u | 135 | fs/ext/inode.c | s->u.ext_sb.s_zmap[0]->b_data[0] |= 1; |
u | 138 | fs/ext/inode.c | if (!s->u.ext_sb.s_zmap[0]) |
u | 139 | fs/ext/inode.c | s->u.ext_sb.s_zmap[1] = NULL; |
u | 141 | fs/ext/inode.c | if (!(s->u.ext_sb.s_zmap[1] = bread(dev, (unsigned long) s->u.ext_sb.s_zmap[0], BLOCK_SIZE))) { |
u | 147 | fs/ext/inode.c | if (!s->u.ext_sb.s_imap[0]) |
u | 148 | fs/ext/inode.c | s->u.ext_sb.s_imap[1] = NULL; |
u | 150 | fs/ext/inode.c | block = 2 + (((unsigned long) s->u.ext_sb.s_imap[0]) - 1) / EXT_INODES_PER_BLOCK; |
u | 151 | fs/ext/inode.c | if (!(s->u.ext_sb.s_imap[1] = bread(dev, block, BLOCK_SIZE))) { |
u | 153 | fs/ext/inode.c | brelse(s->u.ext_sb.s_zmap[1]); |
u | 187 | fs/ext/inode.c | es->s_firstfreeblock = (unsigned long) sb->u.ext_sb.s_zmap[0]; |
u | 188 | fs/ext/inode.c | es->s_freeblockscount = (unsigned long) sb->u.ext_sb.s_zmap[2]; |
u | 189 | fs/ext/inode.c | es->s_firstfreeinode = (unsigned long) sb->u.ext_sb.s_imap[0]; |
u | 190 | fs/ext/inode.c | es->s_freeinodescount = (unsigned long) sb->u.ext_sb.s_imap[2]; |
u | 203 | fs/ext/inode.c | put_fs_long(sb->u.ext_sb.s_nzones << sb->u.ext_sb.s_log_zone_size, &buf->f_blocks); |
u | 207 | fs/ext/inode.c | put_fs_long(sb->u.ext_sb.s_ninodes, &buf->f_files); |
u | 345 | fs/ext/inode.c | block = 2 + inode->i_sb->u.ext_sb.s_imap_blocks + inode->i_sb->u.ext_sb.s_zmap_blocks + |
u | 393 | fs/ext/inode.c | block = 2 + inode->i_sb->u.ext_sb.s_imap_blocks + inode->i_sb->u.ext_sb.s_zmap_blocks + |
u | 84 | fs/minix/bitmap.c | if (block < sb->u.minix_sb.s_firstdatazone || block >= sb->u.minix_sb.s_nzones) |
u | 97 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
u | 100 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
u | 117 | fs/minix/bitmap.c | if (bh=sb->u.minix_sb.s_zmap[i]) |
u | 125 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
u | 126 | fs/minix/bitmap.c | if (j >= sb->u.minix_sb.s_nzones) |
u | 141 | 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 | 142 | fs/minix/bitmap.c | << sb->u.minix_sb.s_log_zone_size; |
u | 167 | 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[inode->i_ino>>13])) { |
u | 197 | fs/minix/bitmap.c | if (bh=inode->i_sb->u.minix_sb.s_imap[i]) |
u | 200 | fs/minix/bitmap.c | if (!bh || j >= 8192 || j+i*8192 > inode->i_sb->u.minix_sb.s_ninodes) { |
u | 224 | 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 | 33 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_imap[i]); |
u | 35 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_zmap[i]); |
u | 64 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
u | 65 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
u | 66 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
u | 67 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
u | 68 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
u | 69 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
u | 70 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
u | 80 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
u | 82 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
u | 84 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
u | 85 | fs/minix/inode.c | if (s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) |
u | 89 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
u | 90 | fs/minix/inode.c | if (s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) |
u | 94 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
u | 96 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
u | 98 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
u | 104 | fs/minix/inode.c | s->u.minix_sb.s_imap[0]->b_data[0] |= 1; |
u | 105 | fs/minix/inode.c | s->u.minix_sb.s_zmap[0]->b_data[0] |= 1; |
u | 124 | fs/minix/inode.c | put_fs_long(sb->u.minix_sb.s_nzones << sb->u.minix_sb.s_log_zone_size, &buf->f_blocks); |
u | 128 | fs/minix/inode.c | put_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files); |
u | 221 | 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 | 264 | 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 | 173 | include/linux/fs.h | } u; |
u | 46 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
u | 72 | include/linux/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 73 | include/linux/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |