tag | line | file | source code |
minix_sb | 77 | fs/minix/bitmap.c | if (block < sb->u.minix_sb.s_firstdatazone || |
minix_sb | 78 | fs/minix/bitmap.c | block >= sb->u.minix_sb.s_nzones) { |
minix_sb | 86 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
minix_sb | 89 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
minix_sb | 112 | fs/minix/bitmap.c | if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL) |
minix_sb | 122 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
minix_sb | 123 | fs/minix/bitmap.c | if (j < sb->u.minix_sb.s_firstdatazone || |
minix_sb | 124 | fs/minix/bitmap.c | j >= sb->u.minix_sb.s_nzones) |
minix_sb | 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)) |
minix_sb | 140 | fs/minix/bitmap.c | << sb->u.minix_sb.s_log_zone_size; |
minix_sb | 166 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 171 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
minix_sb | 195 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
minix_sb | 209 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 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); |
minix_sb | 68 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
minix_sb | 31 | fs/minix/inode.c | sb->u.minix_sb.s_sbh->b_dirt = 1; |
minix_sb | 40 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
minix_sb | 56 | fs/minix/inode.c | sb->u.minix_sb.s_ms->s_state = sb->u.minix_sb.s_mount_state; |
minix_sb | 57 | fs/minix/inode.c | sb->u.minix_sb.s_sbh->b_dirt = 1; |
minix_sb | 61 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_imap[i]); |
minix_sb | 63 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_zmap[i]); |
minix_sb | 64 | fs/minix/inode.c | brelse (sb->u.minix_sb.s_sbh); |
minix_sb | 84 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
minix_sb | 89 | fs/minix/inode.c | !(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
minix_sb | 92 | fs/minix/inode.c | ms->s_state = sb->u.minix_sb.s_mount_state; |
minix_sb | 93 | fs/minix/inode.c | sb->u.minix_sb.s_sbh->b_dirt = 1; |
minix_sb | 99 | fs/minix/inode.c | sb->u.minix_sb.s_mount_state = ms->s_state; |
minix_sb | 101 | fs/minix/inode.c | sb->u.minix_sb.s_sbh->b_dirt = 1; |
minix_sb | 104 | fs/minix/inode.c | if (!(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
minix_sb | 107 | fs/minix/inode.c | else if ((sb->u.minix_sb.s_mount_state & MINIX_ERROR_FS)) |
minix_sb | 132 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
minix_sb | 133 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
minix_sb | 134 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
minix_sb | 137 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
minix_sb | 138 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
minix_sb | 139 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
minix_sb | 140 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
minix_sb | 141 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
minix_sb | 142 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
minix_sb | 143 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
minix_sb | 146 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
minix_sb | 147 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
minix_sb | 149 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
minix_sb | 150 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
minix_sb | 160 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
minix_sb | 162 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
minix_sb | 164 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
minix_sb | 165 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
minix_sb | 169 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
minix_sb | 170 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
minix_sb | 174 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
minix_sb | 176 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
minix_sb | 178 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
minix_sb | 185 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
minix_sb | 186 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
minix_sb | 203 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
minix_sb | 206 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
minix_sb | 218 | fs/minix/inode.c | tmp = sb->u.minix_sb.s_nzones - sb->u.minix_sb.s_firstdatazone; |
minix_sb | 219 | fs/minix/inode.c | tmp <<= sb->u.minix_sb.s_log_zone_size; |
minix_sb | 224 | fs/minix/inode.c | put_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files); |
minix_sb | 226 | fs/minix/inode.c | put_fs_long(sb->u.minix_sb.s_namelen, &buf->f_namelen); |
minix_sb | 406 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 411 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
minix_sb | 412 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
minix_sb | 454 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 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 + |
minix_sb | 78 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
minix_sb | 164 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
minix_sb | 317 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
minix_sb | 385 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
minix_sb | 680 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
minix_sb | 254 | include/linux/fs.h | struct minix_sb_info minix_sb; |