Searched refs:data_off (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | img_mgmt.c | 253 size_t data_off; in img_mgmt_read_info() local 293 data_off = hdr.ih_hdr_size + hdr.ih_img_size; in img_mgmt_read_info() 295 rc = img_mgmt_find_tlvs(image_slot, &data_off, &data_end, IMAGE_TLV_PROT_INFO_MAGIC); in img_mgmt_read_info() 300 data_off = data_end - sizeof(struct image_tlv_info); in img_mgmt_read_info() 303 rc = img_mgmt_find_tlvs(image_slot, &data_off, &data_end, IMAGE_TLV_INFO_MAGIC); in img_mgmt_read_info() 309 while (data_off + sizeof(tlv) <= data_end) { in img_mgmt_read_info() 310 rc = img_mgmt_read(image_slot, data_off, &tlv, sizeof(tlv)); in img_mgmt_read_info() 319 data_off += sizeof(tlv) + tlv.it_len; in img_mgmt_read_info() 329 data_off += sizeof(tlv); in img_mgmt_read_info() 331 if (data_off + IMAGE_HASH_LEN > data_end) { in img_mgmt_read_info() [all …]
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_telnet.c | 347 size_t data_off = off; in telnet_recv() local 353 memmove(buf + off, buf + data_off, len); in telnet_recv()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_pd.c | 579 int data_off = osdp_phy_packet_get_data_offset(pd, buf); in pd_build_reply() local 583 buf += data_off; in pd_build_reply() 584 max_len -= data_off; in pd_build_reply()
|
D | osdp_cp.c | 130 int data_off = osdp_phy_packet_get_data_offset(pd, buf); in cp_build_command() local 135 buf += data_off; in cp_build_command() 136 max_len -= data_off; in cp_build_command()
|