tag | line | file | source code |
zone | 70 | fs/minix/bitmap.c | unsigned int bit,zone; |
zone | 85 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
zone | 86 | fs/minix/bitmap.c | bit = zone & 8191; |
zone | 87 | fs/minix/bitmap.c | zone >>= 13; |
zone | 88 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
zone | 171 | fs/xiafs/inode.c | int xiafs_bmap(struct inode * inode,int zone) |
zone | 175 | fs/xiafs/inode.c | if (zone < 0) { |
zone | 179 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 187 | fs/xiafs/inode.c | if (zone < 8) |
zone | 188 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
zone | 189 | fs/xiafs/inode.c | zone -= 8; |
zone | 190 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 193 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
zone | 196 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 200 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
zone | 203 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
zone | 207 | fs/xiafs/inode.c | static u_long get_prev_addr(struct inode * inode, int zone) |
zone | 211 | fs/xiafs/inode.c | if (zone > 0) |
zone | 212 | fs/xiafs/inode.c | while (--zone >= 0) /* only files with holes suffer */ |
zone | 213 | fs/xiafs/inode.c | if ((tmp=xiafs_bmap(inode, zone))) |
zone | 300 | fs/xiafs/inode.c | struct buffer_head * xiafs_getblk(struct inode * inode, int zone, int create) |
zone | 305 | fs/xiafs/inode.c | if (zone<0) { |
zone | 309 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 315 | fs/xiafs/inode.c | prev_addr=get_prev_addr(inode, zone); |
zone | 316 | fs/xiafs/inode.c | if (zone < 8) |
zone | 317 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
zone | 318 | fs/xiafs/inode.c | zone -= 8; |
zone | 319 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 321 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone, create, prev_addr); |
zone | 324 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 326 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
zone | 328 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
zone | 333 | fs/xiafs/inode.c | struct buffer_head * xiafs_bread(struct inode * inode, int zone, int create) |
zone | 337 | fs/xiafs/inode.c | bh = xiafs_getblk(inode, zone, create); |
zone | 352 | fs/xiafs/inode.c | int zone; |
zone | 362 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 365 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 385 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 386 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
zone | 409 | fs/xiafs/inode.c | int zone; |
zone | 424 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 427 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 446 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 447 | fs/xiafs/inode.c | raw_inode->i_zone[zone] = (raw_inode->i_zone[zone] & 0xff000000) |
zone | 448 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |