Lines Matching refs:phys
67 unsigned long phys; in bfs_get_block() local
73 phys = bi->i_sblock + block; in bfs_get_block()
75 if (phys <= bi->i_eblock) { in bfs_get_block()
77 create, (unsigned long)block, phys); in bfs_get_block()
78 map_bh(bh_result, sb, phys); in bfs_get_block()
87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
89 create, (unsigned long)block, phys); in bfs_get_block()
90 map_bh(bh_result, sb, phys); in bfs_get_block()
95 if (phys >= info->si_blocks) in bfs_get_block()
108 create, (unsigned long)block, phys); in bfs_get_block()
109 map_bh(bh_result, sb, phys); in bfs_get_block()
110 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block()
111 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
118 phys = info->si_lf_eblk + 1; in bfs_get_block()
119 if (phys + block >= info->si_blocks) { in bfs_get_block()
126 bi->i_eblock, phys); in bfs_get_block()
136 create, (unsigned long)block, phys); in bfs_get_block()
137 bi->i_sblock = phys; in bfs_get_block()
138 phys += block; in bfs_get_block()
139 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
147 map_bh(bh_result, sb, phys); in bfs_get_block()