Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/accel/habanalabs/common/
Dsecurity.c692 struct hl_special_block_info *current_block = &special_blocks[blk_idx]; in hl_read_glbl_errors() local
694 base = current_block->base_addr - lower_32_bits(prop->cfg_base_address); in hl_read_glbl_errors()
697 block_base = base + major * current_block->major_offset + in hl_read_glbl_errors()
698 minor * current_block->minor_offset + in hl_read_glbl_errors()
699 sub_minor * current_block->sub_minor_offset; in hl_read_glbl_errors()
/linux-6.12.1/fs/ext2/
Dinode.c406 ext2_fsblk_t current_block = 0; in ext2_alloc_blocks() local
422 current_block = ext2_new_blocks(inode, goal, &count, err, 0); in ext2_alloc_blocks()
429 new_blocks[index++] = current_block++; in ext2_alloc_blocks()
438 new_blocks[index] = current_block; in ext2_alloc_blocks()
489 ext2_fsblk_t current_block; in ext2_alloc_branch() local
518 current_block = new_blocks[n]; in ext2_alloc_branch()
525 *(branch[n].p + i) = cpu_to_le32(++current_block); in ext2_alloc_branch()
566 ext2_fsblk_t current_block; in ext2_splice_branch() local
580 current_block = le32_to_cpu(where->key) + 1; in ext2_splice_branch()
582 *(where->p + i ) = cpu_to_le32(current_block++); in ext2_splice_branch()
/linux-6.12.1/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.12.1/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()