Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/fs/fusefs/mockfs.cc
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Lines | case FUSE_FORGET: | ||||
printf(" nlookup=%" PRIu64, in.body.forget.nlookup); | printf(" nlookup=%" PRIu64, in.body.forget.nlookup); | ||||
break; | break; | ||||
case FUSE_FSYNC: | case FUSE_FSYNC: | ||||
printf(" flags=%#x", in.body.fsync.fsync_flags); | printf(" flags=%#x", in.body.fsync.fsync_flags); | ||||
break; | break; | ||||
case FUSE_FSYNCDIR: | case FUSE_FSYNCDIR: | ||||
printf(" flags=%#x", in.body.fsyncdir.fsync_flags); | printf(" flags=%#x", in.body.fsyncdir.fsync_flags); | ||||
break; | break; | ||||
case FUSE_GETLK: | |||||
printf(" fh=%#" PRIx64 | |||||
" type=%u pid=%u", | |||||
in.body.getlk.fh, | |||||
in.body.getlk.lk.type, | |||||
in.body.getlk.lk.pid); | |||||
if (verbosity >= 2) { | |||||
printf(" range=[%" PRIi64 ":%" PRIi64 "]", | |||||
in.body.getlk.lk.start, | |||||
in.body.getlk.lk.end); | |||||
} | |||||
break; | |||||
case FUSE_INTERRUPT: | case FUSE_INTERRUPT: | ||||
printf(" unique=%" PRIu64, in.body.interrupt.unique); | printf(" unique=%" PRIu64, in.body.interrupt.unique); | ||||
break; | break; | ||||
case FUSE_LINK: | case FUSE_LINK: | ||||
printf(" oldnodeid=%" PRIu64, in.body.link.oldnodeid); | printf(" oldnodeid=%" PRIu64, in.body.link.oldnodeid); | ||||
break; | break; | ||||
case FUSE_LISTXATTR: | case FUSE_LISTXATTR: | ||||
printf(" size=%" PRIu32, in.body.listxattr.size); | printf(" size=%" PRIu32, in.body.listxattr.size); | ||||
▲ Show 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | case FUSE_SETATTR: | ||||
break; | break; | ||||
case FUSE_SETLK: | case FUSE_SETLK: | ||||
printf(" fh=%#" PRIx64 " owner=%" PRIu64 | printf(" fh=%#" PRIx64 " owner=%" PRIu64 | ||||
" type=%u pid=%u", | " type=%u pid=%u", | ||||
in.body.setlk.fh, in.body.setlk.owner, | in.body.setlk.fh, in.body.setlk.owner, | ||||
in.body.setlk.lk.type, | in.body.setlk.lk.type, | ||||
in.body.setlk.lk.pid); | in.body.setlk.lk.pid); | ||||
if (verbosity >= 2) { | if (verbosity >= 2) { | ||||
printf(" range=[%" PRIu64 "-%" PRIu64 "]", | printf(" range=[%" PRIi64 ":%" PRIi64 "]", | ||||
in.body.setlk.lk.start, | in.body.setlk.lk.start, | ||||
in.body.setlk.lk.end); | in.body.setlk.lk.end); | ||||
} | } | ||||
break; | break; | ||||
case FUSE_SETXATTR: | case FUSE_SETXATTR: | ||||
/* | /* | ||||
* In theory neither the xattr name and value need be | * In theory neither the xattr name and value need be | ||||
* ASCII, but in this test suite they always are. | * ASCII, but in this test suite they always are. | ||||
▲ Show 20 Lines • Show All 694 Lines • Show Last 20 Lines |