tag | line | file | source code |
zone | 49 | fs/minix/bitmap.c | unsigned int bit,zone; |
zone | 64 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
zone | 65 | fs/minix/bitmap.c | bit = zone & 8191; |
zone | 66 | fs/minix/bitmap.c | zone >>= 13; |
zone | 67 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
zone | 195 | fs/xiafs/inode.c | int xiafs_bmap(struct inode * inode,int zone) |
zone | 199 | fs/xiafs/inode.c | if (zone < 0) { |
zone | 203 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 211 | fs/xiafs/inode.c | if (zone < 8) |
zone | 212 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
zone | 213 | fs/xiafs/inode.c | zone -= 8; |
zone | 214 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 217 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
zone | 220 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 224 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
zone | 227 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
zone | 231 | fs/xiafs/inode.c | static u_long get_prev_addr(struct inode * inode, int zone) |
zone | 235 | fs/xiafs/inode.c | if (zone > 0) |
zone | 236 | fs/xiafs/inode.c | while (--zone >= 0) /* only files with holes suffer */ |
zone | 237 | fs/xiafs/inode.c | if ((tmp=xiafs_bmap(inode, zone))) |
zone | 324 | fs/xiafs/inode.c | struct buffer_head * xiafs_getblk(struct inode * inode, int zone, int create) |
zone | 329 | fs/xiafs/inode.c | if (zone<0) { |
zone | 333 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 339 | fs/xiafs/inode.c | prev_addr=get_prev_addr(inode, zone); |
zone | 340 | fs/xiafs/inode.c | if (zone < 8) |
zone | 341 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
zone | 342 | fs/xiafs/inode.c | zone -= 8; |
zone | 343 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 345 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone, create, prev_addr); |
zone | 348 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 350 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
zone | 352 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
zone | 357 | fs/xiafs/inode.c | struct buffer_head * xiafs_bread(struct inode * inode, int zone, int create) |
zone | 361 | fs/xiafs/inode.c | bh = xiafs_getblk(inode, zone, create); |
zone | 376 | fs/xiafs/inode.c | int zone; |
zone | 386 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 389 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 409 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 410 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
zone | 433 | fs/xiafs/inode.c | int zone; |
zone | 448 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 451 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 470 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 471 | fs/xiafs/inode.c | raw_inode->i_zone[zone] = (raw_inode->i_zone[zone] & 0xff000000) |
zone | 472 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |