tag | line | file | source code |
minix_sb | 55 | fs/minix/bitmap.c | if (block < sb->u.minix_sb.s_firstdatazone || |
minix_sb | 56 | fs/minix/bitmap.c | block >= sb->u.minix_sb.s_nzones) { |
minix_sb | 64 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
minix_sb | 67 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
minix_sb | 91 | fs/minix/bitmap.c | if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL) |
minix_sb | 101 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
minix_sb | 102 | fs/minix/bitmap.c | if (j < sb->u.minix_sb.s_firstdatazone || |
minix_sb | 103 | fs/minix/bitmap.c | j >= sb->u.minix_sb.s_nzones) |
minix_sb | 118 | 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 | 119 | fs/minix/bitmap.c | << sb->u.minix_sb.s_log_zone_size; |
minix_sb | 145 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 150 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
minix_sb | 174 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
minix_sb | 188 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 208 | 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 | 70 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
minix_sb | 36 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
minix_sb | 45 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
minix_sb | 61 | fs/minix/inode.c | sb->u.minix_sb.s_ms->s_state = sb->u.minix_sb.s_mount_state; |
minix_sb | 62 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
minix_sb | 66 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_imap[i]); |
minix_sb | 68 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_zmap[i]); |
minix_sb | 69 | fs/minix/inode.c | brelse (sb->u.minix_sb.s_sbh); |
minix_sb | 90 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
minix_sb | 95 | fs/minix/inode.c | !(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
minix_sb | 98 | fs/minix/inode.c | ms->s_state = sb->u.minix_sb.s_mount_state; |
minix_sb | 99 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
minix_sb | 105 | fs/minix/inode.c | sb->u.minix_sb.s_mount_state = ms->s_state; |
minix_sb | 107 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
minix_sb | 110 | fs/minix/inode.c | if (!(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
minix_sb | 113 | fs/minix/inode.c | else if ((sb->u.minix_sb.s_mount_state & MINIX_ERROR_FS)) |
minix_sb | 143 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
minix_sb | 144 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
minix_sb | 145 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
minix_sb | 148 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
minix_sb | 149 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
minix_sb | 150 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
minix_sb | 151 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
minix_sb | 152 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
minix_sb | 153 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
minix_sb | 156 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V1; |
minix_sb | 157 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
minix_sb | 158 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
minix_sb | 159 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
minix_sb | 161 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V1; |
minix_sb | 162 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
minix_sb | 163 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
minix_sb | 164 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
minix_sb | 166 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V2; |
minix_sb | 167 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_zones; |
minix_sb | 168 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
minix_sb | 169 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
minix_sb | 171 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V2; |
minix_sb | 172 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_zones; |
minix_sb | 173 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
minix_sb | 174 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
minix_sb | 186 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
minix_sb | 188 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
minix_sb | 190 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
minix_sb | 191 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
minix_sb | 195 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
minix_sb | 196 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
minix_sb | 200 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
minix_sb | 202 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
minix_sb | 204 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
minix_sb | 212 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
minix_sb | 213 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
minix_sb | 231 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
minix_sb | 234 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
minix_sb | 246 | fs/minix/inode.c | tmp.f_blocks = (sb->u.minix_sb.s_nzones - sb->u.minix_sb.s_firstdatazone) << sb->u.minix_sb.s_log_zone_size; |
minix_sb | 249 | fs/minix/inode.c | tmp.f_files = sb->u.minix_sb.s_ninodes; |
minix_sb | 251 | fs/minix/inode.c | tmp.f_namelen = sb->u.minix_sb.s_namelen; |
minix_sb | 279 | fs/minix/inode.c | if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { |
minix_sb | 325 | fs/minix/inode.c | if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { |
minix_sb | 468 | fs/minix/inode.c | if (block >= inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE) { |
minix_sb | 581 | fs/minix/inode.c | if (block >= inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE) { |
minix_sb | 643 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 649 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
minix_sb | 650 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
minix_sb | 697 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 703 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
minix_sb | 704 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
minix_sb | 762 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 769 | 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 | 803 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
minix_sb | 810 | 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 | 74 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
minix_sb | 160 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
minix_sb | 315 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
minix_sb | 383 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
minix_sb | 683 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
minix_sb | 363 | include/linux/fs.h | struct minix_sb_info minix_sb; |
minix_sb | 34 | include/linux/minix_fs.h | #define INODE_VERSION(inode) inode->i_sb->u.minix_sb.s_version |