Searched refs:current_block (Results 1 – 4 of 4) sorted by relevance
81 int current_block; /* block to write to */ member180 part->current_block = -1; in scan_header()458 part->current_block = -1; in reclaim_block()483 block = part->current_block == -1 ? in find_free_block()484 jiffies % part->total_blocks : part->current_block; in find_free_block()539 part->current_block = block; in find_writable_block()569 if (block == part->current_block) in mark_sector_deleted()611 if (part->current_block == -1 || in do_writesect()612 !part->blocks[part->current_block].free_sectors) { in do_writesect()619 block = &part->blocks[part->current_block]; in do_writesect()
402 ext2_fsblk_t current_block = 0; in ext2_alloc_blocks() local418 current_block = ext2_new_blocks(inode,goal,&count,err); in ext2_alloc_blocks()425 new_blocks[index++] = current_block++; in ext2_alloc_blocks()434 new_blocks[index] = current_block; in ext2_alloc_blocks()485 ext2_fsblk_t current_block; in ext2_alloc_branch() local514 current_block = new_blocks[n]; in ext2_alloc_branch()521 *(branch[n].p + i) = cpu_to_le32(++current_block); in ext2_alloc_branch()562 ext2_fsblk_t current_block; in ext2_splice_branch() local576 current_block = le32_to_cpu(where->key) + 1; in ext2_splice_branch()578 *(where->p + i ) = cpu_to_le32(current_block++); in ext2_splice_branch()
320 int current_block, irq_block; in snd_bt87x_interrupt() local325 current_block = chip->current_line * 16 / chip->lines; in snd_bt87x_interrupt()327 if (current_block != irq_block) in snd_bt87x_interrupt()
431 ext4_fsblk_t current_block; in ext4_splice_branch() local454 current_block = le32_to_cpu(where->key) + 1; in ext4_splice_branch()456 *(where->p + i) = cpu_to_le32(current_block++); in ext4_splice_branch()