tag | line | file | source code |
xiafs_sb | 99 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_imap_buf, \ |
xiafs_sb | 100 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_iznr, \ |
xiafs_sb | 101 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_cached, 1, \ |
xiafs_sb | 102 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_zones, _XIAFS_IMAP_SLOTS, \ |
xiafs_sb | 106 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_zmap_buf, \ |
xiafs_sb | 107 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zznr, \ |
xiafs_sb | 108 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_cached, \ |
xiafs_sb | 109 | fs/xiafs/bitmap.c | 1+(sb)->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 110 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zones, _XIAFS_ZMAP_SLOTS, \ |
xiafs_sb | 160 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_imap_buf, \ |
xiafs_sb | 161 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_iznr, \ |
xiafs_sb | 162 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_cached, \ |
xiafs_sb | 163 | fs/xiafs/bitmap.c | 1, sb->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 167 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_zmap_buf, \ |
xiafs_sb | 168 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zznr, \ |
xiafs_sb | 169 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_cached, \ |
xiafs_sb | 170 | fs/xiafs/bitmap.c | 1 + sb->u.xiafs_sb.s_imap_zones, \ |
xiafs_sb | 171 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zones, \ |
xiafs_sb | 209 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 230 | fs/xiafs/bitmap.c | if (d_addr < sb->u.xiafs_sb.s_firstdatazone || |
xiafs_sb | 231 | fs/xiafs/bitmap.c | d_addr >= sb->u.xiafs_sb.s_nzones) { |
xiafs_sb | 239 | fs/xiafs/bitmap.c | bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1; |
xiafs_sb | 249 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 261 | fs/xiafs/bitmap.c | if (prev_addr < sb->u.xiafs_sb.s_firstdatazone || |
xiafs_sb | 262 | fs/xiafs/bitmap.c | prev_addr >= sb->u.xiafs_sb.s_nzones) { |
xiafs_sb | 263 | fs/xiafs/bitmap.c | prev_addr=sb->u.xiafs_sb.s_firstdatazone; |
xiafs_sb | 265 | fs/xiafs/bitmap.c | prev_znr=prev_addr-sb->u.xiafs_sb.s_firstdatazone+1; |
xiafs_sb | 269 | fs/xiafs/bitmap.c | tmp += sb->u.xiafs_sb.s_firstdatazone -1; |
xiafs_sb | 294 | fs/xiafs/bitmap.c | inode->i_ino < 3 || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 309 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
xiafs_sb | 366 | fs/xiafs/bitmap.c | izones=sb->u.xiafs_sb.s_imap_zones; |
xiafs_sb | 371 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
xiafs_sb | 385 | fs/xiafs/bitmap.c | zzones=sb->u.xiafs_sb.s_zmap_zones; |
xiafs_sb | 390 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
xiafs_sb | 85 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 42 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_imap_buf[i]); |
xiafs_sb | 44 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_zmap_buf[i]); |
xiafs_sb | 99 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
xiafs_sb | 100 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
xiafs_sb | 101 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
xiafs_sb | 102 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
xiafs_sb | 103 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
xiafs_sb | 104 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
xiafs_sb | 105 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
xiafs_sb | 106 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
xiafs_sb | 109 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
xiafs_sb | 110 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
xiafs_sb | 113 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
xiafs_sb | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
xiafs_sb | 117 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
xiafs_sb | 118 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
xiafs_sb | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
xiafs_sb | 121 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
xiafs_sb | 122 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
xiafs_sb | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
xiafs_sb | 127 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
xiafs_sb | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
xiafs_sb | 130 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
xiafs_sb | 131 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
xiafs_sb | 132 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
xiafs_sb | 134 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
xiafs_sb | 149 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
xiafs_sb | 151 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
xiafs_sb | 164 | fs/xiafs/inode.c | put_fs_long(sb->u.xiafs_sb.s_ndatazones, &buf->f_blocks); |
xiafs_sb | 168 | fs/xiafs/inode.c | put_fs_long(sb->u.xiafs_sb.s_ninodes, &buf->f_files); |
xiafs_sb | 229 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
xiafs_sb | 230 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
xiafs_sb | 372 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 376 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
xiafs_sb | 377 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
xiafs_sb | 433 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
xiafs_sb | 438 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
xiafs_sb | 439 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
xiafs_sb | 88 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 195 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
xiafs_sb | 444 | 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 | 290 | include/linux/fs.h | struct xiafs_sb_info xiafs_sb; |