Lines Matching refs:elfnote

321 elfnote_init(struct elfnote *elfnote)  in elfnote_init()  argument
324 memset(elfnote, 0, sizeof(*elfnote)); in elfnote_init()
325 elfnote->namesz = strlen(XEN_DUMPCORE_ELFNOTE_NAME) + 1; in elfnote_init()
326 strncpy(elfnote->name, XEN_DUMPCORE_ELFNOTE_NAME, sizeof(elfnote->name)); in elfnote_init()
333 struct elfnote elfnote; in elfnote_dump_none() local
336 elfnote_init(&elfnote); in elfnote_dump_none()
340 elfnote.descsz = sizeof(none); in elfnote_dump_none()
341 elfnote.type = XEN_ELFNOTE_DUMPCORE_NONE; in elfnote_dump_none()
342 sts = dump_rtn(xch, args, (char*)&elfnote, sizeof(elfnote)); in elfnote_dump_none()
355 struct elfnote elfnote; in elfnote_dump_core_header() local
358 elfnote_init(&elfnote); in elfnote_dump_core_header()
361 elfnote.descsz = sizeof(header); in elfnote_dump_core_header()
362 elfnote.type = XEN_ELFNOTE_DUMPCORE_HEADER; in elfnote_dump_core_header()
367 sts = dump_rtn(xch, args, (char*)&elfnote, sizeof(elfnote)); in elfnote_dump_core_header()
378 struct elfnote elfnote; in elfnote_dump_xen_version() local
381 elfnote_init(&elfnote); in elfnote_dump_xen_version()
384 elfnote.descsz = sizeof(xen_version); in elfnote_dump_xen_version()
385 elfnote.type = XEN_ELFNOTE_DUMPCORE_XEN_VERSION; in elfnote_dump_xen_version()
393 sts = dump_rtn(xch, args, (char*)&elfnote, sizeof(elfnote)); in elfnote_dump_xen_version()
404 struct elfnote elfnote; in elfnote_dump_format_version() local
407 elfnote_init(&elfnote); in elfnote_dump_format_version()
410 elfnote.descsz = sizeof(format_version); in elfnote_dump_format_version()
411 elfnote.type = XEN_ELFNOTE_DUMPCORE_FORMAT_VERSION; in elfnote_dump_format_version()
413 sts = dump_rtn(xch, args, (char*)&elfnote, sizeof(elfnote)); in elfnote_dump_format_version()