Searched refs:start_off (Results 1 – 2 of 2) sorted by relevance
115 static int img_mgmt_find_tlvs(int slot, size_t *start_off, size_t *end_off, uint16_t magic) in img_mgmt_find_tlvs() argument120 rc = img_mgmt_read(slot, *start_off, &tlv_info, sizeof(tlv_info)); in img_mgmt_find_tlvs()131 *start_off += sizeof(tlv_info); in img_mgmt_find_tlvs()132 *end_off = *start_off + tlv_info.it_tlv_tot; in img_mgmt_find_tlvs()
716 uint32_t start_off = old_size % block_size; in ext2_inode_trunc() local717 uint32_t to_write = MIN(new_size - old_size, block_size - start_off); in ext2_inode_trunc()724 memset(inode_current_block_mem(inode) + start_off, 0, to_write); in ext2_inode_trunc()