Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/eeprom/
Deeprom_emulator.c110 uint8_t *blk, size_t len) in eeprom_emu_flash_read() argument
115 offset, blk, len); in eeprom_emu_flash_read()
122 const uint8_t *blk, size_t len) in eeprom_emu_flash_write() argument
128 offset, blk, len); in eeprom_emu_flash_write()
167 const uint8_t *blk) in eeprom_emu_get_address() argument
172 blk += dev_config->flash_cbs / 2; in eeprom_emu_get_address()
178 address += ((uint32_t)(*blk) << (8 * i)); in eeprom_emu_get_address()
179 blk++; in eeprom_emu_get_address()
190 uint8_t *blk) in eeprom_emu_set_change() argument
195 (*blk++) = (*data++); in eeprom_emu_set_change()
[all …]
/Zephyr-Core-3.5.0/lib/os/
Dmem_blocks.c20 uint8_t *blk; in alloc_blocks() local
48 blk = mem_block->buffer + (offset << mem_block->info.blk_sz_shift); in alloc_blocks()
50 return blk; in alloc_blocks()
57 uint8_t *blk = ptr; in free_blocks() local
61 if (blk < mem_block->buffer) { in free_blocks()
66 offset = (blk - mem_block->buffer) >> mem_block->info.blk_sz_shift; in free_blocks()
/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_format.c298 struct ext2_block *blk = ext2_get_block(fs, itable_block_num + i); in ext2_format() local
300 memset(blk->data, 0, cfg->block_size); in ext2_format()
301 rc = ext2_write_block(fs, blk); in ext2_format()
302 ext2_drop_block(blk); in ext2_format()
Dext2_impl.c1143 uint32_t blk = offset / block_size; in ext2_del_direntry() local
1146 rc = ext2_fetch_inode_block(parent, blk); in ext2_del_direntry()
1160 uint32_t old_blk = parent->i_block[blk]; in ext2_del_direntry()
1165 parent->i_block[blk] = parent->i_block[last_blk]; in ext2_del_direntry()
1375 uint32_t blk = offset / block_size; in ext2_move_file() local
1380 rc = ext2_fetch_inode_block(fparent, blk); in ext2_move_file()
1407 rc = ext2_fetch_inode_block(fparent, blk); in ext2_move_file()
/Zephyr-Core-3.5.0/scripts/
Dcheckpatch.pl1396 my $blk = '';
1423 $blk .= $lines[$line] . "\n";
1424 $len = length($blk);
1433 if ($level == 0 && substr($blk, $off) =~ /^.\s*#\s*define/) {
1439 $c = substr($blk, $off, 1);
1440 $remainder = substr($blk, $off);
1493 if (substr($blk, $off + 1, 1) eq ';') {
1515 my $statement = substr($blk, $soff, $off - $soff + 1);
1516 my $condition = substr($blk, $soff, $coff - $soff + 1);
1603 my $blk = '';
[all …]