sb                 46 fs/ext/freelists.c void ext_free_block(struct super_block * sb, int block)
sb                 51 fs/ext/freelists.c 	if (!sb)
sb                 53 fs/ext/freelists.c 	lock_super (sb);
sb                 54 fs/ext/freelists.c 	if (block < sb->u.ext_sb.s_firstdatazone ||
sb                 55 fs/ext/freelists.c 	    block >= sb->u.ext_sb.s_nzones) {
sb                 59 fs/ext/freelists.c 	bh = get_hash_table(sb->s_dev, block, sb->s_blocksize);
sb                 63 fs/ext/freelists.c 	if (sb->u.ext_sb.s_firstfreeblock)
sb                 64 fs/ext/freelists.c 		efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data;
sb                 65 fs/ext/freelists.c 	if (!sb->u.ext_sb.s_firstfreeblock || efb->count == 254) {
sb                 69 fs/ext/freelists.c 		if (sb->u.ext_sb.s_firstfreeblock)
sb                 70 fs/ext/freelists.c 			brelse (sb->u.ext_sb.s_firstfreeblock);
sb                 71 fs/ext/freelists.c 		if (!(sb->u.ext_sb.s_firstfreeblock = bread (sb->s_dev,
sb                 72 fs/ext/freelists.c 			block, sb->s_blocksize)))
sb                 74 fs/ext/freelists.c 		efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data;
sb                 75 fs/ext/freelists.c 		efb->next = sb->u.ext_sb.s_firstfreeblocknumber;
sb                 77 fs/ext/freelists.c 		sb->u.ext_sb.s_firstfreeblocknumber = block;
sb                 81 fs/ext/freelists.c 	sb->u.ext_sb.s_freeblockscount ++;
sb                 82 fs/ext/freelists.c 	sb->s_dirt = 1;
sb                 83 fs/ext/freelists.c 	sb->u.ext_sb.s_firstfreeblock->b_dirt = 1;
sb                 84 fs/ext/freelists.c 	unlock_super (sb);
sb                 88 fs/ext/freelists.c int ext_new_block(struct super_block * sb)
sb                 94 fs/ext/freelists.c 	if (!sb)
sb                 96 fs/ext/freelists.c 	if (!sb->u.ext_sb.s_firstfreeblock)
sb                 98 fs/ext/freelists.c 	lock_super (sb);
sb                 99 fs/ext/freelists.c 	efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data;
sb                102 fs/ext/freelists.c 		sb->u.ext_sb.s_firstfreeblock->b_dirt = 1;
sb                107 fs/ext/freelists.c 		j = sb->u.ext_sb.s_firstfreeblocknumber;
sb                108 fs/ext/freelists.c 		sb->u.ext_sb.s_firstfreeblocknumber = efb->next;
sb                109 fs/ext/freelists.c 		brelse (sb->u.ext_sb.s_firstfreeblock);
sb                110 fs/ext/freelists.c 		if (!sb->u.ext_sb.s_firstfreeblocknumber) {
sb                111 fs/ext/freelists.c 			sb->u.ext_sb.s_firstfreeblock = NULL;
sb                113 fs/ext/freelists.c 			if (!(sb->u.ext_sb.s_firstfreeblock = bread (sb->s_dev,
sb                114 fs/ext/freelists.c 				sb->u.ext_sb.s_firstfreeblocknumber,
sb                115 fs/ext/freelists.c 				sb->s_blocksize)))
sb                119 fs/ext/freelists.c 	if (j < sb->u.ext_sb.s_firstdatazone || j > sb->u.ext_sb.s_nzones) {
sb                123 fs/ext/freelists.c 	sb->u.ext_sb.s_freeblockscount --;
sb                124 fs/ext/freelists.c 	sb->s_dirt = 1;
sb                126 fs/ext/freelists.c 	if (!(bh=getblk(sb->s_dev, j, sb->s_blocksize)))
sb                137 fs/ext/freelists.c 	unlock_super (sb);
sb                141 fs/ext/freelists.c unsigned long ext_count_free_blocks(struct super_block *sb)
sb                148 fs/ext/freelists.c 	lock_super (sb);
sb                149 fs/ext/freelists.c 	if (!sb->u.ext_sb.s_firstfreeblock)
sb                152 fs/ext/freelists.c 		efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data;
sb                156 fs/ext/freelists.c 			if (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
sb                168 fs/ext/freelists.c 	sb->u.ext_sb.s_freeblockscount, count);
sb                169 fs/ext/freelists.c 	unlock_super (sb);
sb                172 fs/ext/freelists.c 	return sb->u.ext_sb.s_freeblockscount;
sb                236 fs/ext/freelists.c 	struct super_block * sb;
sb                244 fs/ext/freelists.c 	sb = dir->i_sb;
sb                245 fs/ext/freelists.c 	inode->i_sb = sb;
sb                246 fs/ext/freelists.c 	inode->i_flags = sb->s_flags;
sb                247 fs/ext/freelists.c 	if (!sb->u.ext_sb.s_firstfreeinodeblock)
sb                249 fs/ext/freelists.c 	lock_super (sb);
sb                250 fs/ext/freelists.c 	efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) +
sb                251 fs/ext/freelists.c 		(sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK;
sb                254 fs/ext/freelists.c 		sb->u.ext_sb.s_firstfreeinodeblock->b_dirt = 1;
sb                259 fs/ext/freelists.c 		j = sb->u.ext_sb.s_firstfreeinodenumber;
sb                260 fs/ext/freelists.c 		if (efi->next > sb->u.ext_sb.s_ninodes) {
sb                264 fs/ext/freelists.c 		sb->u.ext_sb.s_firstfreeinodenumber = efi->next;
sb                266 fs/ext/freelists.c 		brelse (sb->u.ext_sb.s_firstfreeinodeblock);
sb                267 fs/ext/freelists.c 		if (!sb->u.ext_sb.s_firstfreeinodenumber) {
sb                268 fs/ext/freelists.c 			sb->u.ext_sb.s_firstfreeinodeblock = NULL;
sb                270 fs/ext/freelists.c 			if (!(sb->u.ext_sb.s_firstfreeinodeblock =
sb                271 fs/ext/freelists.c 			    bread(sb->s_dev, block, sb->s_blocksize)))
sb                275 fs/ext/freelists.c 	sb->u.ext_sb.s_freeinodescount --;
sb                276 fs/ext/freelists.c 	sb->s_dirt = 1;
sb                279 fs/ext/freelists.c 	inode->i_dev = sb->s_dev;
sb                290 fs/ext/freelists.c 	unlock_super (sb);
sb                294 fs/ext/freelists.c unsigned long ext_count_free_inodes(struct super_block *sb)
sb                301 fs/ext/freelists.c 	lock_super (sb);
sb                302 fs/ext/freelists.c 	if (!sb->u.ext_sb.s_firstfreeinodeblock)
sb                305 fs/ext/freelists.c 		efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) +
sb                306 fs/ext/freelists.c 			((sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK);
sb                310 fs/ext/freelists.c 			if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) {
sb                312 fs/ext/freelists.c 					(int) sb->u.ext_sb.s_firstfreeinodenumber,ino);
sb                316 fs/ext/freelists.c 			if (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
sb                329 fs/ext/freelists.c 	sb->u.ext_sb.s_freeinodescount, count);
sb                330 fs/ext/freelists.c 	unlock_super (sb);
sb                333 fs/ext/freelists.c 	return sb->u.ext_sb.s_freeinodescount;
sb                 33 fs/ext/inode.c void ext_put_super(struct super_block *sb)
sb                 36 fs/ext/inode.c 	lock_super(sb);
sb                 37 fs/ext/inode.c 	sb->s_dev = 0;
sb                 38 fs/ext/inode.c 	if (sb->u.ext_sb.s_firstfreeinodeblock)
sb                 39 fs/ext/inode.c 		brelse (sb->u.ext_sb.s_firstfreeinodeblock);
sb                 40 fs/ext/inode.c 	if (sb->u.ext_sb.s_firstfreeblock)
sb                 41 fs/ext/inode.c 		brelse (sb->u.ext_sb.s_firstfreeblock);
sb                 42 fs/ext/inode.c 	unlock_super(sb);
sb                122 fs/ext/inode.c void ext_write_super (struct super_block *sb)
sb                127 fs/ext/inode.c 	if (!(bh = bread(sb->s_dev, 1, BLOCK_SIZE))) {
sb                132 fs/ext/inode.c 	es->s_firstfreeblock = sb->u.ext_sb.s_firstfreeblocknumber;
sb                133 fs/ext/inode.c 	es->s_freeblockscount = sb->u.ext_sb.s_freeblockscount;
sb                134 fs/ext/inode.c 	es->s_firstfreeinode = sb->u.ext_sb.s_firstfreeinodenumber;
sb                135 fs/ext/inode.c 	es->s_freeinodescount = sb->u.ext_sb.s_freeinodescount;
sb                138 fs/ext/inode.c 	sb->s_dirt = 0;
sb                141 fs/ext/inode.c void ext_statfs (struct super_block *sb, struct statfs *buf)
sb                147 fs/ext/inode.c 	put_fs_long(sb->u.ext_sb.s_nzones << sb->u.ext_sb.s_log_zone_size,
sb                149 fs/ext/inode.c 	tmp = ext_count_free_blocks(sb);
sb                152 fs/ext/inode.c 	put_fs_long(sb->u.ext_sb.s_ninodes, &buf->f_files);
sb                153 fs/ext/inode.c 	put_fs_long(ext_count_free_inodes(sb), &buf->f_ffree);
sb                281 fs/inode.c     struct inode * iget(struct super_block * sb,int nr)
sb                285 fs/inode.c     	if (!sb)
sb                290 fs/inode.c     		if (inode->i_dev != sb->s_dev || inode->i_ino != nr) {
sb                295 fs/inode.c     		if (inode->i_dev != sb->s_dev || inode->i_ino != nr) {
sb                327 fs/inode.c     	inode->i_sb = sb;
sb                328 fs/inode.c     	inode->i_dev = sb->s_dev;
sb                330 fs/inode.c     	inode->i_flags = sb->s_flags;
sb                 28 fs/isofs/inode.c void isofs_put_super(struct super_block *sb)
sb                 30 fs/isofs/inode.c 	lock_super(sb);
sb                 36 fs/isofs/inode.c 	sb->s_dev = 0;
sb                 37 fs/isofs/inode.c 	unlock_super(sb);
sb                241 fs/isofs/inode.c void isofs_statfs (struct super_block *sb, struct statfs *buf)
sb                245 fs/isofs/inode.c 	put_fs_long(sb->u.isofs_sb.s_nzones, &buf->f_blocks);
sb                248 fs/isofs/inode.c 	put_fs_long(sb->u.isofs_sb.s_ninodes, &buf->f_files);
sb                 67 fs/minix/bitmap.c void minix_free_block(struct super_block * sb, int block)
sb                 72 fs/minix/bitmap.c 	if (!sb) {
sb                 76 fs/minix/bitmap.c 	if (block < sb->u.minix_sb.s_firstdatazone ||
sb                 77 fs/minix/bitmap.c 	    block >= sb->u.minix_sb.s_nzones) {
sb                 81 fs/minix/bitmap.c 	bh = get_hash_table(sb->s_dev,block,BLOCK_SIZE);
sb                 85 fs/minix/bitmap.c 	zone = block - sb->u.minix_sb.s_firstdatazone + 1;
sb                 88 fs/minix/bitmap.c 	bh = sb->u.minix_sb.s_zmap[zone];
sb                 94 fs/minix/bitmap.c 		printk("free_block (%04x:%d): bit already cleared\n",sb->s_dev,block);
sb                 99 fs/minix/bitmap.c int minix_new_block(struct super_block * sb)
sb                104 fs/minix/bitmap.c 	if (!sb) {
sb                111 fs/minix/bitmap.c 		if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
sb                121 fs/minix/bitmap.c 	j += i*8192 + sb->u.minix_sb.s_firstdatazone-1;
sb                122 fs/minix/bitmap.c 	if (j < sb->u.minix_sb.s_firstdatazone ||
sb                123 fs/minix/bitmap.c 	    j >= sb->u.minix_sb.s_nzones)
sb                125 fs/minix/bitmap.c 	if (!(bh = getblk(sb->s_dev,j,BLOCK_SIZE))) {
sb                140 fs/minix/bitmap.c unsigned long minix_count_free_blocks(struct super_block *sb)
sb                142 fs/minix/bitmap.c 	return (sb->u.minix_sb.s_nzones - count_used(sb->u.minix_sb.s_zmap,sb->u.minix_sb.s_zmap_blocks,sb->u.minix_sb.s_nzones))
sb                143 fs/minix/bitmap.c 		 << sb->u.minix_sb.s_log_zone_size;
sb                184 fs/minix/bitmap.c 	struct super_block * sb;
sb                191 fs/minix/bitmap.c 	sb = dir->i_sb;
sb                192 fs/minix/bitmap.c 	inode->i_sb = sb;
sb                216 fs/minix/bitmap.c 	inode->i_dev = sb->s_dev;
sb                227 fs/minix/bitmap.c unsigned long minix_count_free_inodes(struct super_block *sb)
sb                229 fs/minix/bitmap.c 	return sb->u.minix_sb.s_ninodes - count_used(sb->u.minix_sb.s_imap,sb->u.minix_sb.s_imap_blocks,sb->u.minix_sb.s_ninodes);
sb                 27 fs/minix/inode.c void minix_put_super(struct super_block *sb)
sb                 31 fs/minix/inode.c 	lock_super(sb);
sb                 32 fs/minix/inode.c 	sb->s_dev = 0;
sb                 34 fs/minix/inode.c 		brelse(sb->u.minix_sb.s_imap[i]);
sb                 36 fs/minix/inode.c 		brelse(sb->u.minix_sb.s_zmap[i]);
sb                 37 fs/minix/inode.c 	unlock_super(sb);
sb                123 fs/minix/inode.c void minix_statfs(struct super_block *sb, struct statfs *buf)
sb                129 fs/minix/inode.c 	put_fs_long(sb->u.minix_sb.s_nzones << sb->u.minix_sb.s_log_zone_size, &buf->f_blocks);
sb                130 fs/minix/inode.c 	tmp = minix_count_free_blocks(sb);
sb                133 fs/minix/inode.c 	put_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files);
sb                134 fs/minix/inode.c 	put_fs_long(minix_count_free_inodes(sb), &buf->f_ffree);
sb                 18 fs/msdos/fat.c int fat_access(struct super_block *sb,int this,int new_value)
sb                 25 fs/msdos/fat.c 	if (MSDOS_SB(sb)->fat_bits == 16) first = last = this*2;
sb                 30 fs/msdos/fat.c 	if (!(bh = msdos_sread(sb->s_dev,MSDOS_SB(sb)->fat_start+(first >>
sb                 40 fs/msdos/fat.c 		if (!(bh2 = msdos_sread(sb->s_dev,MSDOS_SB(sb)->fat_start+(last
sb                 47 fs/msdos/fat.c 	if (MSDOS_SB(sb)->fat_bits == 16) {
sb                 62 fs/msdos/fat.c 		if (MSDOS_SB(sb)->fat_bits == 16)
sb                 77 fs/msdos/fat.c 		for (copy = 1; copy < MSDOS_SB(sb)->fats; copy++) {
sb                 78 fs/msdos/fat.c 			if (!(c_bh = msdos_sread(sb->s_dev,MSDOS_SB(sb)->
sb                 79 fs/msdos/fat.c 			    fat_start+(first >> SECTOR_BITS)+MSDOS_SB(sb)->
sb                 84 fs/msdos/fat.c 				if (!(c_bh2 = msdos_sread(sb->s_dev,
sb                 85 fs/msdos/fat.c 				    MSDOS_SB(sb)->fat_start+(first >>
sb                 86 fs/msdos/fat.c 				    SECTOR_BITS)+MSDOS_SB(sb)->fat_length*copy
sb                239 fs/msdos/fat.c 	struct msdos_sb_info *sb;
sb                242 fs/msdos/fat.c 	sb = MSDOS_SB(inode->i_sb);
sb                245 fs/msdos/fat.c 		if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0;
sb                246 fs/msdos/fat.c 		return sector+sb->dir_start;
sb                248 fs/msdos/fat.c 	cluster = sector/sb->cluster_size;
sb                249 fs/msdos/fat.c 	offset = sector % sb->cluster_size;
sb                251 fs/msdos/fat.c 	return (cluster-2)*sb->cluster_size+sb->data_start+offset;
sb                 41 fs/msdos/inode.c void msdos_put_super(struct super_block *sb)
sb                 43 fs/msdos/inode.c 	cache_inval_dev(sb->s_dev);
sb                 44 fs/msdos/inode.c 	lock_super(sb);
sb                 45 fs/msdos/inode.c 	sb->s_dev = 0;
sb                 46 fs/msdos/inode.c 	unlock_super(sb);
sb                192 fs/msdos/inode.c void msdos_statfs(struct super_block *sb,struct statfs *buf)
sb                196 fs/msdos/inode.c 	put_fs_long(sb->s_magic,&buf->f_type);
sb                197 fs/msdos/inode.c 	put_fs_long(MSDOS_SB(sb)->cluster_size*SECTOR_SIZE,&buf->f_bsize);
sb                198 fs/msdos/inode.c 	put_fs_long(MSDOS_SB(sb)->clusters,&buf->f_blocks);
sb                199 fs/msdos/inode.c 	lock_fat(sb);
sb                200 fs/msdos/inode.c 	if (MSDOS_SB(sb)->free_clusters != -1)
sb                201 fs/msdos/inode.c 		free = MSDOS_SB(sb)->free_clusters;
sb                204 fs/msdos/inode.c 		for (this = 2; this < MSDOS_SB(sb)->clusters+2; this++)
sb                205 fs/msdos/inode.c 			if (!fat_access(sb,this,-1)) free++;
sb                206 fs/msdos/inode.c 		MSDOS_SB(sb)->free_clusters = free;
sb                208 fs/msdos/inode.c 	unlock_fat(sb);
sb                218 fs/msdos/inode.c 	struct msdos_sb_info *sb;
sb                221 fs/msdos/inode.c 	sb = MSDOS_SB(inode->i_sb);
sb                222 fs/msdos/inode.c 	if ((sb->cluster_size & 1) || (sb->data_start & 1)) return 0;
sb                224 fs/msdos/inode.c 		if (sb->dir_start & 1) return 0;
sb                225 fs/msdos/inode.c 		return (sb->dir_start >> 1)+block;
sb                227 fs/msdos/inode.c 	cluster = (block*2)/sb->cluster_size;
sb                228 fs/msdos/inode.c 	offset = (block*2) % sb->cluster_size;
sb                230 fs/msdos/inode.c 	return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1;
sb                 65 fs/msdos/misc.c void lock_fat(struct super_block *sb)
sb                 67 fs/msdos/misc.c 	while (MSDOS_SB(sb)->fat_lock) sleep_on(&MSDOS_SB(sb)->fat_wait);
sb                 68 fs/msdos/misc.c 	MSDOS_SB(sb)->fat_lock = 1;
sb                 72 fs/msdos/misc.c void unlock_fat(struct super_block *sb)
sb                 74 fs/msdos/misc.c 	MSDOS_SB(sb)->fat_lock = 0;
sb                 75 fs/msdos/misc.c 	wake_up(&MSDOS_SB(sb)->fat_wait);
sb                312 fs/msdos/misc.c static int raw_found(struct super_block *sb,int sector,char *name,int *number,
sb                319 fs/msdos/misc.c 	if (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO;
sb                346 fs/msdos/misc.c static int raw_scan_root(struct super_block *sb,char *name,int *number,int *ino)
sb                350 fs/msdos/misc.c 	for (count = 0; count < MSDOS_SB(sb)->dir_entries/MSDOS_DPS; count++) {
sb                351 fs/msdos/misc.c 		if ((cluster = raw_found(sb,MSDOS_SB(sb)->dir_start+count,name,
sb                358 fs/msdos/misc.c static int raw_scan_nonroot(struct super_block *sb,int start,char *name,
sb                367 fs/msdos/misc.c 		for (count = 0; count < MSDOS_SB(sb)->cluster_size; count++) {
sb                368 fs/msdos/misc.c 			if ((cluster = raw_found(sb,(start-2)*MSDOS_SB(sb)->
sb                369 fs/msdos/misc.c 			    cluster_size+MSDOS_SB(sb)->data_start+count,name,
sb                372 fs/msdos/misc.c 		if (!(start = fat_access(sb,start,-1))) panic("FAT error");
sb                382 fs/msdos/misc.c static int raw_scan(struct super_block *sb,int start,char *name,int number,
sb                385 fs/msdos/misc.c     if (start) return raw_scan_nonroot(sb,start,name,&number,ino);
sb                386 fs/msdos/misc.c     else return raw_scan_root(sb,name,&number,ino);
sb                224 fs/msdos/namei.c static void dump_fat(struct super_block *sb,int start)
sb                229 fs/msdos/namei.c 		start = fat_access(sb,start,-1);
sb                 61 fs/namei.c     	struct super_block * sb;
sb                 67 fs/namei.c     		else if ((sb = dir->i_sb) && (dir == sb->s_mounted)) {
sb                 68 fs/namei.c     			sb = dir->i_sb;
sb                 70 fs/namei.c     			dir = sb->s_covered;
sb                 37 fs/nfs/inode.c void nfs_put_super(struct super_block *sb)
sb                 39 fs/nfs/inode.c 	close_fp(sb->u.nfs_sb.s_server.file);
sb                 40 fs/nfs/inode.c 	lock_super(sb);
sb                 41 fs/nfs/inode.c 	sb->s_dev = 0;
sb                 42 fs/nfs/inode.c 	unlock_super(sb);
sb                 53 fs/nfs/inode.c struct super_block *nfs_read_super(struct super_block *sb, void *raw_data)
sb                 59 fs/nfs/inode.c 	dev_t dev = sb->s_dev;
sb                 63 fs/nfs/inode.c 		sb->s_dev = 0;
sb                 73 fs/nfs/inode.c 		sb->s_dev = 0;
sb                 78 fs/nfs/inode.c 		sb->s_dev = 0;
sb                 82 fs/nfs/inode.c 	lock_super(sb);
sb                 83 fs/nfs/inode.c 	sb->s_blocksize = 1024; /* XXX */
sb                 84 fs/nfs/inode.c 	sb->s_magic = NFS_SUPER_MAGIC;
sb                 85 fs/nfs/inode.c 	sb->s_dev = dev;
sb                 86 fs/nfs/inode.c 	sb->s_op = &nfs_sops;
sb                 87 fs/nfs/inode.c 	server = &sb->u.nfs_sb.s_server;
sb                109 fs/nfs/inode.c 	sb->u.nfs_sb.s_root = data->root;
sb                110 fs/nfs/inode.c 	unlock_super(sb);
sb                111 fs/nfs/inode.c 	if (!(sb->s_mounted = nfs_fhget(sb, &data->root, NULL))) {
sb                112 fs/nfs/inode.c 		sb->s_dev = 0;
sb                116 fs/nfs/inode.c 	return sb;
sb                119 fs/nfs/inode.c void nfs_statfs(struct super_block *sb, struct statfs *buf)
sb                125 fs/nfs/inode.c 	error = nfs_proc_statfs(&sb->u.nfs_sb.s_server, &sb->u.nfs_sb.s_root,
sb                149 fs/nfs/inode.c struct inode *nfs_fhget(struct super_block *sb, struct nfs_fh *fhandle,
sb                156 fs/nfs/inode.c 	if (!sb) {
sb                161 fs/nfs/inode.c 		error = nfs_proc_getattr(&sb->u.nfs_sb.s_server, fhandle,
sb                169 fs/nfs/inode.c 	if (!(inode = iget(sb, fattr->fileid))) {
sb                173 fs/nfs/inode.c 	if (inode->i_dev == sb->s_dev) {
sb                 57 fs/proc/fd.c   	struct super_block * sb;
sb                 67 fs/proc/fd.c   	sb = dir->i_sb;
sb                 78 fs/proc/fd.c   		if (!(*result = iget(sb,(pid << 16)+2))) {
sb                115 fs/proc/fd.c   	if (!(*result = iget(sb,ino)))
sb                 26 fs/proc/inode.c void proc_put_super(struct super_block *sb)
sb                 28 fs/proc/inode.c 	lock_super(sb);
sb                 29 fs/proc/inode.c 	sb->s_dev = 0;
sb                 30 fs/proc/inode.c 	unlock_super(sb);
sb                 58 fs/proc/inode.c void proc_statfs(struct super_block *sb, struct statfs *buf)
sb                 48 fs/super.c     void __wait_on_super(struct super_block * sb)
sb                 52 fs/super.c     	add_wait_queue(&sb->s_wait, &wait);
sb                 55 fs/super.c     	if (sb->s_lock) {
sb                 59 fs/super.c     	remove_wait_queue(&sb->s_wait, &wait);
sb                 65 fs/super.c     	struct super_block * sb;
sb                 67 fs/super.c     	for (sb = super_block + 0 ; sb < super_block + NR_SUPER ; sb++) {
sb                 68 fs/super.c     		if (!sb->s_dev)
sb                 70 fs/super.c     		wait_on_super(sb);
sb                 71 fs/super.c     		if (!sb->s_dev || !sb->s_dirt)
sb                 73 fs/super.c     		if (dev && (dev != sb->s_dev))
sb                 75 fs/super.c     		if (sb->s_op && sb->s_op->write_super)
sb                 76 fs/super.c     			sb->s_op->write_super(sb);
sb                100 fs/super.c     	struct super_block * sb;
sb                106 fs/super.c     	if (!(sb = get_super(dev)))
sb                108 fs/super.c     	if (sb->s_covered) {
sb                112 fs/super.c     	if (sb->s_op && sb->s_op->put_super)
sb                113 fs/super.c     		sb->s_op->put_super(sb);
sb                189 fs/super.c     	struct super_block * sb;
sb                193 fs/super.c     	if (!(sb=get_super(dev)) || !(sb->s_covered))
sb                195 fs/super.c     	if (!sb->s_covered->i_mount)
sb                197 fs/super.c     	if (!fs_may_umount(dev, sb->s_mounted))
sb                199 fs/super.c     	sb->s_covered->i_mount=0;
sb                200 fs/super.c     	iput(sb->s_covered);
sb                201 fs/super.c     	sb->s_covered = NULL;
sb                202 fs/super.c     	iput(sb->s_mounted);
sb                203 fs/super.c     	sb->s_mounted = NULL;
sb                204 fs/super.c     	if (sb->s_op && sb->s_op->write_super && sb->s_dirt)
sb                205 fs/super.c     		sb->s_op->write_super(sb);
sb                285 fs/super.c     	struct super_block * sb;
sb                303 fs/super.c     	sb = read_super(dev,type,flags,data);
sb                304 fs/super.c     	if (!sb || sb->s_covered) {
sb                308 fs/super.c     	sb->s_covered = dir_i;
sb                436 fs/super.c     	struct super_block * sb;
sb                449 fs/super.c     		sb = read_super(ROOT_DEV,fs_type->name,0,NULL);
sb                450 fs/super.c     		if (sb) {
sb                451 fs/super.c     			inode = sb->s_mounted;
sb                453 fs/super.c     			sb->s_covered = inode;
sb                454 fs/super.c     			sb->s_flags = 0;
sb                 79 include/linux/ext_fs.h extern unsigned long ext_count_free_inodes(struct super_block *sb);
sb                 80 include/linux/ext_fs.h extern int ext_new_block(struct super_block * sb);
sb                 81 include/linux/ext_fs.h extern void ext_free_block(struct super_block * sb, int block);
sb                 82 include/linux/ext_fs.h extern unsigned long ext_count_free_blocks(struct super_block *sb);
sb                329 include/linux/fs.h extern struct inode * iget(struct super_block * sb,int nr);
sb                160 include/linux/iso_fs.h extern unsigned long isofs_count_free_inodes(struct super_block *sb);
sb                 36 include/linux/locks.h extern inline void wait_on_super(struct super_block * sb)
sb                 38 include/linux/locks.h 	if (sb->s_lock)
sb                 39 include/linux/locks.h 		__wait_on_super(sb);
sb                 42 include/linux/locks.h extern inline void lock_super(struct super_block * sb)
sb                 44 include/linux/locks.h 	if (sb->s_lock)
sb                 45 include/linux/locks.h 		__wait_on_super(sb);
sb                 46 include/linux/locks.h 	sb->s_lock = 1;
sb                 49 include/linux/locks.h extern inline void unlock_super(struct super_block * sb)
sb                 51 include/linux/locks.h 	sb->s_lock = 0;
sb                 52 include/linux/locks.h 	wake_up(&sb->s_wait);
sb                 88 include/linux/minix_fs.h extern unsigned long minix_count_free_inodes(struct super_block *sb);
sb                 89 include/linux/minix_fs.h extern int minix_new_block(struct super_block * sb);
sb                 90 include/linux/minix_fs.h extern void minix_free_block(struct super_block * sb, int block);
sb                 91 include/linux/minix_fs.h extern unsigned long minix_count_free_blocks(struct super_block *sb);
sb                106 include/linux/msdos_fs.h extern void lock_fat(struct super_block *sb);
sb                107 include/linux/msdos_fs.h extern void unlock_fat(struct super_block *sb);
sb                121 include/linux/msdos_fs.h extern int fat_access(struct super_block *sb,int this,int new_value);
sb                146 include/linux/msdos_fs.h extern void msdos_put_super(struct super_block *sb);
sb                148 include/linux/msdos_fs.h extern void msdos_statfs(struct super_block *sb,struct statfs *buf);
sb                101 include/linux/nfs_fs.h extern struct super_block *nfs_read_super(struct super_block *sb, void *data);
sb                102 include/linux/nfs_fs.h extern struct inode *nfs_fhget(struct super_block *sb, struct nfs_fh *fhandle,
sb                 89 tools/build.c  	struct stat sb;
sb                 95 tools/build.c  			if (stat(argv[4], &sb)) {
sb                 99 tools/build.c  			major_root = major(sb.st_rdev);
sb                100 tools/build.c  			minor_root = minor(sb.st_rdev);