Fork me on GitHub
minix              98 fs/minix/bitmaps.c 	map = 1 + SUPERBLOCK + sb->u.minix.sb.s_imap_blocks;
minix             100 fs/minix/bitmaps.c 	if(!(block = minix_find_first_zero(sb, map, sb->u.minix.nzones, map + sb->u.minix.sb.s_zmap_blocks))) {
minix             106 fs/minix/bitmaps.c 	block += sb->u.minix.sb.s_firstdatazone - 1;
minix             126 fs/minix/bitmaps.c 	if(block < sb->u.minix.sb.s_firstdatazone || block > sb->u.minix.nzones) {
minix             133 fs/minix/bitmaps.c 	map = 1 + SUPERBLOCK + sb->u.minix.sb.s_imap_blocks;
minix             134 fs/minix/bitmaps.c 	block -= sb->u.minix.sb.s_firstdatazone - 1;
minix             154 fs/minix/bitmaps.c 	return count_bits(sb, offset, sb->u.minix.sb.s_ninodes, offset + sb->u.minix.sb.s_imap_blocks, COUNT);
minix             161 fs/minix/bitmaps.c 	offset = 1 + SUPERBLOCK + sb->u.minix.sb.s_imap_blocks;
minix             162 fs/minix/bitmaps.c 	return count_bits(sb, offset, sb->u.minix.nzones, offset + sb->u.minix.sb.s_zmap_blocks, COUNT);
minix             134 fs/minix/dir.c 				doffset += i->sb->u.minix.dirsize;
minix             135 fs/minix/dir.c 				offset += i->sb->u.minix.dirsize;
minix              25 fs/minix/inode.c 	if(i->sb->u.minix.version == 1) {
minix              34 fs/minix/inode.c 	if(i->sb->u.minix.version == 1) {
minix              43 fs/minix/inode.c 	if(i->sb->u.minix.version == 1) {
minix              52 fs/minix/inode.c 	if(i->sb->u.minix.version == 1) {
minix              61 fs/minix/inode.c 	if(i->sb->u.minix.version == 1) {
minix              70 fs/minix/inode.c 	if(i->sb->u.minix.version == 1) {
minix              28 fs/minix/namei.c 	doffset = dir->sb->u.minix.dirsize * 2;	/* accept only "." and ".." */
minix              48 fs/minix/namei.c 				doffset += dir->sb->u.minix.dirsize;
minix              88 fs/minix/namei.c 							dir->i_size += dir->sb->u.minix.dirsize;
minix             104 fs/minix/namei.c 				doffset += dir->sb->u.minix.dirsize;
minix             130 fs/minix/namei.c 		dir->i_size += dir->sb->u.minix.dirsize;
minix             192 fs/minix/namei.c 				doffset += dir->sb->u.minix.dirsize;
minix             267 fs/minix/namei.c 	for(n = 0; n < i_old->sb->u.minix.namelen; n++) {
minix             273 fs/minix/namei.c 	for(; n < i_old->sb->u.minix.namelen; n++) {
minix             356 fs/minix/namei.c 	if(i->sb->u.minix.version == 1) {
minix             357 fs/minix/namei.c 		i->u.minix.u.i1_zone[0] = block;
minix             359 fs/minix/namei.c 		i->u.minix.u.i2_zone[0] = block;
minix             379 fs/minix/namei.c 	for(n = 0; n < i->sb->u.minix.namelen; n++) {
minix             385 fs/minix/namei.c 	for(; n < i->sb->u.minix.namelen; n++) {
minix             418 fs/minix/namei.c 	if(strlen(name) > dir->sb->u.minix.namelen) {
minix             464 fs/minix/namei.c 	for(n = 0; n < i->sb->u.minix.namelen; n++) {
minix             470 fs/minix/namei.c 	for(; n < i->sb->u.minix.namelen; n++) {
minix             478 fs/minix/namei.c 	i->i_size += i->sb->u.minix.dirsize;
minix             480 fs/minix/namei.c 	d_new = (struct minix_dir_entry *)(buf_new->data + i->sb->u.minix.dirsize);
minix             485 fs/minix/namei.c 	i->i_size += i->sb->u.minix.dirsize;
minix             521 fs/minix/namei.c 	for(n = 0; n < i->sb->u.minix.namelen; n++) {
minix             527 fs/minix/namei.c 	for(; n < i->sb->u.minix.namelen; n++) {
minix             594 fs/minix/namei.c 	for(n = 0; n < i->sb->u.minix.namelen; n++) {
minix             600 fs/minix/namei.c 	for(; n < i->sb->u.minix.namelen; n++) {
minix              73 fs/minix/super.c 	statfsbuf->f_type = sb->u.minix.sb.s_magic;
minix              75 fs/minix/super.c 	statfsbuf->f_blocks = sb->u.minix.nzones << sb->u.minix.sb.s_log_zone_size;
minix              76 fs/minix/super.c 	statfsbuf->f_bfree = sb->u.minix.nzones - minix_count_free_blocks(sb);
minix              79 fs/minix/super.c 	statfsbuf->f_files = sb->u.minix.sb.s_ninodes;
minix              80 fs/minix/super.c 	statfsbuf->f_ffree = sb->u.minix.sb.s_ninodes - minix_count_free_inodes(sb);
minix              82 fs/minix/super.c 	statfsbuf->f_namelen = sb->u.minix.namelen;
minix              96 fs/minix/super.c 	memcpy_b(&sb->u.minix.sb, buf->data, sizeof(struct minix_super_block));
minix              98 fs/minix/super.c 	switch(sb->u.minix.sb.s_magic) {
minix             100 fs/minix/super.c 			sb->u.minix.namelen = 14;
minix             101 fs/minix/super.c 			sb->u.minix.dirsize = sizeof(__u16) + sb->u.minix.namelen;
minix             102 fs/minix/super.c 			sb->u.minix.version = 1;
minix             103 fs/minix/super.c 			sb->u.minix.nzones = sb->u.minix.sb.s_nzones;
minix             107 fs/minix/super.c 			sb->u.minix.namelen = 30;
minix             108 fs/minix/super.c 			sb->u.minix.dirsize = sizeof(__u16) + sb->u.minix.namelen;
minix             109 fs/minix/super.c 			sb->u.minix.version = 1;
minix             110 fs/minix/super.c 			sb->u.minix.nzones = sb->u.minix.sb.s_nzones;
minix             114 fs/minix/super.c 			sb->u.minix.namelen = 14;
minix             115 fs/minix/super.c 			sb->u.minix.dirsize = sizeof(__u16) + sb->u.minix.namelen;
minix             116 fs/minix/super.c 			sb->u.minix.version = 2;
minix             117 fs/minix/super.c 			sb->u.minix.nzones = sb->u.minix.sb.s_zones;
minix             121 fs/minix/super.c 			sb->u.minix.namelen = 30;
minix             122 fs/minix/super.c 			sb->u.minix.dirsize = sizeof(__u16) + sb->u.minix.namelen;
minix             123 fs/minix/super.c 			sb->u.minix.version = 2;
minix             124 fs/minix/super.c 			sb->u.minix.nzones = sb->u.minix.sb.s_zones;
minix             136 fs/minix/super.c 	sb->s_blocksize = BLKSIZE_1K << sb->u.minix.sb.s_log_zone_size;
minix             159 fs/minix/super.c 	if(sb->u.minix.version == 1) {
minix             162 fs/minix/super.c 	if(sb->u.minix.version == 2) {
minix             166 fs/minix/super.c 	if(sb->u.minix.sb.s_imap_blocks > maps) {
minix             167 fs/minix/super.c 		printk("ERROR: %s(): number of imap blocks (%d) is greater than %d!\n", __FUNCTION__, sb->u.minix.sb.s_imap_blocks, maps);
minix             172 fs/minix/super.c 	if(sb->u.minix.sb.s_zmap_blocks > maps) {
minix             173 fs/minix/super.c 		printk("ERROR: %s(): number of zmap blocks (%d) is greater than %d!\n", __FUNCTION__, sb->u.minix.sb.s_zmap_blocks, maps);
minix             187 fs/minix/super.c 	check_superblock(&sb->u.minix.sb);
minix             190 fs/minix/super.c 		sb->u.minix.sb.s_state &= ~MINIX_VALID_FS;
minix             191 fs/minix/super.c 		memcpy_b(buf->data, &sb->u.minix.sb, sizeof(struct minix_super_block));
minix             218 fs/minix/super.c 		sb->u.minix.sb.s_state |= MINIX_VALID_FS;
minix             223 fs/minix/super.c 		memcpy_b(&sb->u.minix.sb, minixsb, sizeof(struct minix_super_block));
minix             224 fs/minix/super.c 		sb->u.minix.sb.s_state &= ~MINIX_VALID_FS;
minix             244 fs/minix/super.c 	memcpy_b(buf->data, &sb->u.minix.sb, sizeof(struct minix_super_block));
minix             259 fs/minix/super.c 	sb->u.minix.sb.s_state |= MINIX_VALID_FS;
minix              77 fs/minix/symlink.c 	if(i->sb->u.minix.version == 1) {
minix              78 fs/minix/symlink.c 		if(!(buf = bread(i->dev, i->u.minix.u.i1_zone[0], blksize))) {
minix              83 fs/minix/symlink.c 		if(!(buf = bread(i->dev, i->u.minix.u.i2_zone[0], blksize))) {
minix             116 fs/minix/symlink.c 	if(i->sb->u.minix.version == 1) {
minix             117 fs/minix/symlink.c 		if(!(buf = bread(i->dev, i->u.minix.u.i1_zone[0], i->sb->s_blocksize))) {
minix             122 fs/minix/symlink.c 		if(!(buf = bread(i->dev, i->u.minix.u.i2_zone[0], i->sb->s_blocksize))) {
minix              58 fs/minix/v1_inode.c 	block = 1 + SUPERBLOCK + i->sb->u.minix.sb.s_imap_blocks + i->sb->u.minix.sb.s_zmap_blocks + (i->inode - 1) / MINIX_INODES_PER_BLOCK(i->sb);
minix              74 fs/minix/v1_inode.c 	memcpy_b(i->u.minix.u.i1_zone, ii->i_zone, sizeof(ii->i_zone));
minix             121 fs/minix/v1_inode.c 	block = 1 + SUPERBLOCK + i->sb->u.minix.sb.s_imap_blocks + i->sb->u.minix.sb.s_zmap_blocks + (i->inode - 1) / MINIX_INODES_PER_BLOCK(i->sb);
minix             138 fs/minix/v1_inode.c 		memcpy_b(ii->i_zone, i->u.minix.u.i1_zone, sizeof(i->u.minix.u.i1_zone));
minix             156 fs/minix/v1_inode.c 	if(!(inode = minix_find_first_zero(sb, offset, sb->u.minix.sb.s_ninodes, offset + sb->u.minix.sb.s_imap_blocks))) {
minix             232 fs/minix/v1_inode.c 		if(!i->u.minix.u.i1_zone[block] && mode == FOR_WRITING) {
minix             243 fs/minix/v1_inode.c 			i->u.minix.u.i1_zone[block] = newblock;
minix             245 fs/minix/v1_inode.c 		return i->u.minix.u.i1_zone[block];
minix             248 fs/minix/v1_inode.c 	if(!i->u.minix.u.i1_zone[level]) {
minix             260 fs/minix/v1_inode.c 			i->u.minix.u.i1_zone[level] = newblock;
minix             265 fs/minix/v1_inode.c 	if(!(buf = bread(i->dev, i->u.minix.u.i1_zone[level], blksize))) {
minix             353 fs/minix/v1_inode.c 			if(i->u.minix.u.i1_zone[n]) {
minix             354 fs/minix/v1_inode.c 				minix_bfree(i->sb, i->u.minix.u.i1_zone[n]);
minix             355 fs/minix/v1_inode.c 				i->u.minix.u.i1_zone[n] = 0;
minix             365 fs/minix/v1_inode.c 		if(i->u.minix.u.i1_zone[MINIX_IND_BLOCK]) {
minix             366 fs/minix/v1_inode.c 			free_zone(i, i->u.minix.u.i1_zone[MINIX_IND_BLOCK], block);
minix             368 fs/minix/v1_inode.c 				minix_bfree(i->sb, i->u.minix.u.i1_zone[MINIX_IND_BLOCK]);
minix             369 fs/minix/v1_inode.c 				i->u.minix.u.i1_zone[MINIX_IND_BLOCK] = 0;
minix             379 fs/minix/v1_inode.c 	if(i->u.minix.u.i1_zone[MINIX_DIND_BLOCK]) {
minix             380 fs/minix/v1_inode.c 		if(!(buf = bread(i->dev, i->u.minix.u.i1_zone[MINIX_DIND_BLOCK], i->sb->s_blocksize))) {
minix             381 fs/minix/v1_inode.c 			printk("%s(): error reading block %d.\n", __FUNCTION__, i->u.minix.u.i1_zone[MINIX_DIND_BLOCK]);
minix             396 fs/minix/v1_inode.c 			minix_bfree(i->sb, i->u.minix.u.i1_zone[MINIX_DIND_BLOCK]);
minix             397 fs/minix/v1_inode.c 			i->u.minix.u.i1_zone[MINIX_DIND_BLOCK] = 0;
minix              59 fs/minix/v2_inode.c 	block = 1 + SUPERBLOCK + i->sb->u.minix.sb.s_imap_blocks + i->sb->u.minix.sb.s_zmap_blocks + (i->inode - 1) / MINIX2_INODES_PER_BLOCK(i->sb);
minix              75 fs/minix/v2_inode.c 	memcpy_b(i->u.minix.u.i2_zone, ii->i_zone, sizeof(ii->i_zone));
minix             122 fs/minix/v2_inode.c 	block = 1 + SUPERBLOCK + i->sb->u.minix.sb.s_imap_blocks + i->sb->u.minix.sb.s_zmap_blocks + (i->inode - 1) / MINIX2_INODES_PER_BLOCK(i->sb);
minix             141 fs/minix/v2_inode.c 		memcpy_b(ii->i_zone, i->u.minix.u.i2_zone, sizeof(i->u.minix.u.i2_zone));
minix             159 fs/minix/v2_inode.c 	if(!(inode = minix_find_first_zero(sb, offset, sb->u.minix.sb.s_ninodes, offset + sb->u.minix.sb.s_imap_blocks))) {
minix             238 fs/minix/v2_inode.c 		if(!i->u.minix.u.i2_zone[block] && mode == FOR_WRITING) {
minix             249 fs/minix/v2_inode.c 			i->u.minix.u.i2_zone[block] = newblock;
minix             251 fs/minix/v2_inode.c 		return i->u.minix.u.i2_zone[block];
minix             254 fs/minix/v2_inode.c 	if(!i->u.minix.u.i2_zone[level]) {
minix             266 fs/minix/v2_inode.c 			i->u.minix.u.i2_zone[level] = newblock;
minix             271 fs/minix/v2_inode.c 	if(!(buf = bread(i->dev, i->u.minix.u.i2_zone[level], blksize))) {
minix             416 fs/minix/v2_inode.c 			if(i->u.minix.u.i2_zone[n]) {
minix             417 fs/minix/v2_inode.c 				minix_bfree(i->sb, i->u.minix.u.i2_zone[n]);
minix             418 fs/minix/v2_inode.c 				i->u.minix.u.i2_zone[n] = 0;
minix             428 fs/minix/v2_inode.c 		if(i->u.minix.u.i2_zone[MINIX_IND_BLOCK]) {
minix             429 fs/minix/v2_inode.c 			free_zone(i, i->u.minix.u.i2_zone[MINIX_IND_BLOCK], block);
minix             431 fs/minix/v2_inode.c 				minix_bfree(i->sb, i->u.minix.u.i2_zone[MINIX_IND_BLOCK]);
minix             432 fs/minix/v2_inode.c 				i->u.minix.u.i2_zone[MINIX_IND_BLOCK] = 0;
minix             442 fs/minix/v2_inode.c 	if(i->u.minix.u.i2_zone[MINIX_DIND_BLOCK]) {
minix             443 fs/minix/v2_inode.c 		if(!(buf = bread(i->dev, i->u.minix.u.i2_zone[MINIX_DIND_BLOCK], i->sb->s_blocksize))) {
minix             444 fs/minix/v2_inode.c 			printk("%s(): error reading block %d.\n", __FUNCTION__, i->u.minix.u.i2_zone[MINIX_DIND_BLOCK]);
minix             459 fs/minix/v2_inode.c 			minix_bfree(i->sb, i->u.minix.u.i2_zone[MINIX_DIND_BLOCK]);
minix             460 fs/minix/v2_inode.c 			i->u.minix.u.i2_zone[MINIX_DIND_BLOCK] = 0;
minix              99 include/fiwix/fs.h 		struct minix_i_info minix;
minix             127 include/fiwix/fs.h 		struct minix_sb_info minix;