tag | line | file | source code |
zone | 53 | fs/minix/bitmap.c | unsigned int bit,zone; |
zone | 68 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
zone | 69 | fs/minix/bitmap.c | bit = zone & 8191; |
zone | 70 | fs/minix/bitmap.c | zone >>= 13; |
zone | 71 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
zone | 201 | fs/xiafs/inode.c | int xiafs_bmap(struct inode * inode,int zone) |
zone | 205 | fs/xiafs/inode.c | if (zone < 0) { |
zone | 209 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 217 | fs/xiafs/inode.c | if (zone < 8) |
zone | 218 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
zone | 219 | fs/xiafs/inode.c | zone -= 8; |
zone | 220 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 223 | fs/xiafs/inode.c | i = zone_bmap(bread(inode->i_dev, i, XIAFS_ZSIZE(inode->i_sb)), zone); |
zone | 226 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 230 | fs/xiafs/inode.c | zone >> XIAFS_ADDRS_PER_Z_BITS(inode->i_sb)); |
zone | 233 | fs/xiafs/inode.c | zone & (XIAFS_ADDRS_PER_Z(inode->i_sb)-1)); |
zone | 237 | fs/xiafs/inode.c | static u_long get_prev_addr(struct inode * inode, int zone) |
zone | 241 | fs/xiafs/inode.c | if (zone > 0) |
zone | 242 | fs/xiafs/inode.c | while (--zone >= 0) /* only files with holes suffer */ |
zone | 243 | fs/xiafs/inode.c | if ((tmp=xiafs_bmap(inode, zone))) |
zone | 330 | fs/xiafs/inode.c | struct buffer_head * xiafs_getblk(struct inode * inode, int zone, int create) |
zone | 335 | fs/xiafs/inode.c | if (zone<0) { |
zone | 339 | fs/xiafs/inode.c | if (zone >= 8+(1+XIAFS_ADDRS_PER_Z(inode->i_sb))*XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 345 | fs/xiafs/inode.c | prev_addr=get_prev_addr(inode, zone); |
zone | 346 | fs/xiafs/inode.c | if (zone < 8) |
zone | 347 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
zone | 348 | fs/xiafs/inode.c | zone -= 8; |
zone | 349 | fs/xiafs/inode.c | if (zone < XIAFS_ADDRS_PER_Z(inode->i_sb)) { |
zone | 351 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone, create, prev_addr); |
zone | 354 | fs/xiafs/inode.c | zone -= XIAFS_ADDRS_PER_Z(inode->i_sb); |
zone | 356 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), |
zone | 358 | fs/xiafs/inode.c | bh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), |
zone | 363 | fs/xiafs/inode.c | struct buffer_head * xiafs_bread(struct inode * inode, int zone, int create) |
zone | 367 | fs/xiafs/inode.c | bh = xiafs_getblk(inode, zone, create); |
zone | 382 | fs/xiafs/inode.c | int zone; |
zone | 392 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 395 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 415 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 416 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
zone | 439 | fs/xiafs/inode.c | int zone; |
zone | 454 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
zone | 457 | fs/xiafs/inode.c | if (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) { |
zone | 476 | fs/xiafs/inode.c | for (zone = 0; zone < 8; zone++) |
zone | 477 | fs/xiafs/inode.c | raw_inode->i_zone[zone] = (raw_inode->i_zone[zone] & 0xff000000) |
zone | 478 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |