Lines Matching defs:note
33 static void found_driver(zircon_driver_note_payload_t* note,
38 note->name[sizeof(note->name) - 1] = 0;
39 note->vendor[sizeof(note->vendor) - 1] = 0;
40 note->version[sizeof(note->version) - 1] = 0;
42 if (is_driver_disabled(note->name)) {
48 size_t namelen = strlen(note->name) + 1;
49 size_t bindlen = note->bindcount * sizeof(zx_bind_inst_t);
52 if ((note->flags & ZIRCON_DRIVER_NOTE_FLAG_ASAN) && !dc_asan_drivers) {
56 libname, note->name);
71 drv->libname = reinterpret_cast<const char*>(drv->binding + note->bindcount);
76 memcpy((void*) drv->name, note->name, namelen);
80 printf(" name: %s\n", note->name);
81 printf(" vendor: %s\n", note->vendor);
82 printf(" version: %s\n", note->version);
83 printf(" flags: %#x\n", note->flags);
85 for (size_t n = 0; n < note->bindcount; n++) {
90 ctx->func(drv, note->version);