NVM_INODE_ATTR_GET_SET

来源:互联网 发布:linux禁用网卡 编辑:程序博客网 时间:2024/05/29 18:06

 __le16  i_mode;        /* File mode */ __le16  i_sum;        /* checksum of this inode */   __le16  i_nlink;       /* Links count */ __le16      i_bytes;       /*the bytes in the last block */ __le64  i_blocks;       /* Blocks count */ __le32  i_flags;       /* File flags */ __le32  i_file_acl;       /* File ACL */__le32  i_dir_acl;       /* Directory ACL */ __le64  i_size;        /* Size of data in bytes */ __le32  i_atime;       /* Access time */ __le32  i_mtime;       /* Modification time */ __le32  i_ctime;       /* Creation time */ __le32  i_dtime;       /* Deletion Time */ __le32  i_uid;        /* Owner Uid */ __le32  i_gid;        /* Group Id */ __le32  i_generation;      /* File version (for NFS) */

 __le64  i_pg_addr;       /* file pagetable address */ char pad[48];         /*padding byte*/

public __le16 getI_mode() {return i_mode;}public void setI_mode(__le16 i_mode) {this.i_mode = i_mode;}public __le16 getI_sum() {return i_sum;}public void setI_sum(__le16 i_sum) {this.i_sum = i_sum;}public __le16 getI_nlink() {return i_nlink;}public void setI_nlink(__le16 i_nlink) {this.i_nlink = i_nlink;}public __le16 getI_bytes() {return i_bytes;}public void setI_bytes(__le16 i_bytes) {this.i_bytes = i_bytes;}public __le64 getI_blocks() {return i_blocks;}public void setI_blocks(__le64 i_blocks) {this.i_blocks = i_blocks;}public __le32 getI_flags() {return i_flags;}public void setI_flags(__le32 i_flags) {this.i_flags = i_flags;}public __le32 getI_file_acl() {return i_file_acl;}public void setI_file_acl(__le32 i_file_acl) {this.i_file_acl = i_file_acl;}public __le32 getI_dir_acl() {return i_dir_acl;}public void setI_dir_acl(__le32 i_dir_acl) {this.i_dir_acl = i_dir_acl;}public __le64 getI_size() {return i_size;}public void setI_size(__le64 i_size) {this.i_size = i_size;}public __le32 getI_atime() {return i_atime;}public void setI_atime(__le32 i_atime) {this.i_atime = i_atime;}public __le32 getI_mtime() {return i_mtime;}public void setI_mtime(__le32 i_mtime) {this.i_mtime = i_mtime;}public __le32 getI_ctime() {return i_ctime;}public void setI_ctime(__le32 i_ctime) {this.i_ctime = i_ctime;}public __le32 getI_dtime() {return i_dtime;}public void setI_dtime(__le32 i_dtime) {this.i_dtime = i_dtime;}public __le32 getI_uid() {return i_uid;}public void setI_uid(__le32 i_uid) {this.i_uid = i_uid;}public __le32 getI_gid() {return i_gid;}public void setI_gid(__le32 i_gid) {this.i_gid = i_gid;}public __le32 getI_generation() {return i_generation;}public void setI_generation(__le32 i_generation) {this.i_generation = i_generation;}public __le64 getI_pg_addr() {return i_pg_addr;}public void setI_pg_addr(__le64 i_pg_addr) {this.i_pg_addr = i_pg_addr;}

原创粉丝点击