Lines Matching refs:phys
68 unsigned long phys; in bfs_get_block() local
74 phys = bi->i_sblock + block; in bfs_get_block()
76 if (phys <= bi->i_eblock) { in bfs_get_block()
78 create, (unsigned long)block, phys); in bfs_get_block()
79 map_bh(bh_result, sb, phys); in bfs_get_block()
88 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
90 create, (unsigned long)block, phys); in bfs_get_block()
91 map_bh(bh_result, sb, phys); in bfs_get_block()
96 if (phys >= info->si_blocks) in bfs_get_block()
109 create, (unsigned long)block, phys); in bfs_get_block()
110 map_bh(bh_result, sb, phys); in bfs_get_block()
111 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block()
112 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
119 phys = info->si_lf_eblk + 1; in bfs_get_block()
120 if (phys + block >= info->si_blocks) { in bfs_get_block()
127 bi->i_eblock, phys); in bfs_get_block()
137 create, (unsigned long)block, phys); in bfs_get_block()
138 bi->i_sblock = phys; in bfs_get_block()
139 phys += block; in bfs_get_block()
140 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
148 map_bh(bh_result, sb, phys); in bfs_get_block()