tag | line | file | source code |
xiafs_sb | 96 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_imap_buf, \ |
xiafs_sb | 97 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_iznr, \ |
xiafs_sb | 98 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_cached, 1, \ |
xiafs_sb | 99 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_zones, _XIAFS_IMAP_SLOTS, \ |
xiafs_sb | 103 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_zmap_buf, \ |
xiafs_sb | 104 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zznr, \ |
xiafs_sb | 105 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_cached, \ |
xiafs_sb | 106 | fs/xiafs/bitmap.c | 1+(sb)->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 107 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zones, _XIAFS_ZMAP_SLOTS, \ |
xiafs_sb | 157 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_imap_buf, \ |
xiafs_sb | 158 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_iznr, \ |
xiafs_sb | 159 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_cached, \ |
xiafs_sb | 160 | fs/xiafs/bitmap.c | 1, sb->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 164 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_zmap_buf, \ |
xiafs_sb | 165 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zznr, \ |
xiafs_sb | 166 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_cached, \ |
xiafs_sb | 167 | fs/xiafs/bitmap.c | 1 + sb->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 168 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zones, \ |
xiafs_sb | 206 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 227 | fs/xiafs/bitmap.c | if (d_addr < sb->u.xiafs_sb.s_firstdatazone || |
xiafs_sb | 228 | fs/xiafs/bitmap.c | d_addr >= sb->u.xiafs_sb.s_nzones) { |
xiafs_sb | 236 | fs/xiafs/bitmap.c | bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1; |
xiafs_sb | 246 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 258 | fs/xiafs/bitmap.c | if (prev_addr < sb->u.xiafs_sb.s_firstdatazone || |
xiafs_sb | 259 | fs/xiafs/bitmap.c | prev_addr >= sb->u.xiafs_sb.s_nzones) { |
xiafs_sb | 260 | fs/xiafs/bitmap.c | prev_addr=sb->u.xiafs_sb.s_firstdatazone; |
xiafs_sb | 262 | fs/xiafs/bitmap.c | prev_znr=prev_addr-sb->u.xiafs_sb.s_firstdatazone+1; |
xiafs_sb | 266 | fs/xiafs/bitmap.c | tmp += sb->u.xiafs_sb.s_firstdatazone -1; |
xiafs_sb | 291 | fs/xiafs/bitmap.c | inode->i_ino < 3 || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 306 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
xiafs_sb | 363 | fs/xiafs/bitmap.c | izones=sb->u.xiafs_sb.s_imap_zones; |
xiafs_sb | 368 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
xiafs_sb | 382 | fs/xiafs/bitmap.c | zzones=sb->u.xiafs_sb.s_zmap_zones; |
xiafs_sb | 387 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 101 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 50 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_imap_buf[i]); |
xiafs_sb | 52 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_zmap_buf[i]); |
xiafs_sb | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
xiafs_sb | 115 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
xiafs_sb | 116 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
xiafs_sb | 117 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
xiafs_sb | 118 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
xiafs_sb | 119 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
xiafs_sb | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
xiafs_sb | 121 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
xiafs_sb | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
xiafs_sb | 125 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
xiafs_sb | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
xiafs_sb | 129 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
xiafs_sb | 132 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
xiafs_sb | 133 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
xiafs_sb | 135 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
xiafs_sb | 136 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
xiafs_sb | 137 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
xiafs_sb | 139 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
xiafs_sb | 142 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
xiafs_sb | 143 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
xiafs_sb | 145 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
xiafs_sb | 146 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
xiafs_sb | 147 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
xiafs_sb | 149 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
xiafs_sb | 164 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
xiafs_sb | 166 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
xiafs_sb | 180 | fs/xiafs/inode.c | put_fs_long(sb->u.xiafs_sb.s_ndatazones, &buf->f_blocks); |
xiafs_sb | 184 | fs/xiafs/inode.c | put_fs_long(sb->u.xiafs_sb.s_ninodes, &buf->f_files); |
xiafs_sb | 245 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
xiafs_sb | 246 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
xiafs_sb | 388 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 392 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
xiafs_sb | 393 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
xiafs_sb | 449 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 454 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
xiafs_sb | 455 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
xiafs_sb | 92 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 199 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 449 | fs/xiafs/namei.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 11 | fs/xiafs/xiafs_mac.h | #define XIAFS_ZSHIFT(sp) ((sp)->u.xiafs_sb.s_zone_shift) |
xiafs_sb | 321 | include/linux/fs.h | struct xiafs_sb_info xiafs_sb; |