/asus-wl-520gu-7.0.1.45/src/shared/nvram/ |
H A D | nvram_rw.c | 36 extern int _nvram_init(void *sb); 98 BCMINITFN(nvram_resetgpio_init)(void *sb) argument 104 sbh = (sb_t *)sb; 121 BCMINITFN(nvram_reset)(void *sb) argument 125 sb_t * sbh = (sb_t *)sb; 182 BCMINITFN(nvram_init)(void *sb) argument 197 sbh = (sb_t *)sb; 203 ret = _nvram_init(sb); 214 ret = _nvram_init(sb); 226 BCMINITFN(nvram_append)(void *sb, cha argument 232 nvram_exit(void *sb) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/ |
H A D | namei.c | 64 affs_get_toupper(struct super_block *sb) argument 170 affs_hash_name(struct super_block *sb, const u8 *name, unsigned int len) argument 172 toupper_t toupper = affs_get_toupper(sb); 185 struct super_block *sb = dir->i_sb; local 187 toupper_t toupper = affs_get_toupper(sb); 192 bh = affs_bread(sb, dir->i_ino); 196 key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)]); 202 bh = affs_bread(sb, key); 205 if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper)) 207 key = be32_to_cpu(AFFS_TAIL(sb, b 214 struct super_block *sb = dir->i_sb; local 261 struct super_block *sb = dir->i_sb; local 332 struct super_block *sb = dir->i_sb; local 428 struct super_block *sb = old_dir->i_sb; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/avmb1/ |
H A D | capifs.c | 62 static inline struct capifs_sb_info *SBI(struct super_block *sb) argument 64 return (struct capifs_sb_info *)(sb->u.generic_sbp); 72 static struct inode *capifs_new_inode(struct super_block *sb); 194 static void capifs_put_super(struct super_block *sb) argument 196 struct capifs_sb_info *sbi = SBI(sb); 218 static int capifs_statfs(struct super_block *sb, struct statfs *buf); 378 static int capifs_statfs(struct super_block *sb, struct statfs *buf) argument 391 static struct inode *capifs_new_inode(struct super_block *sb) argument 393 struct inode *inode = new_inode(sb); 407 struct super_block *sb; local 440 struct super_block *sb; local [all...] |
/asus-wl-520gu-7.0.1.45/src/shared/ |
H A D | bcmwifi.c | 52 const char *band, *bw, *sb; local 56 sb = ""; 61 sb = "u"; 64 sb = "l"; 71 sprintf(buf, "%d%s%s%s", channel, band, bw, sb);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jbd/ |
H A D | journal.c | 768 journal_superblock_t *sb = journal->j_superblock; local 771 first = ntohl(sb->s_first); 772 last = ntohl(sb->s_maxlen); 806 journal_superblock_t *sb; local 846 sb = journal->j_superblock; 848 sb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER); 849 sb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2); 851 sb->s_blocksize = htonl(journal->j_blocksize); 852 sb->s_maxlen = htonl(journal->j_maxlen); 853 sb 870 journal_superblock_t *sb = journal->j_superblock; local 905 journal_superblock_t *sb; local 965 journal_superblock_t *sb; local 1001 journal_superblock_t *sb = journal->j_superblock; local 1081 journal_superblock_t *sb; local 1105 journal_superblock_t *sb; local 1133 journal_superblock_t *sb; local 1162 journal_superblock_t *sb; local 1182 journal_convert_superblock_v1(journal_t *journal, journal_superblock_t *sb) argument 1274 journal_superblock_t *sb; local [all...] |
H A D | recovery.c | 225 journal_superblock_t * sb; local 230 sb = journal->j_superblock; 238 if (!sb->s_start) { 240 ntohl(sb->s_sequence)); 241 journal->j_transaction_sequence = ntohl(sb->s_sequence) + 1; 282 journal_superblock_t * sb; local 287 sb = journal->j_superblock; 296 int dropped = info.end_transaction - ntohl(sb->s_sequence); 317 journal_superblock_t * sb; local 334 sb [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/autofs4/ |
H A D | inode.c | 79 static void autofs4_put_super(struct super_block *sb) argument 81 struct autofs_sb_info *sbi = autofs4_sbi(sb); 83 sb->u.generic_sbp = NULL; 93 static int autofs4_statfs(struct super_block *sb, struct statfs *buf); 198 sbi->sb = s; 284 static int autofs4_statfs(struct super_block *sb, struct statfs *buf) argument 292 struct inode *autofs4_get_inode(struct super_block *sb, argument 295 struct inode *inode = new_inode(sb); 302 if (sb->s_root) { 303 inode->i_uid = sb [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ramfs/ |
H A D | inode.c | 43 static int ramfs_statfs(struct super_block *sb, struct statfs *buf) argument 100 struct inode *ramfs_get_inode(struct super_block *sb, int mode, int dev) argument 102 struct inode * inode = new_inode(sb); 298 static struct super_block *ramfs_read_super(struct super_block * sb, void * data, int silent) argument 303 sb->s_blocksize = PAGE_CACHE_SIZE; 304 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; 305 sb->s_magic = RAMFS_MAGIC; 306 sb->s_op = &ramfs_ops; 307 inode = ramfs_get_inode(sb, S_IFDIR | 0755, 0); 316 sb [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hfs/ |
H A D | super.c | 56 * struct super_block *sb: Pointer to the hfs superblock 62 * 'sb' points to a "valid" (struct super_block). 68 static void hfs_write_super(struct super_block *sb) argument 70 struct hfs_mdb *mdb = HFS_SB(sb)->s_mdb; 73 if (!sb || sb->s_magic != HFS_SUPER_MAGIC) { 77 if (!(sb->s_flags & MS_RDONLY)) { 81 sb->s_dirt = 0; 89 * associated with the superblock sb. 91 static void hfs_put_super(struct super_block *sb) argument 116 hfs_statfs(struct super_block *sb, struct statfs *buf) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/ |
H A D | misc.c | 49 udf_tgetblk(struct super_block *sb, int block) argument 51 if (UDF_QUERY_FLAG(sb, UDF_FLAG_VARCONV)) 52 return sb_getblk(sb, udf_fixed_to_variable(block)); 54 return sb_getblk(sb, block); 58 udf_tread(struct super_block *sb, int block) argument 60 if (UDF_QUERY_FLAG(sb, UDF_FLAG_VARCONV)) 61 return sb_bread(sb, udf_fixed_to_variable(block)); 63 return sb_bread(sb, block); 260 udf_read_tagged(struct super_block *sb, uint32_t block, uint32_t location, uint16_t *ident) argument 271 bh = udf_tread(sb, bloc 325 udf_read_ptagged(struct super_block *sb, lb_addr loc, uint32_t offset, uint16_t *ident) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | msdos_fs.h | 237 extern struct buffer_head *fat_bread(struct super_block *sb, int block); 238 extern struct buffer_head *fat_getblk(struct super_block *sb, int block); 239 extern void fat_brelse(struct super_block *sb, struct buffer_head *bh); 240 extern void fat_mark_buffer_dirty(struct super_block *sb, struct buffer_head *bh); 241 extern void fat_set_uptodate(struct super_block *sb, struct buffer_head *bh, 243 extern int fat_is_uptodate(struct super_block *sb, struct buffer_head *bh); 244 extern void fat_ll_rw_block(struct super_block *sb, int opr, int nbreq, 248 extern int fat_access(struct super_block *sb, int nr, int new_value); 286 extern struct inode *fat_iget(struct super_block *sb, int i_pos); 287 extern struct inode *fat_build_inode(struct super_block *sb, [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | msdos_fs.h | 237 extern struct buffer_head *fat_bread(struct super_block *sb, int block); 238 extern struct buffer_head *fat_getblk(struct super_block *sb, int block); 239 extern void fat_brelse(struct super_block *sb, struct buffer_head *bh); 240 extern void fat_mark_buffer_dirty(struct super_block *sb, struct buffer_head *bh); 241 extern void fat_set_uptodate(struct super_block *sb, struct buffer_head *bh, 243 extern int fat_is_uptodate(struct super_block *sb, struct buffer_head *bh); 244 extern void fat_ll_rw_block(struct super_block *sb, int opr, int nbreq, 248 extern int fat_access(struct super_block *sb, int nr, int new_value); 286 extern struct inode *fat_iget(struct super_block *sb, int i_pos); 287 extern struct inode *fat_build_inode(struct super_block *sb, [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/umsdos/ |
H A D | inode.c | 49 void UMSDOS_put_super (struct super_block *sb) argument 52 if (saved_root && pseudo_root && sb->s_dev == ROOT_DEV) { 58 msdos_put_super (sb); 340 int UMSDOS_statfs(struct super_block *sb,struct statfs *buf) argument 343 ret = fat_statfs (sb, buf); 352 struct super_block *UMSDOS_read_super (struct super_block *sb, void *data, argument 360 * Note: this returns res == sb or NULL 362 res = msdos_read_super (sb, data, silent); 371 sb->s_op = &umsdos_sops; 372 MSDOS_SB(sb) 404 check_pseudo_root(struct super_block *sb) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/adfs/ |
H A D | dir.c | 32 struct super_block *sb = inode->i_sb; local 33 struct adfs_dir_ops *ops = sb->u.adfs_sb.s_dir; 41 ret = ops->read(sb, inode->i_ino, inode->i_size, &dir); 83 adfs_dir_update(struct super_block *sb, struct object_info *obj) argument 87 struct adfs_dir_ops *ops = sb->u.adfs_sb.s_dir; 98 ret = ops->read(sb, obj->parent_id, 0, &dir); 140 struct super_block *sb = inode->i_sb; local 141 struct adfs_dir_ops *ops = sb->u.adfs_sb.s_dir; 145 ret = ops->read(sb, inode->i_ino, inode->i_size, &dir); 150 adfs_error(sb, "paren [all...] |
H A D | map.c | 198 adfs_map_free(struct super_block *sb) argument 200 struct adfs_sb_info *asb = &sb->u.adfs_sb; 215 int adfs_map_lookup (struct super_block *sb, int frag_id, int offset) argument 217 struct adfs_sb_info *asb = &sb->u.adfs_sb; 248 adfs_error(sb, "fragment %04X at offset %d not found in map", 253 adfs_error(sb, "fragment %X is invalid (zone = %d, max = %d)",
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/md/ |
H A D | multipath.c | 312 mdp_super_t *sb = mddev->sb; local 315 mark_disk_faulty(sb->disks+multipath->number); 316 mark_disk_nonsync(sb->disks+multipath->number); 317 mark_disk_inactive(sb->disks+multipath->number); 318 sb->active_disks--; 319 sb->working_disks--; 320 sb->failed_disks++; 373 mdp_super_t *sb = mddev->sb; local 427 mdp_super_t *sb = mddev->sb; local 832 mdp_super_t *sb = mddev->sb; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/efs/ |
H A D | inode.c | 52 struct efs_sb_info *sb = SUPER_INFO(inode->i_sb); local 72 block = sb->fs_start + sb->first_block + 73 (sb->group_size * (inode_index / sb->inode_blocks)) + 74 (inode_index % sb->inode_blocks); 174 efs_extent_check(efs_extent *ptr, efs_block_t block, struct efs_sb_info *sb) { argument 188 return(sb->fs_start + start + block - offset); 195 struct efs_sb_info *sb = SUPER_INFO(inode->i_sb); local 208 if ((result = efs_extent_check(&in->extents[last], block, sb))) [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/ |
H A D | itree.c | 26 struct super_block *sb = inode->i_sb; local 27 int ptrs_bits = sb->sv_ind_per_block_bits; 28 unsigned long indirect_blocks = sb->sv_ind_per_block, 29 double_blocks = sb->sv_ind_per_block_2; 54 static inline int block_to_cpu(struct super_block *sb, u32 nr) argument 56 return sb->sv_block_base + fs32_to_cpu(sb, nr); 89 struct super_block *sb = inode->i_sb; local 98 int block = block_to_cpu(sb, p->key); 99 bh = sb_bread(sb, bloc 199 struct super_block *sb = inode->i_sb; local 328 struct super_block *sb = inode->i_sb; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ |
H A D | dquot.c | 73 static inline struct quota_mount_options *sb_dqopt(struct super_block *sb) argument 75 return &sb->s_dquot; 134 static inline char sb_has_quota_enabled(struct super_block *sb, short type) argument 136 return is_enabled(sb_dqopt(sb), type); 333 static void invalidate_dquots(struct super_block *sb, short type) argument 341 if (dquot->dq_sb != sb) 478 static struct dquot *dqget(struct super_block *sb, unsigned int id, short type) argument 480 unsigned int hashent = hashfn(sb->s_dev, id, type); 482 struct quota_mount_options *dqopt = sb_dqopt(sb); 491 if ((dquot = find_dquot(hashent, sb 556 add_dquot_ref(struct super_block *sb, short type) argument 821 set_dqblk(struct super_block *sb, int id, short type, int flags, struct dqblk *dqblk) argument 873 get_quota(struct super_block *sb, int id, short type, struct dqblk *dqblk) argument 909 quota_root_squash(struct super_block *sb, short type, int *addr) argument 1248 quota_off(struct super_block *sb, short type) argument 1291 quota_on(struct super_block *sb, short type, char *path) argument 1361 struct super_block *sb = NULL; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/intermezzo/ |
H A D | inode.c | 111 static void presto_put_super(struct super_block *sb) argument 120 cache = presto_cache_find(sb->s_dev); 135 unlock_super(sb); 138 //fsync_super(sb); 139 lock_super(sb); 142 sops->write_super(sb); 145 sops->put_super(sb);
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/e2fsck/ |
H A D | recovery.c | 224 journal_superblock_t * sb; local 229 sb = journal->j_superblock; 237 if (!sb->s_start) { 239 (int)ntohl(sb->s_sequence)); 240 journal->j_transaction_sequence = ntohl(sb->s_sequence) + 1; 281 journal_superblock_t * sb; local 286 sb = journal->j_superblock; 295 int dropped = info.end_transaction - ntohl(sb->s_sequence); 313 journal_superblock_t * sb; local 330 sb [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/raid/ |
H A D | md_p.h | 166 static inline __u64 md_event(mdp_super_t *sb) { argument 167 __u64 ev = sb->events_hi; 168 return (ev<<32)| sb->events_lo;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/raid/ |
H A D | md_p.h | 166 static inline __u64 md_event(mdp_super_t *sb) { argument 167 __u64 ev = sb->events_hi; 168 return (ev<<32)| sb->events_lo;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/ |
H A D | jfs_filsys.h | 139 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE)) 140 #define PBLK2LBLK(sb,b) ((b) >> (sb->s_blocksize_bits - L2PBSIZE))
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/boot/tools/ |
H A D | build.c | 116 struct stat sb; local 123 if (stat("/", &sb)) { 127 major_root = major(sb.st_dev); 128 minor_root = minor(sb.st_dev); 130 if (stat(argv[4], &sb)) { 134 major_root = major(sb.st_rdev); 135 minor_root = minor(sb.st_rdev); 249 if (fstat (id, &sb)) { 253 sz = sb.st_size;
|