Lines Matching refs:n_group_desc
828 struct buffer_head **o_group_desc, **n_group_desc = NULL; in add_new_gdb() local
890 n_group_desc = kvmalloc((gdb_num + 1) * sizeof(struct buffer_head *), in add_new_gdb()
892 if (!n_group_desc) { in add_new_gdb()
928 memcpy(n_group_desc, o_group_desc, in add_new_gdb()
931 n_group_desc[gdb_num] = gdb_bh; in add_new_gdb()
932 rcu_assign_pointer(EXT4_SB(sb)->s_group_desc, n_group_desc); in add_new_gdb()
945 kvfree(n_group_desc); in add_new_gdb()
961 struct buffer_head **o_group_desc, **n_group_desc; in add_new_gdb_meta_bg() local
970 n_group_desc = kvmalloc((gdb_num + 1) * sizeof(struct buffer_head *), in add_new_gdb_meta_bg()
972 if (!n_group_desc) { in add_new_gdb_meta_bg()
982 memcpy(n_group_desc, o_group_desc, in add_new_gdb_meta_bg()
985 n_group_desc[gdb_num] = gdb_bh; in add_new_gdb_meta_bg()
990 kvfree(n_group_desc); in add_new_gdb_meta_bg()
995 rcu_assign_pointer(EXT4_SB(sb)->s_group_desc, n_group_desc); in add_new_gdb_meta_bg()