tag | line | file | source code |
zone | 71 | fs/minix/bitmap.c | unsigned int bit,zone; |
zone | 86 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
zone | 87 | fs/minix/bitmap.c | bit = zone & 8191; |
zone | 88 | fs/minix/bitmap.c | zone >>= 13; |
zone | 89 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
zone | 185 | fs/xiafs/inode.c | int xiafs_bmap(struct inode * inode,int zone) |
zone | 189 | fs/xiafs/inode.c | if (zone < 0) { |
zone | 193 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 201 | fs/xiafs/inode.c | if (zone < 8) |
zone | 202 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
zone | 203 | fs/xiafs/inode.c | zone -= 8; |
zone | 204 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 207 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
zone | 210 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 214 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
zone | 217 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
zone | 221 | fs/xiafs/inode.c | static u_long get_prev_addr(struct inode * inode, int zone) |
zone | 225 | fs/xiafs/inode.c | if (zone > 0) |
zone | 226 | fs/xiafs/inode.c | while (--zone >= 0) /* only files with holes suffer */ |
zone | 227 | fs/xiafs/inode.c | if ((tmp=xiafs_bmap(inode, zone))) |
zone | 314 | fs/xiafs/inode.c | struct buffer_head * xiafs_getblk(struct inode * inode, int zone, int create) |
zone | 319 | fs/xiafs/inode.c | if (zone<0) { |
zone | 323 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 329 | fs/xiafs/inode.c | prev_addr=get_prev_addr(inode, zone); |
zone | 330 | fs/xiafs/inode.c | if (zone < 8) |
zone | 331 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
zone | 332 | fs/xiafs/inode.c | zone -= 8; |
zone | 333 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 335 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone, create, prev_addr); |
zone | 338 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 340 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
zone | 342 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
zone | 347 | fs/xiafs/inode.c | struct buffer_head * xiafs_bread(struct inode * inode, int zone, int create) |
zone | 351 | fs/xiafs/inode.c | bh = xiafs_getblk(inode, zone, create); |
zone | 366 | fs/xiafs/inode.c | int zone; |
zone | 376 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 379 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 399 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 400 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
zone | 423 | fs/xiafs/inode.c | int zone; |
zone | 438 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 441 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 460 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 461 | fs/xiafs/inode.c | raw_inode->i_zone[zone] = (raw_inode->i_zone[zone] & 0xff000000) |
zone | 462 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |