Searched refs:sbbuf (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_mkfs.c77 unsigned char *sbbuf; local
81 sbbuf = (unsigned char *)sb;
85 sbbuf = ped_malloc(1024 << EXT2_SUPER_LOG_BLOCK_SIZE(*sb));
86 if (!(handle->ops->read)(handle->cookie, sbbuf, 0, 1))
88 memcpy (sbbuf+1024, sb, 1024);
90 sb_for_io = (struct ext2_super_block*) (sbbuf + 1024);
110 if (!handle->ops->write(handle->cookie, sbbuf,
122 free(sbbuf);

Completed in 129 milliseconds