亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? e2fs.h

?? Redboot 源碼
?? H
字號:
//==========================================================================
//
//      e2fs.h
//
//      Second extended filesystem defines.
//
//==========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//==========================================================================
//#####DESCRIPTIONBEGIN####
//
// Author(s):    msalter
// Contributors: msalter
// Date:         2001-06-25
// Purpose:      
// Description:  
//              
// This code is part of RedBoot (tm).
//
//####DESCRIPTIONEND####
//
//==========================================================================

#ifndef CYGONCE_REDBOOT_E2FS_H
#define CYGONCE_REDBOOT_E2FS_H

//
// Structure of the super block
//
struct e2fs_super_block {
    cyg_uint32  inodes_count;
    cyg_uint32  blocks_count;
    cyg_uint32  r_blocks_count;
    cyg_uint32  free_blocks_count;
    cyg_uint32  free_inodes_count;
    cyg_uint32  first_data_block;
    cyg_uint32  log_block_size;
    cyg_int32   log_frag_size;
    cyg_uint32  blocks_per_group;
    cyg_uint32  frags_per_group;
    cyg_uint32  inodes_per_group;
    cyg_uint32  mtime;
    cyg_uint32  wtime;
    cyg_uint16  mnt_count;
    cyg_int16   max_mnt_count;
    cyg_uint16  magic;
    cyg_uint16  state;
    cyg_uint16  errors;
    cyg_uint16  minor_rev_level;
    cyg_uint32  lastcheck;
    cyg_uint32  checkinterval;
    cyg_uint32  creator_os;
    cyg_uint32  rev_level;
    cyg_uint16  def_resuid;
    cyg_uint16  def_resgid;
};

#define E2FS_PRE_02B_MAGIC	0xEF51
#define E2FS_SUPER_MAGIC	0xEF53

#define E2FS_PTRS_PER_BLOCK(e)   ((e)->blocksize / sizeof(cyg_uint32))

#define E2FS_BLOCK_SIZE(s)	  (E2FS_MIN_BLOCK_SIZE << SWAB_LE32((s)->log_block_size))
#define	E2FS_ADDR_PER_BLOCK(s)	  (E2FS_BLOCK_SIZE(s) / sizeof(unsigned int))
#define E2FS_BLOCK_SIZE_BITS(s)	  (SWAB_LE32((s)->log_block_size) + 10)

#define	E2FS_NR_DIR_BLOCKS	12

#define	E2FS_IND_BLOCK		E2FS_NR_DIR_BLOCKS
#define	E2FS_DIND_BLOCK		(E2FS_IND_BLOCK + 1)
#define	E2FS_TIND_BLOCK		(E2FS_DIND_BLOCK + 1)

#define	E2FS_N_BLOCKS		(E2FS_TIND_BLOCK + 1)


// Structure of an inode on the disk
//
typedef struct e2fs_inode {
    cyg_uint16   mode;
    cyg_uint16   uid;
    cyg_uint32   size;
    cyg_uint32   atime;
    cyg_uint32   ctime;
    cyg_uint32   mtime;
    cyg_uint32   dtime;
    cyg_uint16   gid;
    cyg_uint16   links_count;
    cyg_uint32   blocks;
    cyg_uint32   flags;
    cyg_uint32   reserved1;
    cyg_uint32   block[E2FS_N_BLOCKS];
    cyg_uint32   version;
    cyg_uint32   file_acl;
    cyg_uint32   dir_acl;
    cyg_uint32   faddr;
    cyg_uint8    frag;
    cyg_uint8    fsize;
    cyg_uint16   pad1;
    cyg_uint32   reserved2[2];
} e2fs_inode_t;


#define	E2FS_INODES_PER_BLOCK(e)  ((e)->blocksize / sizeof (struct e2fs_inode))

#define E2FS_MIN_BLOCK_SIZE	  1024
#define	E2FS_MAX_BLOCK_SIZE	  4096

// Special inode numbers
//
#define	E2FS_BAD_INO		 1
#define E2FS_ROOT_INO		 2

typedef struct e2fs_dir_entry {
    cyg_uint32 inode;
    cyg_uint16 reclen;
    cyg_uint8  namelen;
    cyg_uint8  filetype;
    char       name[2];
} e2fs_dir_entry_t;

#define E2FS_FTYPE_UNKNOWN  0
#define E2FS_FTYPE_REG_FILE 1
#define E2FS_FTYPE_DIR      2
#define E2FS_FTYPE_CHRDEV   3
#define E2FS_FTYPE_BLKDEV   4
#define E2FS_FTYPE_FIFO     5
#define E2FS_FTYPE_SOCK     6
#define E2FS_FTYPE_SYMLINK  7

typedef struct e2fs_group
{
    cyg_uint32 block_bitmap;	   // blocks bitmap block
    cyg_uint32 inode_bitmap;	   // inodes bitmap block
    cyg_uint32 inode_table;	   // inodes table block
    cyg_uint16 free_blocks_count;
    cyg_uint16 free_inodes_count;
    cyg_uint16 used_dirs_count;
    cyg_uint16 pad;
    cyg_uint32 reserved[3];
} e2fs_group_t;

#define E2FS_BLOCKS_PER_GROUP(s)  (SWAB_LE32((s)->blocks_per_group))
#define E2FS_INODES_PER_GROUP(s)  (SWAB_LE32((s)->inodes_per_group))

#define	E2FS_GDESC_PER_BLOCK(e)	  ((e)->blocksize / sizeof (struct e2fs_e2fs_group_desc))
#define E2FS_GDESC_PER_SECTOR     (SECTOR_SIZE/sizeof(e2fs_group_t))
#define E2FS_GDESC_CACHE_SIZE     (E2FS_GDESC_PER_SECTOR * 1)
#define E2FS_GDESC_PER_SECTOR     (SECTOR_SIZE/sizeof(e2fs_group_t))

typedef struct e2fs_desc {
    partition_t  *part;     		// partition holding this filesystem
    cyg_uint32   blocksize;		// fs blocksize
    cyg_uint32   ngroups;		// number of groups in fs
    cyg_uint32   blocks_per_group;
    cyg_uint32   inodes_per_group;
    cyg_uint32   gdesc_block;           // block nr of group descriptors
    cyg_int32    gdesc_first;           // which gdesc is first in cache
    e2fs_group_t gdesc_cache[E2FS_GDESC_CACHE_SIZE];
    cyg_uint32   nr_ind_blocks;
    cyg_uint32   nr_dind_blocks;
    cyg_uint32   nr_tind_blocks;
} e2fs_desc_t;

#define E2FS_BLOCK_TO_SECTOR(e,b)  ((b) * ((e)->blocksize / SECTOR_SIZE))

extern fs_funs_t redboot_e2fs_funs;

#endif  // CYGONCE_REDBOOT_E2FS_H

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一二三区视频在线观看| 亚洲午夜电影在线观看| 亚洲区小说区图片区qvod| 婷婷久久综合九色综合伊人色| 国内精品国产成人| 欧美色综合网站| 国产精品免费视频一区| 麻豆91小视频| 欧美日韩欧美一区二区| 国产精品黄色在线观看| 国产麻豆日韩欧美久久| 最新热久久免费视频| 免费视频一区二区| 一本大道久久a久久精二百 | 国产欧美精品区一区二区三区| 亚洲国产精品一区二区久久恐怖片 | 国产精品每日更新| 捆绑变态av一区二区三区| 欧美午夜精品理论片a级按摩| 中文字幕欧美三区| 国产成人午夜精品5599| 日韩久久久久久| 麻豆极品一区二区三区| 欧美一区二区三区系列电影| 午夜亚洲福利老司机| 欧洲视频一区二区| 亚洲综合视频网| 欧美性猛交xxxx乱大交退制版| 亚洲欧美另类久久久精品| 91农村精品一区二区在线| 综合久久综合久久| 91在线观看成人| 亚洲欧美电影一区二区| 在线观看不卡一区| 亚洲小说欧美激情另类| 欧美日韩免费一区二区三区| 午夜电影久久久| 欧美一区二区日韩| 韩国精品一区二区| 国产日产欧美精品一区二区三区| 国产成人夜色高潮福利影视| 国产精品久久毛片| 91福利视频在线| 视频一区二区国产| 精品国产91久久久久久久妲己 | 亚洲妇熟xx妇色黄| 538在线一区二区精品国产| 日本不卡中文字幕| 久久这里都是精品| 成人短视频下载| 亚洲综合一区在线| 日韩一区二区三区av| 国产精品系列在线播放| 中文字幕中文在线不卡住| 色成年激情久久综合| 丝瓜av网站精品一区二区| 精品盗摄一区二区三区| 成人激情校园春色| 午夜精彩视频在线观看不卡| 欧美成人video| 99re亚洲国产精品| 日韩在线a电影| 国产精品视频观看| 欧美人与禽zozo性伦| 国产一区二区女| 亚洲精品国产高清久久伦理二区| 另类小说一区二区三区| 理论片日本一区| 国产日韩欧美a| 色哟哟精品一区| 九九视频精品免费| 亚洲女女做受ⅹxx高潮| 日韩美女在线视频| 99re成人精品视频| 免费高清在线一区| 一色桃子久久精品亚洲| 日韩精品影音先锋| 一本在线高清不卡dvd| 蜜臀av国产精品久久久久| 中文字幕一区二区在线播放| 91麻豆精品国产91久久久使用方法| 成人午夜免费视频| 六月婷婷色综合| 亚洲成人av一区二区三区| 国产精品系列在线| 午夜a成v人精品| 国产一区二区三区香蕉| 亚洲精品中文在线观看| 精品国产免费人成在线观看| 欧美色欧美亚洲另类二区| 国产成人精品免费网站| 热久久免费视频| 亚洲一级二级三级在线免费观看| 国产欧美日韩在线观看| 欧美一区二区三区在线观看| 91高清视频免费看| jlzzjlzz欧美大全| 国产精品一线二线三线| 美女视频一区二区三区| 偷拍一区二区三区四区| 亚洲午夜久久久久久久久电影网 | 国产成人午夜电影网| 蜜芽一区二区三区| 日韩不卡手机在线v区| 亚洲午夜成aⅴ人片| 成人欧美一区二区三区黑人麻豆 | 欧美综合天天夜夜久久| 99久久99久久精品国产片果冻| 国产高清不卡二三区| 韩国av一区二区| 黄色日韩网站视频| 黄色成人免费在线| 极品少妇xxxx精品少妇偷拍| 老司机精品视频导航| 麻豆精品一区二区av白丝在线| 天天综合天天综合色| 亚洲成人av在线电影| 三级久久三级久久| 日本中文一区二区三区| 另类综合日韩欧美亚洲| 韩日av一区二区| 国产精品综合二区| 国产成人小视频| 99国产精品99久久久久久| 91视频www| 欧美日韩国产bt| 欧美一级片在线看| 久久午夜电影网| 欧美激情在线观看视频免费| 中文字幕在线一区二区三区| 亚洲理论在线观看| 日韩国产精品91| 黄网站免费久久| 99精品欧美一区二区三区小说 | 欧美视频自拍偷拍| 555www色欧美视频| 久久精品亚洲精品国产欧美kt∨| 日本一区二区三区国色天香| 亚洲欧美一区二区三区国产精品| 亚洲在线中文字幕| 精品在线免费视频| 成人av在线一区二区| 欧美在线观看一二区| 91精品免费观看| 中日韩免费视频中文字幕| 日本在线不卡一区| 精品中文av资源站在线观看| 波多野结衣中文字幕一区 | 精品国精品自拍自在线| 国产欧美一区二区精品性色| 亚洲激情男女视频| 极品瑜伽女神91| 91九色最新地址| 精品久久久久久无| 亚洲乱码国产乱码精品精可以看| 免费成人在线播放| 波多野结衣亚洲| 日韩一区二区不卡| 中文字幕一区不卡| 免费成人在线观看| 在线看不卡av| 国产欧美日本一区二区三区| 无码av免费一区二区三区试看| 国产99精品国产| 这里是久久伊人| 亚洲欧洲美洲综合色网| 久久99精品国产麻豆婷婷 | 国产成人av电影在线播放| 精品视频1区2区3区| 国产精品嫩草影院com| 美女免费视频一区二区| 欧美性大战久久久久久久蜜臀| 久久久99精品久久| 六月丁香婷婷久久| 欧美丰满嫩嫩电影| 亚洲精品乱码久久久久久久久| 国产成人欧美日韩在线电影| 91精品国产综合久久久久| 一区二区三区高清| fc2成人免费人成在线观看播放| 欧美成人vps| 免费精品视频在线| 欧美精品xxxxbbbb| 亚洲人成网站精品片在线观看| 粉嫩aⅴ一区二区三区四区| 欧美变态tickling挠脚心| 视频在线观看一区二区三区| 欧美性xxxxxxxx| 一区二区欧美在线观看| 一本到三区不卡视频| 中文字幕一区在线| av毛片久久久久**hd| 中文字幕国产一区| 成人综合在线观看| 日本一区二区三区视频视频| 国产a视频精品免费观看| 久久精品视频免费| 国产69精品一区二区亚洲孕妇| 久久久99久久| 成人精品一区二区三区中文字幕|