Home
last modified time | relevance | path

Searched refs:alloc_copy (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ocfs2/
H A Dlocalalloc.c374 struct ocfs2_dinode *alloc_copy = NULL; in ocfs2_shutdown_local_alloc() local
426 alloc_copy = kmemdup(alloc, bh->b_size, GFP_NOFS); in ocfs2_shutdown_local_alloc()
427 if (!alloc_copy) { in ocfs2_shutdown_local_alloc()
446 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_shutdown_local_alloc()
466 kfree(alloc_copy); in ocfs2_shutdown_local_alloc()
478 struct ocfs2_dinode **alloc_copy) in ocfs2_begin_local_alloc_recovery() argument
487 *alloc_copy = NULL; in ocfs2_begin_local_alloc_recovery()
507 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL); in ocfs2_begin_local_alloc_recovery()
508 if (!(*alloc_copy)) { in ocfs2_begin_local_alloc_recovery()
512 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery()
[all …]
H A Dlocalalloc.h22 struct ocfs2_dinode **alloc_copy);