public Statvfs(jnr.ffi.Runtime runtime) { super(runtime); if (Platform.IS_WINDOWS) { f_bsize = new u_int64_t(); f_frsize = new u_int64_t(); f_blocks = new fsblkcnt64_t(); f_bfree = new fsblkcnt64_t(); f_ffree = new fsfilcnt64_t(); f_favail = new fsfilcnt64_t(); f_fsid = new u_int64_t(); f_flag = new u_int64_t(); f_namemax = new u_int64_t(); f_unused = null; __f_spare = null;
protected FuseFileInfo(jnr.ffi.Runtime runtime) { super(runtime); if(!Platform.IS_WINDOWS) { flags = new Signed32(); fh_old = new UnsignedLong(); direct_io = new Padding(NativeType.UCHAR, 1); keep_cache = new Padding(NativeType.UCHAR, 1); flush = new Padding(NativeType.UCHAR, 1); nonseekable = new Padding(NativeType.UCHAR, 1); flock_release = new Padding(NativeType.UCHAR, 1); padding = new Padding(NativeType.UCHAR, 3); fh = new u_int64_t(); lock_owner = new u_int64_t(); } else { flags = new Signed32(); fh_old = new Unsigned32(); new Signed32(); // writepage direct_io = new Padding(NativeType.UCHAR, 1); keep_cache = new Padding(NativeType.UCHAR, 1); flush = new Padding(NativeType.UCHAR, 1); nonseekable = new Padding(NativeType.UCHAR, 1); flock_release = new Padding(NativeType.UCHAR, 0); padding = new Padding(NativeType.UCHAR, 0); fh = new u_int64_t(); lock_owner = new u_int64_t(); } }
protected FuseFileInfo(jnr.ffi.Runtime runtime) { super(runtime); if(!Platform.IS_WINDOWS) { flags = new Signed32(); fh_old = new UnsignedLong(); direct_io = new Padding(NativeType.UCHAR, 1); keep_cache = new Padding(NativeType.UCHAR, 1); flush = new Padding(NativeType.UCHAR, 1); nonseekable = new Padding(NativeType.UCHAR, 1); flock_release = new Padding(NativeType.UCHAR, 1); padding = new Padding(NativeType.UCHAR, 3); fh = new u_int64_t(); lock_owner = new u_int64_t(); } else { flags = new Signed32(); fh_old = new Unsigned32(); new Signed32(); // writepage direct_io = new Padding(NativeType.UCHAR, 1); keep_cache = new Padding(NativeType.UCHAR, 1); flush = new Padding(NativeType.UCHAR, 1); nonseekable = new Padding(NativeType.UCHAR, 1); flock_release = new Padding(NativeType.UCHAR, 0); padding = new Padding(NativeType.UCHAR, 0); fh = new u_int64_t(); lock_owner = new u_int64_t(); } }
public Statvfs(jnr.ffi.Runtime runtime) { super(runtime); if (Platform.IS_WINDOWS) { f_bsize = new u_int64_t(); f_frsize = new u_int64_t(); f_blocks = new fsblkcnt64_t(); f_bfree = new fsblkcnt64_t(); f_ffree = new fsfilcnt64_t(); f_favail = new fsfilcnt64_t(); f_fsid = new u_int64_t(); f_flag = new u_int64_t(); f_namemax = new u_int64_t(); f_unused = null; __f_spare = null;