Lines Matching refs:phdr
103 struct putter_hdr *phdr; in readshovel() local
113 phdr = (void *)buf; in readshovel()
119 n = rump_sys_read(puffsfd, buf, sizeof(*phdr)); in readshovel()
125 assert(phdr->pth_framelen < BUFSIZE); in readshovel()
126 n = rump_sys_read(puffsfd, buf+sizeof(*phdr), in readshovel()
127 phdr->pth_framelen - sizeof(*phdr)); in readshovel()
142 n = phdr->pth_framelen; in readshovel()
158 struct putter_hdr *phdr; in writeshovel() local
170 phdr = (struct putter_hdr *)buf; in writeshovel()
192 toread = phdr->pth_framelen - off; in writeshovel()
204 n = rump_sys_write(puffsfd, buf, phdr->pth_framelen); in writeshovel()
205 if ((size_t)n != phdr->pth_framelen) { in writeshovel()