Lines Matching defs:frep
286 sframe_fre_sanity_check_p (sframe_frame_row_entry *frep)
291 if (frep == NULL)
294 fre_info = frep->fre_info;
333 sframe_fre_entry_size (sframe_frame_row_entry *frep, uint32_t fre_type)
335 if (frep == NULL)
338 uint8_t fre_info = frep->fre_info;
341 return (addr_size + sizeof (frep->fre_info)
1111 sframe_frame_row_entry *frep)
1124 if ((ctx == NULL) || (frep == NULL))
1154 sframe_frame_row_entry_copy (frep, &cur_fre);
1440 sframe_frame_row_entry *frep)
1450 if (encoder == NULL || frep == NULL)
1452 if (!sframe_fre_sanity_check_p (frep))
1497 = frep->fre_start_addr;
1498 ectx_frep->fre_info = frep->fre_info;
1501 sframe_assert (frep->fre_start_addr < fdep->sfde_func_size);
1504 sframe_assert (frep->fre_start_addr == fdep->sfde_func_size);
1506 /* frep has already been sanity check'd. Get offsets size. */
1507 offsets_sz = sframe_fre_offset_bytes_size (frep->fre_info);
1508 memcpy (&ectx_frep->fre_offsets, &frep->fre_offsets, offsets_sz);
1510 esz = sframe_fre_entry_size (frep, fre_type);
1701 sframe_encoder_write_fre (char *contents, sframe_frame_row_entry *frep,
1709 if (!sframe_fre_sanity_check_p (frep))
1713 fre_stack_offsets_sz = sframe_fre_offset_bytes_size (frep->fre_info);
1718 sframe_assert ((uint64_t)frep->fre_start_addr <= bitmask);
1720 sframe_encoder_write_fre_start_addr (contents, frep->fre_start_addr,
1724 memcpy (contents, &frep->fre_info, sizeof (frep->fre_info));
1725 contents += sizeof (frep->fre_info);
1727 memcpy (contents, frep->fre_offsets, fre_stack_offsets_sz);
1730 fre_sz = sframe_fre_entry_size (frep, fre_type);
1733 + sizeof (frep->fre_info)
1760 sframe_frame_row_entry *frep;
1805 frep = &fr_info->entry[fre_index];
1807 sframe_encoder_write_fre (contents, frep, fre_type, &esz);