Searched refs:sb (Results 26 - 50 of 339) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/fat/
H A Dmisc.c74 void lock_fat(struct super_block *sb) argument
76 down(&(MSDOS_SB(sb)->fat_lock));
79 void unlock_fat(struct super_block *sb) argument
81 up(&(MSDOS_SB(sb)->fat_lock));
85 void fat_clusters_flush(struct super_block *sb) argument
90 bh = fat_bread(sb, MSDOS_SB(sb)->fsinfo_sector);
102 MSDOS_SB(sb)->fsinfo_sector);
105 fsinfo->free_clusters = CF_LE_L(MSDOS_SB(sb)->free_clusters);
106 fat_mark_buffer_dirty(sb, b
116 struct super_block *sb = inode->i_sb; local
193 struct super_block *sb = inode->i_sb; local
315 struct super_block *sb = dir->i_sb; local
397 raw_scan_sector(struct super_block *sb,int sector,const char *name, int *number,int *ino,struct buffer_head **res_bh, struct msdos_dir_entry **res_de) argument
445 raw_scan_root(struct super_block *sb,const char *name,int *number,int *ino, struct buffer_head **res_bh,struct msdos_dir_entry **res_de) argument
466 raw_scan_nonroot(struct super_block *sb,int start,const char *name, int *number,int *ino,struct buffer_head **res_bh,struct msdos_dir_entry **res_de) argument
502 raw_scan(struct super_block *sb, int start, const char *name, int *number, int *ino, struct buffer_head **res_bh, struct msdos_dir_entry **res_de) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/fat.orig/
H A Dmisc.c74 void lock_fat(struct super_block *sb) argument
76 down(&(MSDOS_SB(sb)->fat_lock));
79 void unlock_fat(struct super_block *sb) argument
81 up(&(MSDOS_SB(sb)->fat_lock));
85 void fat_clusters_flush(struct super_block *sb) argument
90 bh = fat_bread(sb, MSDOS_SB(sb)->fsinfo_sector);
102 MSDOS_SB(sb)->fsinfo_sector);
105 fsinfo->free_clusters = CF_LE_L(MSDOS_SB(sb)->free_clusters);
106 fat_mark_buffer_dirty(sb, b
116 struct super_block *sb = inode->i_sb; local
193 struct super_block *sb = inode->i_sb; local
315 struct super_block *sb = dir->i_sb; local
397 raw_scan_sector(struct super_block *sb,int sector,const char *name, int *number,int *ino,struct buffer_head **res_bh, struct msdos_dir_entry **res_de) argument
445 raw_scan_root(struct super_block *sb,const char *name,int *number,int *ino, struct buffer_head **res_bh,struct msdos_dir_entry **res_de) argument
466 raw_scan_nonroot(struct super_block *sb,int start,const char *name, int *number,int *ino,struct buffer_head **res_bh,struct msdos_dir_entry **res_de) argument
502 raw_scan(struct super_block *sb, int start, const char *name, int *number, int *ino, struct buffer_head **res_bh, struct msdos_dir_entry **res_de) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/
H A Dballoc.c89 static int read_block_bitmap(struct super_block * sb, argument
97 loc.partitionReferenceNum = UDF_SB_PARTITION(sb);
99 bh = udf_tread(sb, udf_get_lb_pblock(sb, loc, block));
108 static int __load_block_bitmap(struct super_block * sb, argument
123 retval = read_block_bitmap(sb, bitmap, block_group, block_group);
130 static inline int load_block_bitmap(struct super_block * sb, argument
135 slot = __load_block_bitmap(sb, bitmap, block_group);
146 static void udf_bitmap_free_blocks(struct super_block * sb, argument
158 lock_super(sb);
221 udf_bitmap_prealloc_blocks(struct super_block * sb, struct inode * inode, struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block, uint32_t block_count) argument
285 udf_bitmap_new_block(struct super_block * sb, struct inode * inode, struct udf_bitmap *bitmap, uint16_t partition, uint32_t goal, int *err) argument
425 udf_table_free_blocks(struct super_block * sb, struct inode * inode, struct inode * table, lb_addr bloc, uint32_t offset, uint32_t count) argument
667 udf_table_prealloc_blocks(struct super_block * sb, struct inode * inode, struct inode *table, uint16_t partition, uint32_t first_block, uint32_t block_count) argument
737 udf_table_new_block(struct super_block * sb, struct inode * inode, struct inode *table, uint16_t partition, uint32_t goal, int *err) argument
849 udf_free_blocks(struct super_block * sb, struct inode * inode, lb_addr bloc, uint32_t offset, uint32_t count) argument
883 udf_prealloc_blocks(struct super_block * sb, struct inode * inode, uint16_t partition, uint32_t first_block, uint32_t block_count) argument
915 udf_new_block(struct super_block * sb, struct inode * inode, uint16_t partition, uint32_t goal, int *err) argument
[all...]
H A Dpartition.c35 inline uint32_t udf_get_pblock(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
37 if (partition >= UDF_SB_NUMPARTS(sb))
43 if (UDF_SB_PARTFUNC(sb, partition))
44 return UDF_SB_PARTFUNC(sb, partition)(sb, block, partition, offset);
46 return UDF_SB_PARTROOT(sb, partition) + block + offset;
49 uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
56 index = (sb->s_blocksize - UDF_SB_TYPEVIRT(sb,partition).s_start_offset) / sizeof(uint32_t);
58 if (block > UDF_SB_TYPEVIRT(sb,partitio
99 udf_get_pblock_virt20(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
104 udf_get_pblock_spar15(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
137 udf_relocate_blocks(struct super_block *sb, long old_block, long *new_block) argument
[all...]
H A Dialloc.c37 struct super_block * sb = inode->i_sb; local
50 lock_super(sb);
56 if (UDF_SB_LVIDBH(sb))
59 UDF_SB_LVIDIU(sb)->numDirs =
60 cpu_to_le32(le32_to_cpu(UDF_SB_LVIDIU(sb)->numDirs) - 1);
62 UDF_SB_LVIDIU(sb)->numFiles =
63 cpu_to_le32(le32_to_cpu(UDF_SB_LVIDIU(sb)->numFiles) - 1);
65 mark_buffer_dirty(UDF_SB_LVIDBH(sb));
67 unlock_super(sb);
69 udf_free_blocks(sb, NUL
74 struct super_block *sb; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/
H A Djfs_umount.c50 int jfs_umount(struct super_block *sb) argument
52 struct jfs_sb_info *sbi = JFS_SBI(sb);
60 jFYI(1, ("\n UnMount JFS: sb:0x%p\n", sb));
115 fsync_inode_data_buffers(sb->s_bdev->bd_inode);
126 rc = updateSuper(sb, FM_CLEAN);
133 rc = lmLogClose(sb, log);
140 int jfs_umount_rw(struct super_block *sb) argument
142 struct jfs_sb_info *sbi = JFS_SBI(sb);
160 fsync_inode_data_buffers(sb
[all...]
H A Dsuper.c79 static int jfs_statfs(struct super_block *sb, struct statfs *buf) argument
81 struct jfs_sb_info *sbi = JFS_SBI(sb);
111 static void jfs_put_super(struct super_block *sb) argument
113 struct jfs_sb_info *sbi = JFS_SBI(sb);
117 rc = jfs_umount(sb);
127 static int parse_options(char *options, struct super_block *sb, s64 *newLVSize) argument
132 struct jfs_sb_info *sbi = JFS_SBI(sb);
155 *newLVSize = sb->s_bdev->bd_inode->i_size >>
156 sb->s_blocksize_bits;
190 int jfs_remount(struct super_block *sb, in argument
217 jfs_read_super(struct super_block *sb, void *data, int silent) argument
318 jfs_write_super_lockfs(struct super_block *sb) argument
329 jfs_unlockfs(struct super_block *sb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/befs/
H A Dbefs_fs.h90 struct buffer_head *befs_bread_iaddr(struct super_block *sb,
93 struct buffer_head *befs_bread(struct super_block *sb, befs_blocknr_t block);
98 struct buffer_head *befs_read_datastream(struct super_block *sb,
102 int befs_fblock2brun(struct super_block *sb, befs_data_stream * data,
105 size_t befs_read_lsymlink(struct super_block *sb, befs_data_stream * data,
108 befs_blocknr_t befs_count_blocks(struct super_block *sb, befs_data_stream * ds);
115 void befs_error(const struct super_block *sb, const char *fmt, ...);
116 void befs_warning(const struct super_block *sb, const char *fmt, ...);
117 void befs_debug(const struct super_block *sb, const char *fmt, ...);
119 void befs_dump_super_block(const struct super_block *sb, befs_super_bloc
164 iaddr2blockno(struct super_block *sb, befs_inode_addr * iaddr) argument
171 blockno2iaddr(struct super_block *sb, befs_blocknr_t blockno) argument
183 befs_iaddrs_per_block(struct super_block *sb) argument
195 befs_brun_size(struct super_block *sb, befs_block_run run) argument
[all...]
H A Dendian.h16 fs64_to_cpu(const struct super_block *sb, u64 n) argument
18 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
25 cpu_to_fs64(const struct super_block *sb, u64 n) argument
27 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
34 fs32_to_cpu(const struct super_block *sb, u32 n) argument
36 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
43 cpu_to_fs32(const struct super_block *sb, u32 n) argument
45 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
52 fs16_to_cpu(const struct super_block *sb, u16 n) argument
54 if (BEFS_SB(sb)
61 cpu_to_fs16(const struct super_block *sb, u16 n) argument
72 fsrun_to_cpu(const struct super_block *sb, befs_block_run n) argument
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) argument
106 fsds_to_cpu(const struct super_block *sb, befs_data_stream n) argument
[all...]
H A Dattribute.c26 list_small_data(struct super_block *sb, befs_inode * inode, filldir_t filldir);
28 befs_small_data *find_small_data(struct super_block *sb, befs_inode * inode,
32 read_small_data(struct super_block *sb, befs_inode * inode,
43 find_small_data(struct super_block *sb, befs_inode * inode, const char *name) argument
64 read_small_data(struct super_block *sb, befs_inode * inode, argument
69 sdata = find_small_data(sb, inode, name);
88 list_small_data(struct super_block *sb, befs_inode * inode) argument
101 list_attr(struct super_block *sb, befs_inode * inode) argument
114 read_attr(struct super_block *sb, befs_inode * inode) argument
H A Dlinuxvfs.c40 static int befs_utf2nls(struct super_block *sb, const char *in, int in_len,
42 static int befs_nls2utf(struct super_block *sb, const char *in, int in_len,
121 struct super_block *sb = inode->i_sb; local
127 befs_debug(sb, "---> befs_get_block() for inode %lu, block %ld",
131 befs_error(sb, "befs_get_block() was asked for a block "
138 befs_error(sb, "befs_get_block() was asked to write to "
143 res = befs_fblock2brun(sb, ds, block, &run);
145 befs_error(sb,
151 disk_off = (ulong) iaddr2blockno(sb, &run);
157 befs_debug(sb, "<
167 struct super_block *sb = dir->i_sb; local
218 struct super_block *sb = inode->i_sb; local
295 struct super_block *sb = inode->i_sb; local
459 struct super_block *sb = dentry->d_sb; local
494 struct super_block *sb = dentry->d_sb; local
534 befs_utf2nls(struct super_block *sb, const char *in, int in_len, char **out, int *out_len) argument
610 befs_nls2utf(struct super_block *sb, const char *in, int in_len, char **out, int *out_len) argument
747 befs_put_super(struct super_block *sb) argument
773 befs_read_super(struct super_block *sb, void *data, int silent) argument
892 befs_remount(struct super_block *sb, int *flags, char *data) argument
900 befs_statfs(struct super_block *sb, struct statfs *buf) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/
H A Dialloc.c44 static struct buffer_head *read_inode_bitmap (struct super_block * sb, argument
50 desc = ext2_get_group_desc(sb, block_group, NULL);
54 bh = sb_bread(sb, le32_to_cpu(desc->bg_inode_bitmap));
56 ext2_error (sb, "read_inode_bitmap",
77 static struct buffer_head *load_inode_bitmap (struct super_block * sb, argument
81 struct ext2_sb_info *sbi = &sb->u.ext2_sb;
85 ext2_panic (sb, "load_inode_bitmap",
101 ext2_panic (sb, "load_inode_bitmap",
124 bh = read_inode_bitmap (sb, block_group);
151 struct super_block * sb local
232 find_group_dir(struct super_block *sb, int parent_group) argument
265 find_group_other(struct super_block *sb, int parent_group) argument
316 struct super_block * sb; local
439 ext2_count_free_inodes(struct super_block * sb) argument
476 ext2_check_inodes_bitmap(struct super_block * sb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext3/
H A Dballoc.c41 struct ext3_group_desc * ext3_get_group_desc(struct super_block * sb, argument
49 if (block_group >= sb->u.ext3_sb.s_groups_count) {
50 ext3_error (sb, "ext3_get_group_desc",
53 block_group, sb->u.ext3_sb.s_groups_count);
58 group_desc = block_group / EXT3_DESC_PER_BLOCK(sb);
59 desc = block_group % EXT3_DESC_PER_BLOCK(sb);
60 if (!sb->u.ext3_sb.s_group_desc[group_desc]) {
61 ext3_error (sb, "ext3_get_group_desc",
69 sb->u.ext3_sb.s_group_desc[group_desc]->b_data;
71 *bh = sb
82 read_block_bitmap(struct super_block * sb, unsigned int block_group, unsigned long bitmap_nr) argument
125 __load_block_bitmap(struct super_block * sb, unsigned int block_group) argument
206 load_block_bitmap(struct super_block * sb, unsigned int block_group) argument
266 struct super_block * sb; local
543 struct super_block * sb; local
825 ext3_count_free_blocks(struct super_block * sb) argument
863 block_in_use(unsigned long block, struct super_block * sb, unsigned char * map) argument
899 ext3_bg_has_super(struct super_block *sb, int group) argument
916 ext3_bg_num_gdb(struct super_block *sb, int group) argument
926 ext3_check_blocks_bitmap(struct super_block * sb) argument
[all...]
H A Dialloc.c50 static int read_inode_bitmap (struct super_block * sb, argument
58 gdp = ext3_get_group_desc (sb, block_group, NULL);
63 bh = sb_bread(sb, le32_to_cpu(gdp->bg_inode_bitmap));
65 ext3_error (sb, "read_inode_bitmap",
76 sb->u.ext3_sb.s_inode_bitmap_number[bitmap_nr] = block_group;
77 sb->u.ext3_sb.s_inode_bitmap[bitmap_nr] = bh;
94 static int load_inode_bitmap (struct super_block * sb, argument
97 struct ext3_sb_info *sbi = EXT3_SB(sb);
103 ext3_panic (sb, "load_inode_bitmap",
115 ext3_panic(sb, "load_inode_bitma
180 struct super_block * sb = inode->i_sb; local
302 struct super_block * sb; local
534 ext3_orphan_get(struct super_block * sb, ino_t ino) argument
587 ext3_count_free_inodes(struct super_block * sb) argument
627 ext3_check_inodes_bitmap(struct super_block * sb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ufs/
H A Ddir.c39 static inline int ufs_match(struct super_block *sb, int len, argument
42 if (len != ufs_get_de_namlen(sb, de))
61 struct super_block * sb; local
65 sb = inode->i_sb;
66 flags = sb->u.ufs_sb.s_flags;
72 offset = filp->f_pos & (sb->s_blocksize - 1);
75 lblk = (filp->f_pos) >> sb->s_blocksize_bits;
77 if (!blk || !(bh = sb_bread(sb, blk))) {
81 filp->f_pos += sb->s_blocksize - offset;
91 for (i = 0; i < sb
184 struct super_block * sb; local
290 struct super_block *sb = dir->i_sb; local
365 struct super_block * sb; local
472 struct super_block * sb; local
525 struct super_block * sb = dir->i_sb; local
559 struct super_block * sb; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/
H A De2label.c48 } sb; variable in typeref:struct:ext2_super_block
65 if (read(fd, (char *) &sb, sizeof(sb)) != sizeof(sb)) {
70 if (sb.s_magic[0] + 256*sb.s_magic[1] != EXT2_SUPER_MAGIC) {
83 strncpy(label, sb.s_volume_name, VOLNAMSZ);
93 memset(sb.s_volume_name, 0, VOLNAMSZ);
94 strncpy(sb.s_volume_name, label, VOLNAMSZ);
102 if (write(fd, (char *) &sb, sizeo
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dlocks.h37 static inline void lock_super(struct super_block * sb) argument
39 down(&sb->s_lock);
42 static inline void unlock_super(struct super_block * sb) argument
44 up(&sb->s_lock);
H A Dqnx4_fs_sb.h22 struct qnx4_super_block *sb; /* our superblock */ member in struct:qnx4_sb_info
H A Dcoda_psdev.h28 static inline struct coda_sb_info *coda_sbp(struct super_block *sb) argument
30 return ((struct coda_sb_info *)((sb)->u.generic_sbp));
35 int venus_rootfid(struct super_block *sb, ViceFid *fidp);
36 int venus_getattr(struct super_block *sb, struct ViceFid *fid,
40 int venus_lookup(struct super_block *sb, struct ViceFid *fid,
43 int venus_store(struct super_block *sb, struct ViceFid *fid, int flags,
45 int venus_release(struct super_block *sb, struct ViceFid *fid, int flags);
46 int venus_close(struct super_block *sb, struct ViceFid *fid, int flags,
48 int venus_open(struct super_block *sb, struct ViceFid *fid,
50 int venus_mkdir(struct super_block *sb, struc
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dlocks.h37 static inline void lock_super(struct super_block * sb) argument
39 down(&sb->s_lock);
42 static inline void unlock_super(struct super_block * sb) argument
44 up(&sb->s_lock);
H A Dqnx4_fs_sb.h22 struct qnx4_super_block *sb; /* our superblock */ member in struct:qnx4_sb_info
H A Dcoda_psdev.h28 static inline struct coda_sb_info *coda_sbp(struct super_block *sb) argument
30 return ((struct coda_sb_info *)((sb)->u.generic_sbp));
35 int venus_rootfid(struct super_block *sb, ViceFid *fidp);
36 int venus_getattr(struct super_block *sb, struct ViceFid *fid,
40 int venus_lookup(struct super_block *sb, struct ViceFid *fid,
43 int venus_store(struct super_block *sb, struct ViceFid *fid, int flags,
45 int venus_release(struct super_block *sb, struct ViceFid *fid, int flags);
46 int venus_close(struct super_block *sb, struct ViceFid *fid, int flags,
48 int venus_open(struct super_block *sb, struct ViceFid *fid,
50 int venus_mkdir(struct super_block *sb, struc
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/
H A Dbitmap.c54 struct super_block * sb = inode->i_sb; local
58 if (!sb) {
62 if (block < sb->u.minix_sb.s_firstdatazone ||
63 block >= sb->u.minix_sb.s_nzones) {
67 zone = block - sb->u.minix_sb.s_firstdatazone + 1;
70 if (zone >= sb->u.minix_sb.s_zmap_blocks) {
74 bh = sb->u.minix_sb.s_zmap[zone];
77 kdevname(sb->s_dev), block);
84 struct super_block * sb = inode->i_sb; local
88 if (!sb) {
114 minix_count_free_blocks(struct super_block *sb) argument
122 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument
146 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument
221 struct super_block * sb; local
272 minix_count_free_inodes(struct super_block *sb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/freevxfs/
H A Dvxfs_kcompat.h13 static inline void map_bh(struct buffer_head *bh, struct super_block *sb, int block) argument
16 bh->b_dev = sb->s_dev;
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/
H A Damigaffs.c36 struct super_block *sb = dir->i_sb; local
42 offset = affs_hash_name(sb, AFFS_TAIL(sb, bh)->name + 1, AFFS_TAIL(sb, bh)->name[0]);
46 dir_bh = affs_bread(sb, dir->i_ino);
53 dir_bh = affs_bread(sb, hash_ino);
56 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain);
58 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino);
59 AFFS_TAIL(sb, bh)->hash_chain = 0;
60 affs_fix_checksum(sb, b
85 struct super_block *sb; local
158 struct super_block *sb = inode->i_sb; local
239 struct super_block *sb = inode->i_sb; local
272 struct super_block *sb; local
342 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) argument
360 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) argument
448 affs_error(struct super_block *sb, const char *function, const char *fmt, ...) argument
465 affs_warning(struct super_block *sb, const char *function, const char *fmt, ...) argument
[all...]

Completed in 198 milliseconds

1234567891011>>