tag | line | file | source code |
xiafs_sb | 92 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_imap_buf, \ |
xiafs_sb | 93 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_iznr, \ |
xiafs_sb | 94 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_cached, 1, \ |
xiafs_sb | 95 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_zones, _XIAFS_IMAP_SLOTS, \ |
xiafs_sb | 99 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_zmap_buf, \ |
xiafs_sb | 100 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zznr, \ |
xiafs_sb | 101 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_cached, \ |
xiafs_sb | 102 | fs/xiafs/bitmap.c | 1+(sb)->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 103 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zones, _XIAFS_ZMAP_SLOTS, \ |
xiafs_sb | 153 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_imap_buf, \ |
xiafs_sb | 154 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_iznr, \ |
xiafs_sb | 155 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_cached, \ |
xiafs_sb | 156 | fs/xiafs/bitmap.c | 1, sb->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 160 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_zmap_buf, \ |
xiafs_sb | 161 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zznr, \ |
xiafs_sb | 162 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_cached, \ |
xiafs_sb | 163 | fs/xiafs/bitmap.c | 1 + sb->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 164 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zones, \ |
xiafs_sb | 202 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 223 | fs/xiafs/bitmap.c | if (d_addr < sb->u.xiafs_sb.s_firstdatazone || |
xiafs_sb | 224 | fs/xiafs/bitmap.c | d_addr >= sb->u.xiafs_sb.s_nzones) { |
xiafs_sb | 232 | fs/xiafs/bitmap.c | bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1; |
xiafs_sb | 242 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 254 | fs/xiafs/bitmap.c | if (prev_addr < sb->u.xiafs_sb.s_firstdatazone || |
xiafs_sb | 255 | fs/xiafs/bitmap.c | prev_addr >= sb->u.xiafs_sb.s_nzones) { |
xiafs_sb | 256 | fs/xiafs/bitmap.c | prev_addr=sb->u.xiafs_sb.s_firstdatazone; |
xiafs_sb | 258 | fs/xiafs/bitmap.c | prev_znr=prev_addr-sb->u.xiafs_sb.s_firstdatazone+1; |
xiafs_sb | 262 | fs/xiafs/bitmap.c | tmp += sb->u.xiafs_sb.s_firstdatazone -1; |
xiafs_sb | 288 | fs/xiafs/bitmap.c | || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 303 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
xiafs_sb | 360 | fs/xiafs/bitmap.c | izones=sb->u.xiafs_sb.s_imap_zones; |
xiafs_sb | 365 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
xiafs_sb | 379 | fs/xiafs/bitmap.c | zzones=sb->u.xiafs_sb.s_zmap_zones; |
xiafs_sb | 384 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 96 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 44 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_imap_buf[i]); |
xiafs_sb | 46 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_zmap_buf[i]); |
xiafs_sb | 109 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
xiafs_sb | 110 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
xiafs_sb | 111 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
xiafs_sb | 112 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
xiafs_sb | 113 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
xiafs_sb | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
xiafs_sb | 115 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
xiafs_sb | 116 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
xiafs_sb | 119 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
xiafs_sb | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
xiafs_sb | 123 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
xiafs_sb | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
xiafs_sb | 127 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
xiafs_sb | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
xiafs_sb | 130 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
xiafs_sb | 131 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
xiafs_sb | 132 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
xiafs_sb | 134 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
xiafs_sb | 137 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
xiafs_sb | 138 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
xiafs_sb | 140 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
xiafs_sb | 141 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
xiafs_sb | 142 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
xiafs_sb | 144 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
xiafs_sb | 159 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
xiafs_sb | 161 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
xiafs_sb | 175 | fs/xiafs/inode.c | tmp.f_blocks = sb->u.xiafs_sb.s_ndatazones; |
xiafs_sb | 178 | fs/xiafs/inode.c | tmp.f_files = sb->u.xiafs_sb.s_ninodes; |
xiafs_sb | 239 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
xiafs_sb | 240 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
xiafs_sb | 382 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 386 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
xiafs_sb | 387 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
xiafs_sb | 443 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 448 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
xiafs_sb | 449 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
xiafs_sb | 89 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 196 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 446 | 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 | 390 | include/linux/fs.h | struct xiafs_sb_info xiafs_sb; |