Home
last modified time | relevance | path

Searched refs:current_block (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/mtd/
Drfd_ftl.c81 int current_block; /* block to write to */ member
180 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()
/linux-6.1.9/fs/ext2/
Dinode.c402 ext2_fsblk_t current_block = 0; in ext2_alloc_blocks() local
418 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() local
514 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() local
576 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()
/linux-6.1.9/sound/pci/
Dbt87x.c320 int current_block, irq_block; in snd_bt87x_interrupt() local
325 current_block = chip->current_line * 16 / chip->lines; in snd_bt87x_interrupt()
327 if (current_block != irq_block) in snd_bt87x_interrupt()
/linux-6.1.9/fs/ext4/
Dindirect.c431 ext4_fsblk_t current_block; in ext4_splice_branch() local
454 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()