Searched refs:start_off (Results 1 – 2 of 2) sorted by relevance
186 static int img_mgmt_find_tlvs(int slot, size_t *start_off, size_t *end_off, uint16_t magic) in img_mgmt_find_tlvs() argument191 rc = img_mgmt_read(slot, *start_off, &tlv_info, sizeof(tlv_info)); in img_mgmt_find_tlvs()202 *start_off += sizeof(tlv_info); in img_mgmt_find_tlvs()203 *end_off = *start_off + tlv_info.it_tlv_tot; in img_mgmt_find_tlvs()
718 uint32_t start_off = old_size % block_size; in ext2_inode_trunc() local719 uint32_t to_write = MIN(new_size - old_size, block_size - start_off); in ext2_inode_trunc()726 memset(inode_current_block_mem(inode) + start_off, 0, to_write); in ext2_inode_trunc()