/linux-2.4.37.9/fs/affs/ |
D | super.c | 43 if (!(sb->s_flags & MS_RDONLY)) { in affs_put_super() 64 if (!(sb->s_flags & MS_RDONLY)) { in affs_write_super() 254 AFFS_SB->s_flags = mount_flags; in affs_read_super() 348 || chksum == MUFS_DCOFS) && !(sb->s_flags & MS_RDONLY)) { in affs_read_super() 351 sb->s_flags |= MS_RDONLY; in affs_read_super() 357 AFFS_SB->s_flags |= SF_MUFS; in affs_read_super() 361 AFFS_SB->s_flags |= SF_INTL; in affs_read_super() 364 AFFS_SB->s_flags |= SF_MUFS; in affs_read_super() 369 AFFS_SB->s_flags |= SF_MUFS; in affs_read_super() 372 AFFS_SB->s_flags |= SF_OFS; in affs_read_super() [all …]
|
D | inode.c | 78 if (AFFS_SB->s_flags & SF_SETMODE) in affs_read_inode() 84 if (id == 0 || AFFS_SB->s_flags & SF_SETUID) in affs_read_inode() 86 else if (id == 0xFFFF && AFFS_SB->s_flags & SF_MUFS) in affs_read_inode() 92 if (id == 0 || AFFS_SB->s_flags & SF_SETGID) in affs_read_inode() 94 else if (id == 0xFFFF && AFFS_SB->s_flags & SF_MUFS) in affs_read_inode() 106 AFFS_SB->s_flags & SF_SETMODE) { in affs_read_inode() 148 inode->i_mapping->a_ops = (AFFS_SB->s_flags & SF_OFS) ? &affs_aops_ofs : &affs_aops; in affs_read_inode() 205 if (sb->u.affs_sb.s_flags & SF_MUFS) { in affs_write_inode() 211 if (!(sb->u.affs_sb.s_flags & SF_SETUID)) in affs_write_inode() 213 if (!(sb->u.affs_sb.s_flags & SF_SETGID)) in affs_write_inode() [all …]
|
/linux-2.4.37.9/fs/ufs/ |
D | super.c | 194 if (!(sb->s_flags & MS_RDONLY)) { in ufs_error() 198 sb->s_flags |= MS_RDONLY; in ufs_error() 226 if (!(sb->s_flags & MS_RDONLY)) { in ufs_panic() 234 sb->s_flags |= MS_RDONLY; in ufs_panic() 455 UFSD(("flag %u\n", (int)(sb->s_flags & MS_RDONLY))) in ufs_read_super() 458 if (!(sb->s_flags & MS_RDONLY)) { in ufs_read_super() 533 if (!(sb->s_flags & MS_RDONLY)) { in ufs_read_super() 535 sb->s_flags |= MS_RDONLY; in ufs_read_super() 547 if (!(sb->s_flags & MS_RDONLY)) { in ufs_read_super() 549 sb->s_flags |= MS_RDONLY; in ufs_read_super() [all …]
|
D | util.h | 33 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_get_fs_state() 48 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_set_fs_state() 65 if ((sb->u.ufs_sb.s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect() 76 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask() 99 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask() 120 if ((sb->u.ufs_sb.s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen() 129 if ((sb->u.ufs_sb.s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen() 138 if ((sb->u.ufs_sb.s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type() 174 switch (sb->u.ufs_sb.s_flags & UFS_UID_MASK) { in ufs_get_inode_uid() 187 switch (sb->u.ufs_sb.s_flags & UFS_UID_MASK) { in ufs_set_inode_uid() [all …]
|
D | balloc.c | 103 if ((sb->u.ufs_sb.s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_fragments() 115 if (sb->s_flags & MS_SYNCHRONOUS) { in ufs_free_fragments() 186 if ((sb->u.ufs_sb.s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_blocks() 200 if (sb->s_flags & MS_SYNCHRONOUS) { in ufs_free_blocks() 460 if (sb->s_flags & MS_SYNCHRONOUS) { in ufs_add_fragments() 585 if (sb->s_flags & MS_SYNCHRONOUS) { in ufs_alloc_fragments() 635 if ((sb->u.ufs_sb.s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_alloccg_block()
|
/linux-2.4.37.9/fs/hfs/ |
D | super.c | 100 if (!(sb->s_flags & MS_RDONLY)) { in hfs_write_super() 118 if (!(sb->s_flags & MS_RDONLY)) { in hfs_put_super() 124 hfs_mdb_put(mdb, sb->s_flags & MS_RDONLY); in hfs_put_super() 421 mdb = hfs_mdb_get(s, s->s_flags & MS_RDONLY, 0); in hfs_read_super() 428 mdb = hfs_mdb_get(s, s->s_flags & MS_RDONLY, part_start); in hfs_read_super() 435 mdb = hfs_mdb_get(s, s->s_flags & MS_RDONLY, part_start); in hfs_read_super() 449 s->s_flags |= MS_RDONLY; in hfs_read_super() 485 hfs_mdb_put(mdb, s->s_flags & MS_RDONLY); in hfs_read_super() 501 if ((*flags & MS_RDONLY) == (s->s_flags & MS_RDONLY)) in hfs_remount() 506 s->s_flags |= MS_RDONLY; in hfs_remount()
|
/linux-2.4.37.9/fs/jfs/ |
D | super.c | 84 if (sb->s_flags & MS_RDONLY) in jfs_handle_error() 96 sb->s_flags |= MS_RDONLY; in jfs_handle_error() 279 if (sb->s_flags & MS_RDONLY) { in jfs_remount() 289 if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) { in jfs_remount() 293 if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) { in jfs_remount() 299 if (!(sb->s_flags & MS_RDONLY)) { in jfs_remount() 321 sb->s_flags); in jfs_read_super() 362 if (sb->s_flags & MS_RDONLY) in jfs_read_super() 421 if (!(sb->s_flags & MS_RDONLY)) { in jfs_write_super_lockfs() 434 if (!(sb->s_flags & MS_RDONLY)) { in jfs_unlockfs()
|
/linux-2.4.37.9/fs/ |
D | super.c | 559 if ((flags & MS_RDONLY) && !(sb->s_flags & MS_RDONLY)) in do_remount_sb() 569 sb->s_flags = (sb->s_flags & ~MS_RMT_MASK) | (flags & MS_RMT_MASK); in do_remount_sb() 713 ((flags ^ old->s_flags) & MS_RDONLY)) { in get_sb_bdev() 727 s->s_flags = flags; in get_sb_bdev() 731 s->s_flags |= MS_ACTIVE; in get_sb_bdev() 755 s->s_flags = flags; in get_sb_nodev() 761 s->s_flags |= MS_ACTIVE; in get_sb_nodev() 778 s->s_flags = flags; in get_sb_single() 784 s->s_flags |= MS_ACTIVE; in get_sb_single() 812 sb->s_flags |= MS_NOUSER; in do_kern_mount() [all …]
|
/linux-2.4.37.9/fs/jffs2/ |
D | super.c | 273 if (!(sb->s_flags & MS_RDONLY)) in jffs2_read_super() 294 if (!(sb->s_flags & MS_RDONLY)) in jffs2_put_super() 310 if (c->flags & JFFS2_SB_FLAG_RO && !(sb->s_flags & MS_RDONLY)) in jffs2_remount_fs() 316 if (!(sb->s_flags & MS_RDONLY)) in jffs2_remount_fs() 322 sb->s_flags = (sb->s_flags & ~MS_RDONLY)|(*flags & MS_RDONLY); in jffs2_remount_fs() 332 if (sb->s_flags & MS_RDONLY) in jffs2_write_super()
|
/linux-2.4.37.9/fs/ext3/ |
D | super.c | 159 if (sb->s_flags & MS_RDONLY) in ext3_handle_error() 173 sb->s_flags |= MS_RDONLY; in ext3_handle_error() 270 if (sb->s_flags & MS_RDONLY) in ext3_abort() 275 sb->s_flags |= MS_RDONLY; in ext3_abort() 297 sb->s_flags |= MS_RDONLY; in ext3_panic() 410 if (!(sb->s_flags & MS_RDONLY)) { in ext3_put_super() 838 unsigned int s_flags = sb->s_flags; in ext3_orphan_cleanup() local 854 if (s_flags & MS_RDONLY) { in ext3_orphan_cleanup() 857 sb->s_flags &= ~MS_RDONLY; in ext3_orphan_cleanup() 896 sb->s_flags = s_flags; /* Restore MS_RDONLY status */ in ext3_orphan_cleanup() [all …]
|
/linux-2.4.37.9/fs/udf/ |
D | udf_sb.h | 81 #define UDF_QUERY_FLAG(X,Y) ( UDF_SB(X)->s_flags & ( 1 << (Y) ) ) 82 #define UDF_SET_FLAG(X,Y) ( UDF_SB(X)->s_flags |= ( 1 << (Y) ) ) 83 #define UDF_CLEAR_FLAG(X,Y) ( UDF_SB(X)->s_flags &= ~( 1 << (Y) ) ) 116 #define UDF_SB_FLAGS(X) ( UDF_SB(X)->s_flags )
|
D | super.c | 293 if (!(sb->s_flags & MS_RDONLY)) in udf_write_super() 303 uopt.flags = UDF_SB(sb)->s_flags ; in udf_remount_fs() 311 UDF_SB(sb)->s_flags = uopt.flags; in udf_remount_fs() 320 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in udf_remount_fs() 1377 sb->s_flags |= MS_RDONLY; in udf_read_super() 1406 UDF_SB(sb)->s_flags = uopt.flags; in udf_read_super() 1464 sb->s_flags |= MS_RDONLY; in udf_read_super() 1496 if (!(sb->s_flags & MS_RDONLY)) in udf_read_super() 1558 if (!(sb->s_flags & MS_RDONLY)) in udf_read_super() 1570 if (!(sb->s_flags & MS_RDONLY)) in udf_error() [all …]
|
/linux-2.4.37.9/fs/hpfs/ |
D | super.c | 18 if (s->s_hpfs_chkdsk && !(s->s_flags & MS_RDONLY)) { in mark_dirty() 37 if (s->s_flags & MS_RDONLY) return; in unmark_dirty() 68 if (s->s_flags & MS_RDONLY) printk("; already mounted read-only\n"); in hpfs_error() 72 s->s_flags |= MS_RDONLY; in hpfs_error() 74 …} else if (s->s_flags & MS_RDONLY) printk("; going on - but anything won't be destroyed because it… in hpfs_error() 429 if (!(s->s_flags & MS_RDONLY) && in hpfs_read_super() 437 s->s_flags |= MS_NOATIME; in hpfs_read_super() 479 if (!(s->s_flags & MS_RDONLY)) { in hpfs_read_super()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | super.c | 167 if (sb->s_flags & MS_RDONLY) in hfsplus_write_super() 204 if (!(sb->s_flags & MS_RDONLY)) { in hfsplus_put_super() 238 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in hfsplus_remount() 247 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 251 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 351 sb->s_flags |= MS_RDONLY; in hfsplus_read_super() 355 sb->s_flags |= MS_RDONLY; in hfsplus_read_super() 401 if (sb->s_flags & MS_RDONLY) in hfsplus_read_super()
|
/linux-2.4.37.9/arch/mips/boot/ |
D | elf2ecoff.c | 261 s->s_flags = swab32(s->s_flags); in convert_ecoff_esecs() 492 esecs[0].s_flags = 0x20; in main() 493 esecs[1].s_flags = 0x40; in main() 494 esecs[2].s_flags = 0x82; in main() 496 esecs[3].s_flags = 0x100; in main() 497 esecs[4].s_flags = 0x200; in main() 498 esecs[5].s_flags = 0x400; in main()
|
D | ecoff.h | 29 long s_flags; /* flags */ member
|
/linux-2.4.37.9/fs/reiserfs/ |
D | super.c | 58 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_write_super() 71 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_write_super_lockfs() 349 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_put_super() 395 if (inode->i_sb->s_flags & MS_RDONLY) { in reiserfs_dirty_inode() 668 if( !( le32_to_cpu( rs -> s_flags ) & reiserfs_attrs_cleared ) ) { in handle_attrs() 710 if (s->s_flags & MS_RDONLY) in reiserfs_remount() 726 if (!(s->s_flags & MS_RDONLY)) in reiserfs_remount() 729 s->s_flags &= ~MS_RDONLY ; /* now it is safe to call journal_begin */ in reiserfs_remount() 735 s->s_flags &= ~MS_RDONLY; in reiserfs_remount() 1109 !(s->s_flags & MS_RDONLY) && in what_hash() [all …]
|
/linux-2.4.37.9/fs/ext2/ |
D | super.c | 42 if (!(sb->s_flags & MS_RDONLY)) { in ext2_error() 62 sb->s_flags |= MS_RDONLY; in ext2_error() 71 if (!(sb->s_flags & MS_RDONLY)) { in ext2_panic() 81 sb->s_flags |= MS_RDONLY; in ext2_panic() 128 if (!(sb->s_flags & MS_RDONLY)) { in ext2_put_super() 502 if (!(sb->s_flags & MS_RDONLY) && in ext2_read_super() 677 ext2_setup_super (sb, es, sb->s_flags & MS_RDONLY); in ext2_read_super() 725 if (!(sb->s_flags & MS_RDONLY)) { in ext2_write_super() 760 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in ext2_remount() 788 sb->s_flags &= ~MS_RDONLY; in ext2_remount()
|
/linux-2.4.37.9/drivers/char/ |
D | sysrq.c | 150 if (sb->s_flags & MS_RDONLY) { in go_sync() 171 sb->s_flags = (sb->s_flags & ~MS_RMT_MASK) | (flags & MS_RMT_MASK); in go_sync()
|
/linux-2.4.37.9/include/linux/ |
D | affs_fs_sb.h | 23 unsigned long s_flags; /* See below. */ member
|
D | ext3_jbd.h | 201 if (inode->i_sb->s_flags & MS_RDONLY) in ext3_journal_start() 220 if (inode->i_sb->s_flags & MS_RDONLY) in ext3_journal_try_start()
|
D | udf_fs_sb.h | 109 __u32 s_flags; member
|
/linux-2.4.37.9/fs/efs/ |
D | super.c | 187 if (!(s->s_flags & MS_RDONLY)) { in efs_read_super() 191 s->s_flags |= MS_RDONLY; in efs_read_super()
|
/linux-2.4.37.9/fs/sysv/ |
D | super.c | 208 if (!(sb->s_flags & MS_RDONLY)) { in detect_sysv() 212 sb->s_flags |= MS_RDONLY; in detect_sysv() 236 sb->s_flags |= MS_RDONLY; in detect_sysv() 340 sb->s_flags |= MS_RDONLY; in complete_read_super()
|
/linux-2.4.37.9/fs/minix/ |
D | inode.c | 49 if (!(sb->s_flags & MS_RDONLY)) { in minix_write_super() 64 if (!(sb->s_flags & MS_RDONLY)) { in minix_put_super() 93 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in minix_remount() 227 if (!(s->s_flags & MS_RDONLY)) { in minix_read_super()
|