Lines Matching refs:new_s0
479 struct assoc_array_shortcut *shortcut, *new_s0; in assoc_array_insert_into_terminal_node() local
744 new_s0 = kzalloc(struct_size(new_s0, index_key, keylen), GFP_KERNEL); in assoc_array_insert_into_terminal_node()
745 if (!new_s0) in assoc_array_insert_into_terminal_node()
747 edit->new_meta[2] = assoc_array_shortcut_to_ptr(new_s0); in assoc_array_insert_into_terminal_node()
749 edit->set[0].to = assoc_array_shortcut_to_ptr(new_s0); in assoc_array_insert_into_terminal_node()
750 new_s0->back_pointer = node->back_pointer; in assoc_array_insert_into_terminal_node()
751 new_s0->parent_slot = node->parent_slot; in assoc_array_insert_into_terminal_node()
752 new_s0->next_node = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_into_terminal_node()
753 new_n0->back_pointer = assoc_array_shortcut_to_ptr(new_s0); in assoc_array_insert_into_terminal_node()
758 new_s0->skip_to_level = level = diff & ~ASSOC_ARRAY_LEVEL_STEP_MASK; in assoc_array_insert_into_terminal_node()
763 new_s0->index_key[i] = in assoc_array_insert_into_terminal_node()
769 new_s0->index_key[keylen - 1] &= ~blank; in assoc_array_insert_into_terminal_node()
796 struct assoc_array_shortcut *shortcut, *new_s0, *new_s1; in assoc_array_insert_mid_shortcut() local
851 new_s0 = kzalloc(struct_size(new_s0, index_key, keylen), in assoc_array_insert_mid_shortcut()
853 if (!new_s0) in assoc_array_insert_mid_shortcut()
855 edit->new_meta[1] = assoc_array_shortcut_to_ptr(new_s0); in assoc_array_insert_mid_shortcut()
856 edit->set[0].to = assoc_array_shortcut_to_ptr(new_s0); in assoc_array_insert_mid_shortcut()
857 new_s0->back_pointer = shortcut->back_pointer; in assoc_array_insert_mid_shortcut()
858 new_s0->parent_slot = shortcut->parent_slot; in assoc_array_insert_mid_shortcut()
859 new_s0->next_node = assoc_array_node_to_ptr(new_n0); in assoc_array_insert_mid_shortcut()
860 new_s0->skip_to_level = diff; in assoc_array_insert_mid_shortcut()
862 new_n0->back_pointer = assoc_array_shortcut_to_ptr(new_s0); in assoc_array_insert_mid_shortcut()
865 memcpy(new_s0->index_key, shortcut->index_key, in assoc_array_insert_mid_shortcut()
866 flex_array_size(new_s0, index_key, keylen)); in assoc_array_insert_mid_shortcut()
870 new_s0->index_key[keylen - 1] &= ~blank; in assoc_array_insert_mid_shortcut()