Lines Matching refs:size
91 static int __always_inline skip_xleb128(const u8 **opcode, int size) in skip_xleb128() argument
97 size--; in skip_xleb128()
100 return size; in skip_xleb128()
107 u32 size; member
136 int size = frame->size - offsetof(struct eh_frame, opcodes) + 4; in scs_handle_fde_frame() local
149 size -= l + 1; in scs_handle_fde_frame()
156 while (size-- > 0) { in scs_handle_fde_frame()
165 size--; in scs_handle_fde_frame()
171 size -= 2; in scs_handle_fde_frame()
176 size = skip_xleb128(&opcode, size); in scs_handle_fde_frame()
184 size = skip_xleb128(&opcode, size); in scs_handle_fde_frame()
208 int noinstr scs_patch(const u8 eh_frame[], int size) in scs_patch() argument
212 while (size > 4) { in scs_patch()
218 if (frame->size == 0 || in scs_patch()
219 frame->size == U32_MAX || in scs_patch()
220 frame->size > size) in scs_patch()
248 p += sizeof(frame->size) + frame->size; in scs_patch()
249 size -= sizeof(frame->size) + frame->size; in scs_patch()