Home
last modified time | relevance | path

Searched refs:super_block (Results 1 – 25 of 272) sorted by relevance

1234567891011

/linux-2.4.37.9/fs/hpfs/
Dhpfs_fn.h61 extern inline time_t local_to_gmt(struct super_block *s, time32_t t) in local_to_gmt()
67 extern inline time32_t gmt_to_local(struct super_block *s, time_t t) in gmt_to_local()
179 int hpfs_chk_sectors(struct super_block *, secno, int, char *);
180 secno hpfs_alloc_sector(struct super_block *, secno, unsigned, int, int);
181 int hpfs_alloc_if_possible_nolock(struct super_block *, secno);
182 int hpfs_alloc_if_possible(struct super_block *, secno);
183 void hpfs_free_sectors(struct super_block *, secno, unsigned);
184 int hpfs_check_free_dnodes(struct super_block *, int);
185 void hpfs_free_dnode(struct super_block *, secno);
186 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head …
[all …]
/linux-2.4.37.9/include/linux/
Dcoda_psdev.h12 struct super_block *sbi_sb;
24 struct super_block *vc_sb;
28 static inline struct coda_sb_info *coda_sbp(struct super_block *sb) in coda_sbp()
35 int venus_rootfid(struct super_block *sb, ViceFid *fidp);
36 int venus_getattr(struct super_block *sb, struct ViceFid *fid,
38 int venus_setattr(struct super_block *, struct ViceFid *,
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,
[all …]
Dfat_cvf.h10 int (*detect_cvf) (struct super_block*sb);
11 int (*mount_cvf) (struct super_block*sb,char*options);
12 int (*unmount_cvf) (struct super_block*sb);
13 struct buffer_head* (*cvf_bread) (struct super_block*sb,int block);
14 struct buffer_head* (*cvf_getblk) (struct super_block*sb,int block);
15 void (*cvf_brelse) (struct super_block *sb,struct buffer_head *bh);
16 void (*cvf_mark_buffer_dirty) (struct super_block *sb,
18 void (*cvf_set_uptodate) (struct super_block *sb,
21 int (*cvf_is_uptodate) (struct super_block *sb,struct buffer_head *bh);
22 void (*cvf_ll_rw_block) (struct super_block *sb,
[all …]
Dquota.h219 struct super_block *dq_sb; /* superblock this applies to */
235 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
236 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
237 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
238 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
257 int (*quota_on)(struct super_block *, int, int, char *);
258 int (*quota_off)(struct super_block *, int);
259 int (*quota_sync)(struct super_block *, int);
260 int (*get_info)(struct super_block *, int, struct if_dqinfo *);
261 int (*set_info)(struct super_block *, int, struct if_dqinfo *);
[all …]
Dmsdos_fs.h236 extern struct buffer_head *fat_bread(struct super_block *sb, int block);
237 extern struct buffer_head *fat_getblk(struct super_block *sb, int block);
238 extern void fat_brelse(struct super_block *sb, struct buffer_head *bh);
239 extern void fat_mark_buffer_dirty(struct super_block *sb, struct buffer_head *bh);
240 extern void fat_set_uptodate(struct super_block *sb, struct buffer_head *bh,
242 extern int fat_is_uptodate(struct super_block *sb, struct buffer_head *bh);
243 extern void fat_ll_rw_block(struct super_block *sb, int opr, int nbreq,
247 extern int fat_access(struct super_block *sb, int nr, int new_value);
285 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos);
286 extern struct inode *fat_build_inode(struct super_block *sb,
[all …]
Daffs_fs.h20 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
21 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
25 extern void affs_error(struct super_block *sb, const char *function, const char *fmt, ...);
26 extern void affs_warning(struct super_block *sb, const char *function, const char *fmt, ...);
33 extern u32 affs_count_free_blocks(struct super_block *s);
34 extern void affs_free_block(struct super_block *sb, u32 block);
36 extern int affs_init_bitmap(struct super_block *sb, int *flags);
37 extern void affs_free_bitmap(struct super_block *sb);
41 extern int affs_hash_name(struct super_block *sb, const u8 *name, unsigned int len);
Dext3_fs.h621 extern int ext3_bg_has_super(struct super_block *sb, int group);
622 extern unsigned long ext3_bg_num_gdb(struct super_block *sb, int group);
627 extern unsigned long ext3_count_free_blocks (struct super_block *);
628 extern void ext3_check_blocks_bitmap (struct super_block *);
629 extern struct ext3_group_desc * ext3_get_group_desc(struct super_block * sb,
643 extern struct inode * ext3_orphan_get (struct super_block *, unsigned long);
644 extern unsigned long ext3_count_free_inodes (struct super_block *);
645 extern void ext3_check_inodes_bitmap (struct super_block *);
674 extern void ext3_error (struct super_block *, const char *, const char *, ...)
676 extern void __ext3_std_error (struct super_block *, const char *, int);
[all …]
Dsysv_fs.h306 extern unsigned long sysv_count_free_inodes(struct super_block *);
307 extern u32 sysv_new_block(struct super_block *);
308 extern void sysv_free_block(struct super_block *, u32);
309 extern unsigned long sysv_count_free_blocks(struct super_block *);
336 extern struct sysv_inode *sysv_raw_inode(struct super_block *, unsigned, struct buffer_head **);
338 static inline void dirty_sb(struct super_block *sb) in dirty_sb()
346 static inline u32 fs32_to_cpu(struct super_block *sb, u32 n) in fs32_to_cpu()
356 static inline u32 cpu_to_fs32(struct super_block *sb, u32 n) in cpu_to_fs32()
366 static inline u32 fs32_add(struct super_block *sb, u32 *n, int d) in fs32_add()
376 static inline u16 fs16_to_cpu(struct super_block *sb, u16 n) in fs16_to_cpu()
[all …]
Dext2_fs.h575 extern int ext2_bg_has_super(struct super_block *sb, int group);
576 extern unsigned long ext2_bg_num_gdb(struct super_block *sb, int group);
581 extern unsigned long ext2_count_free_blocks (struct super_block *);
582 extern void ext2_check_blocks_bitmap (struct super_block *);
583 extern struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb,
604 extern unsigned long ext2_count_free_inodes (struct super_block *);
605 extern void ext2_check_inodes_bitmap (struct super_block *);
623 extern void ext2_error (struct super_block *, const char *, const char *, ...)
625 extern NORET_TYPE void ext2_panic (struct super_block *, const char *,
628 extern void ext2_warning (struct super_block *, const char *, const char *, ...)
[all …]
/linux-2.4.37.9/fs/fat/
Dbuffer.c21 struct buffer_head *fat_bread(struct super_block *sb, int block) in fat_bread()
25 struct buffer_head *fat_getblk(struct super_block *sb, int block) in fat_getblk()
29 void fat_brelse (struct super_block *sb, struct buffer_head *bh) in fat_brelse()
35 struct super_block *sb, in fat_mark_buffer_dirty()
41 struct super_block *sb, in fat_set_uptodate()
47 int fat_is_uptodate(struct super_block *sb, struct buffer_head *bh) in fat_is_uptodate()
52 struct super_block *sb, in fat_ll_rw_block()
60 struct buffer_head *default_fat_bread(struct super_block *sb, int block) in default_fat_bread()
65 struct buffer_head *default_fat_getblk(struct super_block *sb, int block) in default_fat_getblk()
70 void default_fat_brelse(struct super_block *sb, struct buffer_head *bh) in default_fat_brelse()
[all …]
Dcvf.c24 struct buffer_head *default_fat_bread(struct super_block *,int);
25 struct buffer_head *default_fat_getblk(struct super_block *, int);
26 void default_fat_brelse(struct super_block *, struct buffer_head *);
27 void default_fat_mark_buffer_dirty (struct super_block *, struct buffer_head *);
28 void default_fat_set_uptodate (struct super_block *, struct buffer_head *,int);
29 int default_fat_is_uptodate(struct super_block *, struct buffer_head *);
30 int default_fat_access(struct super_block *sb,int nr,int new_value);
31 void default_fat_ll_rw_block (struct super_block *sb, int opr, int nbreq,
129 int detect_cvf(struct super_block*sb,char*force) in detect_cvf()
/linux-2.4.37.9/fs/befs/
Dbefs.h89 void befs_error(const struct super_block *sb, const char *fmt, ...);
90 void befs_warning(const struct super_block *sb, const char *fmt, ...);
91 void befs_debug(const struct super_block *sb, const char *fmt, ...);
93 void befs_dump_super_block(const struct super_block *sb, befs_super_block *);
94 void befs_dump_inode(const struct super_block *sb, befs_inode *);
95 void befs_dump_index_entry(const struct super_block *sb, befs_btree_super *);
96 void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *);
97 void befs_dump_inode_addr(const struct super_block *sb, befs_inode_addr);
104 BEFS_SB(const struct super_block *super) in BEFS_SB()
116 iaddr2blockno(struct super_block *sb, befs_inode_addr * iaddr) in iaddr2blockno()
[all …]
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,
31 read_small_data(struct super_block *sb, befs_inode * inode,
42 find_small_data(struct super_block *sb, befs_inode * inode, const char *name) in find_small_data()
63 read_small_data(struct super_block *sb, befs_inode * inode, in read_small_data()
87 list_small_data(struct super_block *sb, befs_inode * inode) in list_small_data()
100 list_attr(struct super_block *sb, befs_inode * inode) in list_attr()
113 read_attr(struct super_block *sb, befs_inode * inode) in read_attr()
Dendian.h15 fs64_to_cpu(const struct super_block *sb, u64 n) in fs64_to_cpu()
24 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
33 fs32_to_cpu(const struct super_block *sb, u32 n) in fs32_to_cpu()
42 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
51 fs16_to_cpu(const struct super_block *sb, u16 n) in fs16_to_cpu()
60 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
71 fsrun_to_cpu(const struct super_block *sb, befs_block_run n) in fsrun_to_cpu()
88 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
105 fsds_to_cpu(const struct super_block *sb, befs_data_stream n) in fsds_to_cpu()
Ddatastream.h6 struct buffer_head *befs_read_datastream(struct super_block *sb,
10 int befs_fblock2brun(struct super_block *sb, befs_data_stream * data,
13 size_t befs_read_lsymlink(struct super_block *sb, befs_data_stream * data,
16 befs_blocknr_t befs_count_blocks(struct super_block *sb, befs_data_stream * ds);
/linux-2.4.37.9/fs/udf/
Dudfdecl.h51 struct super_block;
96 extern void udf_error(struct super_block *, const char *, const char *, ...);
97 extern void udf_warning(struct super_block *, const char *, const char *, ...);
106 extern struct inode *udf_iget(struct super_block *, lb_addr);
129 extern struct buffer_head *udf_tgetblk(struct super_block *, int);
130 extern struct buffer_head *udf_tread(struct super_block *, int);
133 extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t, uint32_t, uint16_t *);
134 extern struct buffer_head *udf_read_ptagged(struct super_block *, lb_addr, uint32_t, uint16_t *);
138 extern unsigned int udf_get_last_session(struct super_block *);
139 extern unsigned long udf_get_last_block(struct super_block *);
[all …]
/linux-2.4.37.9/fs/ufs/
Dswab.h26 fs64_to_cpu(struct super_block *sbp, u64 n) in fs64_to_cpu()
35 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64()
44 fs64_add(struct super_block *sbp, u32 *n, int d) in fs64_add()
53 fs64_sub(struct super_block *sbp, u32 *n, int d) in fs64_sub()
62 fs32_to_cpu(struct super_block *sbp, u32 n) in fs32_to_cpu()
71 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32()
80 fs32_add(struct super_block *sbp, u32 *n, int d) in fs32_add()
89 fs32_sub(struct super_block *sbp, u32 *n, int d) in fs32_sub()
98 fs16_to_cpu(struct super_block *sbp, u16 n) in fs16_to_cpu()
107 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16()
[all …]
/linux-2.4.37.9/fs/
Dsuper.c264 static struct super_block *alloc_super(void) in alloc_super()
267 struct super_block *s = kmalloc(sizeof(struct super_block), GFP_USER); in alloc_super()
269 memset(s, 0, sizeof(struct super_block)); in alloc_super()
297 static inline void destroy_super(struct super_block *s) in destroy_super()
311 static inline int deactivate_super(struct super_block *s) in deactivate_super()
327 static inline void put_super(struct super_block *s) in put_super()
346 static int grab_super(struct super_block *s) in grab_super()
374 static void insert_super(struct super_block *s, struct file_system_type *type) in insert_super()
397 static void remove_super(struct super_block *s) in remove_super()
419 static inline struct super_block * find_super(kdev_t dev) in find_super()
[all …]
/linux-2.4.37.9/fs/freevxfs/
Dvxfs_extern.h44 struct super_block;
53 extern int vxfs_read_fshead(struct super_block *);
58 extern struct inode * vxfs_get_fake_inode(struct super_block *,
61 extern struct vxfs_inode_info * vxfs_blkiget(struct super_block *, u_long, ino_t);
62 extern struct vxfs_inode_info * vxfs_stiget(struct super_block *, ino_t);
71 extern int vxfs_read_olt(struct super_block *, u_long);
/linux-2.4.37.9/fs/adfs/
Dadfs.h21 struct super_block *sb;
48 int (*read)(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir);
74 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
80 extern int adfs_map_lookup(struct super_block *sb, int frag_id, int offset);
81 extern unsigned int adfs_map_free(struct super_block *sb);
84 void __adfs_error(struct super_block *sb, const char *function,
104 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj);
126 __adfs_block_map(struct super_block *sb, unsigned int object_id, in __adfs_block_map()
/linux-2.4.37.9/fs/autofs4/
Dautofs_i.h95 struct super_block *sb;
99 static inline struct autofs_sb_info *autofs4_sbi(struct super_block *sb) in autofs4_sbi()
126 struct inode *autofs4_get_inode(struct super_block *, struct autofs_info *);
132 int autofs4_expire_run(struct super_block *, struct vfsmount *,
134 int autofs4_expire_multi(struct super_block *, struct vfsmount *,
146 struct super_block *autofs4_read_super(struct super_block *, void *,int);
/linux-2.4.37.9/fs/jfs/
Dsuper.c56 extern int jfs_mount(struct super_block *);
57 extern int jfs_mount_rw(struct super_block *, int);
58 extern int jfs_umount(struct super_block *);
59 extern int jfs_umount_rw(struct super_block *);
69 extern int jfs_extendfs(struct super_block *, s64, int);
80 static void jfs_handle_error(struct super_block *sb) in jfs_handle_error()
102 void jfs_error(struct super_block *sb, const char * function, ...) in jfs_error()
117 static int jfs_statfs(struct super_block *sb, struct statfs *buf) in jfs_statfs()
149 static void jfs_put_super(struct super_block *sb) in jfs_put_super()
166 s64 jfs_get_volume_size(struct super_block *sb) in jfs_get_volume_size()
[all …]
/linux-2.4.37.9/fs/devpts/
Dinode.c32 static void devpts_put_super(struct super_block *sb) in devpts_put_super()
51 static int devpts_statfs(struct super_block *sb, struct statfs *buf);
52 static int devpts_remount (struct super_block * sb, int * flags, char * data);
110 static int devpts_remount(struct super_block * sb, int * flags, char * data) in devpts_remount()
121 struct super_block *devpts_read_super(struct super_block *s, void *data, in devpts_read_super()
175 static int devpts_statfs(struct super_block *sb, struct statfs *buf) in devpts_statfs()
187 struct super_block *sb = devpts_mnt->mnt_sb; in devpts_pty_new()
214 struct super_block *sb = devpts_mnt->mnt_sb; in devpts_pty_kill()
/linux-2.4.37.9/fs/reiserfs/
Dprocfs.c31 static struct super_block *procinfo_prologue( kdev_t dev ) in procinfo_prologue()
33 struct super_block *result; in procinfo_prologue()
50 int procinfo_epilogue( struct super_block *super ) in procinfo_epilogue()
77 struct super_block *sb; in reiserfs_version_in_proc()
135 struct super_block *sb; in reiserfs_super_in_proc()
227 struct super_block *sb; in reiserfs_per_level_in_proc()
307 struct super_block *sb; in reiserfs_bitmap_in_proc()
349 struct super_block *sb; in reiserfs_on_disk_super_in_proc()
409 struct super_block *sb; in reiserfs_oidmap_in_proc()
464 struct super_block *sb; in reiserfs_journal_in_proc()
[all …]
/linux-2.4.37.9/fs/jffs2/
Dsuper.c57 void jffs2_put_super (struct super_block *);
58 void jffs2_write_super (struct super_block *);
59 static int jffs2_statfs (struct super_block *, struct statfs *);
60 int jffs2_remount_fs (struct super_block *, int *, char *);
74 static int jffs2_statfs(struct super_block *sb, struct statfs *buf) in jffs2_statfs()
194 static struct super_block *jffs2_read_super(struct super_block *sb, void *data, int silent) in jffs2_read_super()
288 void jffs2_put_super (struct super_block *sb) in jffs2_put_super()
306 int jffs2_remount_fs (struct super_block *sb, int *flags, char *data) in jffs2_remount_fs()
327 void jffs2_write_super (struct super_block *sb) in jffs2_write_super()
351 if (sizeof(struct jffs2_sb_info) > sizeof (((struct super_block *)NULL)->u)) { in init_jffs2_fs()
[all …]

1234567891011