Lines Matching defs:foh
113 struct fuse_out_header foh;
122 len = sizeof(foh);
127 iov.iov_base = &foh;
152 len = foh.len;
284 struct fuse_out_header *foh;
320 foh = perfused_get_outhdr((perfuse_msg_t *)(void *)pb);
322 unique_out = foh->unique;
328 perfuse_opname(opcode), opcode, foh->error);
331 perfused_hexdump((char *)foh, foh->len);
344 (foh->len - sizeof(*foh) < expected_len) &&
345 (foh->error == 0)) {
348 foh->len - sizeof(*foh), expected_len);
352 (foh->len - sizeof(*foh) > expected_len))
358 if (foh->error <= 0) {
359 foh->error = -foh->error;
361 DWARNX("FUSE resturns positive errno %d", foh->error);
362 foh->error = 0;
365 return foh->error;
393 struct fuse_out_header *foh;
398 len = sizeof(*foh);
401 if (len != sizeof(*foh))
404 foh = (struct fuse_out_header *)hdr;
406 return foh;
440 struct fuse_out_header *foh;
446 len = sizeof(*foh);
449 if (len != sizeof(*foh))
452 foh = (struct fuse_out_header *)hdr;
454 len = foh->len - sizeof(*foh);
455 if (puffs_framebuf_getwindow(pb, sizeof(*foh), &payload, &len) != 0)
457 if (len != foh->len - sizeof(*foh))
481 struct fuse_out_header foh;
489 len = sizeof(foh);
518 if (puffs_framebuf_getdata_atoff(pufbuf, 0, &foh, sizeof(foh)) != 0)
521 len = foh.len;
525 DERRX(EX_SOFTWARE, "%s: foh.len = %zu", __func__, len);
621 struct fuse_out_header *foh;
630 len = sizeof(*foh);
631 PUFFS_FRAMEBUF_GETWINDOW(pb2, 0, (void **)(void *)&foh, &len);
632 unique_out = foh->unique;
641 struct fuse_out_header *foh;
644 len = sizeof(*foh);
645 PUFFS_FRAMEBUF_GETWINDOW(pb, 0, (void **)(void *)&foh, &len);
648 foh->unique, foh->error);
650 perfused_hexdump((char *)(void *)foh, foh->len);