Home
last modified time | relevance | path

Searched refs:ffi (Results 1 – 4 of 4) sorted by relevance

/fs/fuse/
Dbacking.c388 int fuse_flush_initialize(struct fuse_bpf_args *fa, struct fuse_flush_in *ffi, in fuse_flush_initialize() argument
393 *ffi = (struct fuse_flush_in) { in fuse_flush_initialize()
401 .in_args[0].size = sizeof(*ffi), in fuse_flush_initialize()
402 .in_args[0].value = ffi, in fuse_flush_initialize()
548 int fuse_fsync_initialize(struct fuse_bpf_args *fa, struct fuse_fsync_in *ffi, in fuse_fsync_initialize() argument
553 *ffi = (struct fuse_fsync_in) { in fuse_fsync_initialize()
562 .in_args[0].size = sizeof(*ffi), in fuse_fsync_initialize()
563 .in_args[0].value = ffi, in fuse_fsync_initialize()
575 const struct fuse_fsync_in *ffi = fa->in_args[0].value; in fuse_fsync_backing() local
576 int new_datasync = (ffi->fsync_flags & FUSE_FSYNC_FDATASYNC) ? 1 : 0; in fuse_fsync_backing()
[all …]
Dfuse_i.h1469 int fuse_flush_initialize(struct fuse_bpf_args *fa, struct fuse_flush_in *ffi,
1504 int fuse_fsync_initialize(struct fuse_bpf_args *fa, struct fuse_fsync_in *ffi,
1510 int fuse_dir_fsync_initialize(struct fuse_bpf_args *fa, struct fuse_fsync_in *ffi,
1597 struct fuse_fallocate_in *ffi,
/fs/f2fs/
Df2fs.h1869 struct f2fs_fault_info *ffi = &F2FS_OPTION(sbi).fault_info; in time_to_inject() local
1871 if (!ffi->inject_rate) in time_to_inject()
1874 if (!IS_FAULT_SET(ffi, type)) in time_to_inject()
1877 atomic_inc(&ffi->inject_ops); in time_to_inject()
1878 if (atomic_read(&ffi->inject_ops) >= ffi->inject_rate) { in time_to_inject()
1879 atomic_set(&ffi->inject_ops, 0); in time_to_inject()
Dsuper.c68 struct f2fs_fault_info *ffi = &F2FS_OPTION(sbi).fault_info; in f2fs_build_fault_attr() local
71 atomic_set(&ffi->inject_ops, 0); in f2fs_build_fault_attr()
72 ffi->inject_rate = rate; in f2fs_build_fault_attr()
76 ffi->inject_type = type; in f2fs_build_fault_attr()
79 memset(ffi, 0, sizeof(struct f2fs_fault_info)); in f2fs_build_fault_attr()