Home
last modified time | relevance | path

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

/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.h197 extern int audit_rule_change(int type, int seq, void *data, size_t datasz);
/linux/fs/
H A Dbinfmt_elf.c729 static int parse_elf_property(const char *data, size_t *off, size_t datasz, in parse_elf_property() argument
737 if (*off == datasz) in parse_elf_property()
740 if (WARN_ON_ONCE(*off > datasz || *off % ELF_GNU_PROPERTY_ALIGN)) in parse_elf_property()
743 datasz -= *off; in parse_elf_property()
745 if (datasz < sizeof(*pr)) in parse_elf_property()
749 datasz -= sizeof(*pr); in parse_elf_property()
751 if (pr->pr_datasz > datasz) in parse_elf_property()
756 if (step > datasz) in parse_elf_property()
785 size_t off, datasz; in parse_elf_properties() local
821 datasz = off + note.nhdr.n_descsz; in parse_elf_properties()
[all …]
H A Dbinfmt_elf_fdpic.c1217 unsigned int datasz; member
1227 sz += roundup(en->datasz, 4); in notesize()
1238 en.n_descsz = men->datasz; in writenote()
1243 dump_emit(cprm, men->data, men->datasz) && dump_align(cprm, 4); in writenote()
1289 note->datasz = sz; in __fill_note()
/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()
/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()
1133 int audit_rule_change(int type, int seq, void *data, size_t datasz) in audit_rule_change() argument
1140 entry = audit_data_to_entry(data, datasz); in audit_rule_change()
1147 entry = audit_data_to_entry(data, datasz); in audit_rule_change()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c884 const size_t datasz = sizeof(dataout); in test_file_stream_wsr() local
885 char datain[datasz]; in test_file_stream_wsr()
898 r = fwrite(dataout, 1, datasz, f); in test_file_stream_wsr()
899 if (r != datasz) in test_file_stream_wsr()
905 r = fread(datain, 1, datasz, f); in test_file_stream_wsr()
918 r = fread(datain, 1, datasz + 1, f); in test_file_stream_wsr()
919 if (r != datasz) in test_file_stream_wsr()
923 if (memcmp(datain, dataout, datasz) != 0) in test_file_stream_wsr()
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c22287 uint32_t datasz) in lpfc_read_object() argument
22309 bf_set(lpfc_mbx_rd_object_rlen, &read_object->u.request, datasz); in lpfc_read_object()
22360 length, datasz, eof); in lpfc_read_object()