Home
last modified time | relevance | path

Searched refs:datasz (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/hw/display/
H A Dqxl-logger.c240 size_t datasz; in qxl_log_command() local
254 datasz = compat ? sizeof(QXLCompatDrawable) : sizeof(QXLDrawable); in qxl_log_command()
257 datasz = sizeof(QXLSurfaceCmd); in qxl_log_command()
260 datasz = sizeof(QXLCursorCmd); in qxl_log_command()
265 data = qxl_phys2virt(qxl, ext->cmd.data, ext->group_id, datasz); in qxl_log_command()
/openbmc/linux/include/linux/
H A Delf.h90 size_t datasz, bool compat, in arch_parse_elf_property() argument
96 extern int arch_parse_elf_property(u32 type, const void *data, size_t datasz,
H A Daudit.h193 extern int audit_rule_change(int type, int seq, void *data, size_t datasz);
/openbmc/linux/fs/
H A Dbinfmt_elf.c718 static int parse_elf_property(const char *data, size_t *off, size_t datasz, in parse_elf_property() argument
726 if (*off == datasz) in parse_elf_property()
729 if (WARN_ON_ONCE(*off > datasz || *off % ELF_GNU_PROPERTY_ALIGN)) in parse_elf_property()
732 datasz -= *off; in parse_elf_property()
734 if (datasz < sizeof(*pr)) in parse_elf_property()
738 datasz -= sizeof(*pr); in parse_elf_property()
740 if (pr->pr_datasz > datasz) in parse_elf_property()
745 if (step > datasz) in parse_elf_property()
775 size_t off, datasz; in parse_elf_properties() local
811 datasz = off + note.nhdr.n_descsz; in parse_elf_properties()
[all …]
H A Dbinfmt_elf_fdpic.c1204 unsigned int datasz; member
1214 sz += roundup(en->datasz, 4); in notesize()
1225 en.n_descsz = men->datasz; in writenote()
1230 dump_emit(cprm, men->data, men->datasz) && dump_align(cprm, 4); in writenote()
1276 note->datasz = sz; in fill_note()
/openbmc/linux/arch/arm64/include/asm/
H A Delf.h261 size_t datasz, bool compat, in arch_parse_elf_property() argument
271 if (datasz != sizeof(*p)) in arch_parse_elf_property()
/openbmc/u-boot/tools/
H A Dkwbimage.c603 int kwb_sign(RSA *key, void *data, int datasz, struct sig_v1 *sig, char *signame) in kwb_sign() argument
639 if (!EVP_SignUpdate(ctx, data, datasz)) { in kwb_sign()
663 int kwb_verify(RSA *key, void *data, int datasz, struct sig_v1 *sig, in kwb_verify() argument
699 if (!EVP_VerifyUpdate(ctx, data, datasz)) { in kwb_verify()
723 int kwb_sign_and_verify(RSA *key, void *data, int datasz, struct sig_v1 *sig, in kwb_sign_and_verify() argument
726 if (kwb_sign(key, data, datasz, sig, signame) < 0) in kwb_sign_and_verify()
729 if (kwb_verify(key, data, datasz, sig, signame) < 0) in kwb_sign_and_verify()
/openbmc/qemu/linux-user/
H A Delfload.c3058 static bool parse_elf_property(const uint32_t *data, int *off, int datasz, in parse_elf_property() argument
3064 if (*off > datasz || !QEMU_IS_ALIGNED(*off, ELF_GNU_PROPERTY_ALIGN)) { in parse_elf_property()
3067 datasz -= *off; in parse_elf_property()
3070 if (datasz < 2 * sizeof(uint32_t)) { in parse_elf_property()
3076 datasz -= 2 * sizeof(uint32_t); in parse_elf_property()
3078 if (step > datasz) { in parse_elf_property()
3116 int n, off, datasz; in parse_elf_properties() local
3163 datasz = tswap32(note.nhdr.n_descsz) + off; in parse_elf_properties()
3164 if (datasz > n) { in parse_elf_properties()
3172 if (off == datasz) { in parse_elf_properties()
[all …]
/openbmc/linux/kernel/
H A Dauditfilter.c450 size_t datasz) in audit_data_to_entry() argument
455 size_t remain = datasz - sizeof(struct audit_rule_data); in audit_data_to_entry()
1134 int audit_rule_change(int type, int seq, void *data, size_t datasz) in audit_rule_change() argument
1141 entry = audit_data_to_entry(data, datasz); in audit_rule_change()
1148 entry = audit_data_to_entry(data, datasz); in audit_rule_change()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c22217 uint32_t datasz) in lpfc_read_object() argument
22239 bf_set(lpfc_mbx_rd_object_rlen, &read_object->u.request, datasz); in lpfc_read_object()
22290 length, datasz, eof); in lpfc_read_object()