~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/f2fs.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/f2fs.h (Version linux-6.12-rc7) and /include/uapi/linux/f2fs.h (Version linux-3.10.108)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 
  2                                                   
  3 #ifndef _UAPI_LINUX_F2FS_H                        
  4 #define _UAPI_LINUX_F2FS_H                        
  5 #include <linux/types.h>                          
  6 #include <linux/ioctl.h>                          
  7                                                   
  8 /*                                                
  9  * f2fs-specific ioctl commands                   
 10  */                                               
 11 #define F2FS_IOCTL_MAGIC                0xf5      
 12 #define F2FS_IOC_START_ATOMIC_WRITE     _IO(F2    
 13 #define F2FS_IOC_COMMIT_ATOMIC_WRITE    _IO(F2    
 14 #define F2FS_IOC_START_VOLATILE_WRITE   _IO(F2    
 15 #define F2FS_IOC_RELEASE_VOLATILE_WRITE _IO(F2    
 16 #define F2FS_IOC_ABORT_ATOMIC_WRITE     _IO(F2    
 17 #define F2FS_IOC_GARBAGE_COLLECT        _IOW(F    
 18 #define F2FS_IOC_WRITE_CHECKPOINT       _IO(F2    
 19 #define F2FS_IOC_DEFRAGMENT             _IOWR(    
 20                                                   
 21 #define F2FS_IOC_MOVE_RANGE             _IOWR(    
 22                                                   
 23 #define F2FS_IOC_FLUSH_DEVICE           _IOW(F    
 24                                                   
 25 #define F2FS_IOC_GARBAGE_COLLECT_RANGE  _IOW(F    
 26                                                   
 27 #define F2FS_IOC_GET_FEATURES           _IOR(F    
 28 #define F2FS_IOC_SET_PIN_FILE           _IOW(F    
 29 #define F2FS_IOC_GET_PIN_FILE           _IOR(F    
 30 #define F2FS_IOC_PRECACHE_EXTENTS       _IO(F2    
 31 #define F2FS_IOC_RESIZE_FS              _IOW(F    
 32 #define F2FS_IOC_GET_COMPRESS_BLOCKS    _IOR(F    
 33 #define F2FS_IOC_RELEASE_COMPRESS_BLOCKS          
 34                                         _IOR(F    
 35 #define F2FS_IOC_RESERVE_COMPRESS_BLOCKS          
 36                                         _IOR(F    
 37 #define F2FS_IOC_SEC_TRIM_FILE          _IOW(F    
 38                                                   
 39 #define F2FS_IOC_GET_COMPRESS_OPTION    _IOR(F    
 40                                                   
 41 #define F2FS_IOC_SET_COMPRESS_OPTION    _IOW(F    
 42                                                   
 43 #define F2FS_IOC_DECOMPRESS_FILE        _IO(F2    
 44 #define F2FS_IOC_COMPRESS_FILE          _IO(F2    
 45 #define F2FS_IOC_START_ATOMIC_REPLACE   _IO(F2    
 46                                                   
 47 /*                                                
 48  * should be same as XFS_IOC_GOINGDOWN.           
 49  * Flags for going down operation used by FS_I    
 50  */                                               
 51 #define F2FS_IOC_SHUTDOWN       _IOR('X', 125,    
 52 #define F2FS_GOING_DOWN_FULLSYNC        0x0       
 53 #define F2FS_GOING_DOWN_METASYNC        0x1       
 54 #define F2FS_GOING_DOWN_NOSYNC          0x2       
 55 #define F2FS_GOING_DOWN_METAFLUSH       0x3       
 56 #define F2FS_GOING_DOWN_NEED_FSCK       0x4       
 57                                                   
 58 /*                                                
 59  * Flags used by F2FS_IOC_SEC_TRIM_FILE           
 60  */                                               
 61 #define F2FS_TRIM_FILE_DISCARD          0x1       
 62 #define F2FS_TRIM_FILE_ZEROOUT          0x2       
 63 #define F2FS_TRIM_FILE_MASK             0x3       
 64                                                   
 65 struct f2fs_gc_range {                            
 66         __u32 sync;                               
 67         __u64 start;                              
 68         __u64 len;                                
 69 };                                                
 70                                                   
 71 struct f2fs_defragment {                          
 72         __u64 start;                              
 73         __u64 len;                                
 74 };                                                
 75                                                   
 76 struct f2fs_move_range {                          
 77         __u32 dst_fd;           /* destination    
 78         __u64 pos_in;           /* start posit    
 79         __u64 pos_out;          /* start posit    
 80         __u64 len;              /* size to mov    
 81 };                                                
 82                                                   
 83 struct f2fs_flush_device {                        
 84         __u32 dev_num;          /* device numb    
 85         __u32 segments;         /* # of segmen    
 86 };                                                
 87                                                   
 88 struct f2fs_sectrim_range {                       
 89         __u64 start;                              
 90         __u64 len;                                
 91         __u64 flags;                              
 92 };                                                
 93                                                   
 94 struct f2fs_comp_option {                         
 95         __u8 algorithm;                           
 96         __u8 log_cluster_size;                    
 97 };                                                
 98                                                   
 99 #endif /* _UAPI_LINUX_F2FS_H */                   
100                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php