mpsslog 162 samples/mic/mpssd/mpssd.c mpsslog("Configuring %s\n", dev); mpsslog 165 samples/mic/mpssd/mpssd.c mpsslog("%s execvp failed errno %s\n", mpsslog 171 samples/mic/mpssd/mpssd.c mpsslog("%s fork failed errno %s\n", mpsslog 178 samples/mic/mpssd/mpssd.c mpsslog("%s waitpid failed errno %s\n", mpsslog 194 samples/mic/mpssd/mpssd.c mpsslog("Configuring %s ipaddr %s\n", dev, ipaddr); mpsslog 197 samples/mic/mpssd/mpssd.c mpsslog("%s execvp failed errno %s\n", mpsslog 203 samples/mic/mpssd/mpssd.c mpsslog("%s fork failed errno %s\n", mpsslog 210 samples/mic/mpssd/mpssd.c mpsslog("%s waitpid failed errno %s\n", mpsslog 214 samples/mic/mpssd/mpssd.c mpsslog("MIC name %s %s %d DONE!\n", mpsslog 228 samples/mic/mpssd/mpssd.c mpsslog("Could not open /dev/net/tun %s\n", strerror(errno)); mpsslog 240 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d TUNSETIFF failed %s\n", mpsslog 250 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d TUNSETOFFLOAD failed %s\n", mpsslog 257 samples/mic/mpssd/mpssd.c mpsslog("Created TAP %s\n", dev); mpsslog 279 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d not found\n", mic->name, __func__, type); mpsslog 293 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d not found\n", mic->name, __func__, type); mpsslog 315 samples/mic/mpssd/mpssd.c mpsslog("%s %s d-> type %d d %p\n", mpsslog 321 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d not found\n", mic->name, __func__, type); mpsslog 352 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d BUG copy->out_len 0x%x len 0x%zx\n", mpsslog 367 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d copy->iov[%d] addr %p len 0x%zx\n", mpsslog 397 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d errno %s ret %d\n", mpsslog 428 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d mmap failed errno %s\n", mpsslog 439 samples/mic/mpssd/mpssd.c mpsslog("%s %s vr0 %p vr0->info %p vr_size 0x%x vring 0x%x ", mpsslog 442 samples/mic/mpssd/mpssd.c mpsslog("magic 0x%x expected 0x%x\n", mpsslog 452 samples/mic/mpssd/mpssd.c mpsslog("%s %s vr1 %p vr1->info %p vr_size 0x%x vring 0x%x ", mpsslog 455 samples/mic/mpssd/mpssd.c mpsslog("magic 0x%x expected 0x%x\n", mpsslog 475 samples/mic/mpssd/mpssd.c mpsslog("%s %s Waiting .... desc-> type %d status 0x%x\n", mpsslog 483 samples/mic/mpssd/mpssd.c mpsslog("%s %s poll failed %s\n", mpsslog 490 samples/mic/mpssd/mpssd.c mpsslog("%s %s Waiting... desc-> type %d " mpsslog 497 samples/mic/mpssd/mpssd.c mpsslog("%s %s poll.revents %d\n", mpsslog 499 samples/mic/mpssd/mpssd.c mpsslog("%s %s desc-> type %d status 0x%x\n", mpsslog 517 samples/mic/mpssd/mpssd.c mpsslog("%s %s waiting for desc avail %d info_avail %d\n", mpsslog 552 samples/mic/mpssd/mpssd.c mpsslog("MIC name %s id %d\n", mic->name, mic->id); mpsslog 562 samples/mic/mpssd/mpssd.c mpsslog("%s init_vr failed %s\n", mpsslog 579 samples/mic/mpssd/mpssd.c mpsslog("%s poll failed %s\n", mpsslog 588 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d Exiting...\n", mpsslog 609 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d hdr->flags 0x%x ", mic->name, mpsslog 611 samples/mic/mpssd/mpssd.c mpsslog("copy.out_len %d hdr->gso_type 0x%x\n", mpsslog 616 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d read from tap 0x%lx\n", mpsslog 628 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d mic_virtio_copy %s\n", mpsslog 636 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d wrote to net 0x%lx\n", mpsslog 644 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d read failed %s ", mic->name, mpsslog 646 samples/mic/mpssd/mpssd.c mpsslog("cnt %d sum %zd\n", mpsslog 672 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d hdr->flags 0x%x, ", mpsslog 675 samples/mic/mpssd/mpssd.c mpsslog("out_len %d gso_type 0x%x\n", mpsslog 686 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d ", mpsslog 688 samples/mic/mpssd/mpssd.c mpsslog("read from net 0x%lx\n", mpsslog 694 samples/mic/mpssd/mpssd.c mpsslog("Tun write failed %s ", mpsslog 696 samples/mic/mpssd/mpssd.c mpsslog("len 0x%zx ", len); mpsslog 697 samples/mic/mpssd/mpssd.c mpsslog("read_len 0x%zx\n", mpsslog 703 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d ", mpsslog 706 samples/mic/mpssd/mpssd.c mpsslog("wrote to tap 0x%lx\n", mpsslog 711 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d mic_virtio_copy %s\n", mpsslog 719 samples/mic/mpssd/mpssd.c mpsslog("%s: %s: POLLERR\n", __func__, mic->name); mpsslog 752 samples/mic/mpssd/mpssd.c mpsslog("can't open a pseudoterminal master device: %s\n", mpsslog 758 samples/mic/mpssd/mpssd.c mpsslog("can't get pts name\n"); mpsslog 762 samples/mic/mpssd/mpssd.c mpsslog("%s console message goes to %s\n", mic->name, pts_name); mpsslog 765 samples/mic/mpssd/mpssd.c mpsslog("can't grant access: %s %s\n", mpsslog 771 samples/mic/mpssd/mpssd.c mpsslog("can't unlock a pseudoterminal: %s %s\n", mpsslog 784 samples/mic/mpssd/mpssd.c mpsslog("%s init_vr failed %s\n", mpsslog 797 samples/mic/mpssd/mpssd.c mpsslog("%s %d: poll failed: %s\n", __func__, __LINE__, mpsslog 806 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d Exiting...\n", mpsslog 818 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d read from tap 0x%lx\n", mpsslog 830 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d mic_virtio_copy %s\n", mpsslog 838 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d wrote to net 0x%lx\n", mpsslog 846 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d read failed %s ", mpsslog 849 samples/mic/mpssd/mpssd.c mpsslog("cnt %d sum %zd\n", mpsslog 871 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d ", mpsslog 873 samples/mic/mpssd/mpssd.c mpsslog("read from net 0x%lx\n", mpsslog 879 samples/mic/mpssd/mpssd.c mpsslog("Tun write failed %s ", mpsslog 881 samples/mic/mpssd/mpssd.c mpsslog("len 0x%zx ", len); mpsslog 882 samples/mic/mpssd/mpssd.c mpsslog("read_len 0x%zx\n", mpsslog 888 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d ", mpsslog 891 samples/mic/mpssd/mpssd.c mpsslog("wrote to tap 0x%lx\n", mpsslog 896 samples/mic/mpssd/mpssd.c mpsslog("%s %s %d mic_virtio_copy %s\n", mpsslog 904 samples/mic/mpssd/mpssd.c mpsslog("%s: %s: POLLERR\n", __func__, mic->name); mpsslog 921 samples/mic/mpssd/mpssd.c mpsslog("Could not open %s %s\n", path, strerror(errno)); mpsslog 927 samples/mic/mpssd/mpssd.c mpsslog("Could not add %d %s\n", dd->type, strerror(errno)); mpsslog 934 samples/mic/mpssd/mpssd.c mpsslog("Added VIRTIO_ID_NET for %s\n", mic->name); mpsslog 938 samples/mic/mpssd/mpssd.c mpsslog("Added VIRTIO_ID_CONSOLE for %s\n", mic->name); mpsslog 942 samples/mic/mpssd/mpssd.c mpsslog("Added VIRTIO_ID_BLOCK for %s\n", mic->name); mpsslog 975 samples/mic/mpssd/mpssd.c mpsslog("%s %d can't allocate memory\n", mic->name, mic->id); mpsslog 989 samples/mic/mpssd/mpssd.c mpsslog("%s: can't seek: %s\n", mpsslog 1011 samples/mic/mpssd/mpssd.c mpsslog("%s: can't open: %s\n", mic->name, mpsslog 1022 samples/mic/mpssd/mpssd.c mpsslog("%s: can't map: %s %s\n", mpsslog 1049 samples/mic/mpssd/mpssd.c mpsslog("%s: blk_config is not 8 byte aligned.\n", mpsslog 1057 samples/mic/mpssd/mpssd.c mpsslog("%s init_vr failed %s\n", mpsslog 1075 samples/mic/mpssd/mpssd.c mpsslog("%s munmap errno %d\n", mic->name, errno); mpsslog 1083 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: length is not sizeof(virtio_blk_outhd)\n", mpsslog 1088 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: alone\n", mpsslog 1093 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: not read\n", mpsslog 1131 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: length is not sizeof(status)\n", mpsslog 1187 samples/mic/mpssd/mpssd.c mpsslog("%s: can't alloc iovec: %s\n", mpsslog 1200 samples/mic/mpssd/mpssd.c mpsslog("%s %d: poll failed: %s\n", mpsslog 1208 samples/mic/mpssd/mpssd.c mpsslog("%s %d: block_poll.revents=0x%x\n", mpsslog 1225 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: avail_idx=%d ", mpsslog 1228 samples/mic/mpssd/mpssd.c mpsslog("vring.vr.num=%d desc=%p\n", mpsslog 1236 samples/mic/mpssd/mpssd.c mpsslog("%s() %d %s: ret=%d %s\n", mpsslog 1271 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: type %x ", mpsslog 1274 samples/mic/mpssd/mpssd.c mpsslog("is not supported\n"); mpsslog 1293 samples/mic/mpssd/mpssd.c mpsslog("%s() %d: write status=%d on desc=%p\n", mpsslog 1320 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d state %s\n", mpsslog 1347 samples/mic/mpssd/mpssd.c mpsslog("%s: BUG invalid status %s\n", mic->name, shutdown_status); mpsslog 1361 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d state %s\n", mpsslog 1377 samples/mic/mpssd/mpssd.c mpsslog("%s: BUG invalid state %s\n", mic->name, state); mpsslog 1396 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d shutdown_status %s\n", mpsslog 1415 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d timing out waiting for shutdown_status %s\n", mpsslog 1430 samples/mic/mpssd/mpssd.c mpsslog("%s: opening file %s failed %s\n", mpsslog 1445 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d poll failed %s\n", mpsslog 1452 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d Failed to seek to 0: %s\n", mpsslog 1459 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d Failed to read sysfs entry: %s\n", mpsslog 1475 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d open state fd failed %s\n", mpsslog 1483 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d block_till_state_change error %s\n", mpsslog 1495 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d kill pid %d ret %d\n", mpsslog 1501 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d waitpid ret %d pid %d\n", mpsslog 1537 samples/mic/mpssd/mpssd.c mpsslog("%s: Command line: \"%s\"\n", mic->name, buffer); mpsslog 1539 samples/mic/mpssd/mpssd.c mpsslog("%s: IPADDR: \"%s\"\n", mic->name, buffer); mpsslog 1552 samples/mic/mpssd/mpssd.c mpsslog("%s: Opening System.map failed: %d\n", mpsslog 1558 samples/mic/mpssd/mpssd.c mpsslog("%s: Reading System.map size failed: %d\n", mpsslog 1565 samples/mic/mpssd/mpssd.c mpsslog("%s: mmap of System.map failed: %d\n", mpsslog 1572 samples/mic/mpssd/mpssd.c mpsslog("%s: __log_buf not found: %d\n", mic->name, errno); mpsslog 1579 samples/mic/mpssd/mpssd.c mpsslog("%s: log_buf_addr: %s\n", mic->name, log_buf); mpsslog 1582 samples/mic/mpssd/mpssd.c mpsslog("%s: log_buf_len not found: %d\n", mic->name, errno); mpsslog 1589 samples/mic/mpssd/mpssd.c mpsslog("%s: log_buf_len: %s\n", mic->name, log_buf); mpsslog 1639 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d open state fd failed %s\n", mpsslog 1648 samples/mic/mpssd/mpssd.c mpsslog("%s restarting mic %d\n", mpsslog 1655 samples/mic/mpssd/mpssd.c mpsslog("%s: %s %d block_till_state_change error %s\n", mpsslog 1673 samples/mic/mpssd/mpssd.c mpsslog("%s virtcons pthread_create failed %s\n", mpsslog 1678 samples/mic/mpssd/mpssd.c mpsslog("%s virtnet pthread_create failed %s\n", mpsslog 1683 samples/mic/mpssd/mpssd.c mpsslog("%s virtblk pthread_create failed %s\n", mpsslog 1688 samples/mic/mpssd/mpssd.c mpsslog("%s sigaction SIGUSR1 failed %s\n", mpsslog 1693 samples/mic/mpssd/mpssd.c mpsslog("fork failed MIC name %s id %d errno %d\n", mpsslog 1700 samples/mic/mpssd/mpssd.c mpsslog("%s mic_config pthread_create failed %s\n", mpsslog 1717 samples/mic/mpssd/mpssd.c mpsslog("%s init_mic pthread_create failed %s\n", mpsslog 1746 samples/mic/mpssd/mpssd.c mpsslog("MIC name %s id %d\n", mic->name, mpsslog 1803 samples/mic/mpssd/mpssd.c mpsslog("MIC Daemon start\n"); mpsslog 1807 samples/mic/mpssd/mpssd.c mpsslog("MIC module not loaded\n"); mpsslog 1810 samples/mic/mpssd/mpssd.c mpsslog("MIC found %d devices\n", cnt); mpsslog 86 samples/mic/mpssd/mpssd.h void mpsslog(char *format, ...); mpsslog 31 samples/mic/mpssd/sysfs.c mpsslog("Failed to open sysfs entry '%s': %s\n", mpsslog 38 samples/mic/mpssd/sysfs.c mpsslog("Failed to read sysfs entry '%s': %s\n", mpsslog 74 samples/mic/mpssd/sysfs.c mpsslog("Failed to open sysfs entry '%s': %s\n", mpsslog 82 samples/mic/mpssd/sysfs.c mpsslog("Failed to write new sysfs entry '%s': %s\n",