Lines Matching refs:mmp_buf
187 if (fs->mmp_buf == NULL) { in ext2fs_mmp_reset()
188 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_reset()
193 memset(fs->mmp_buf, 0, fs->blocksize); in ext2fs_mmp_reset()
194 mmp_s = fs->mmp_buf; in ext2fs_mmp_reset()
211 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_reset()
251 if (fs->mmp_buf == NULL) { in ext2fs_mmp_init()
252 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_init()
257 retval = ext2fs_alloc_block2(fs, 0, fs->mmp_buf, &mmp_block); in ext2fs_mmp_init()
289 if (fs->mmp_buf == NULL) { in ext2fs_mmp_start()
290 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_start()
295 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
299 mmp_s = fs->mmp_buf; in ext2fs_mmp_start()
327 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
349 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
355 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
365 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
394 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_stop()
399 mmp = fs->mmp_buf; in ext2fs_mmp_stop()
450 mmp = fs->mmp_buf; in ext2fs_mmp_update2()
458 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_update2()