Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 25 of 236) sorted by relevance

12345678910

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/detail/cc_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) in resize_imp() argument
84 if (new_size == m_num_e) in resize_imp()
91 ranged_hash_fn_base::notify_resized(new_size); in resize_imp()
96 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); in resize_imp()
97 m_num_e = new_size; in resize_imp()
106 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); in resize_imp()
107 Resize_Policy::notify_resized(new_size); in resize_imp()
114 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old… in resize_imp_no_exceptions() argument
126 m_num_e = new_size; in resize_imp_no_exceptions()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/detail/cc_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) in resize_imp() argument
84 if (new_size == m_num_e) in resize_imp()
91 ranged_hash_fn_base::notify_resized(new_size); in resize_imp()
96 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); in resize_imp()
97 m_num_e = new_size; in resize_imp()
106 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); in resize_imp()
107 Resize_Policy::notify_resized(new_size); in resize_imp()
114 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old… in resize_imp_no_exceptions() argument
126 m_num_e = new_size; in resize_imp_no_exceptions()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/detail/binary_heap_/
H A Dsplit_join_fn_imps.hpp61 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); in split() local
69 a_entries = s_entry_allocator.allocate(new_size); in split()
75 s_entry_allocator.deallocate(a_entries, new_size); in split()
86 _GLIBCXX_DEBUG_ASSERT(new_size >= left); in split()
93 m_actual_size = new_size; in split()
121 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); in join() local
128 a_entries = s_entry_allocator.allocate(new_size); in join()
134 s_entry_allocator.deallocate(a_entries, new_size); in join()
149 m_actual_size = new_size; in join()
150 resize_policy::notify_arbitrary(new_size); in join()
H A Derase_fn_imps.hpp53 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); in clear()
54 entry_pointer new_entries = s_entry_allocator.allocate(new_size); in clear()
55 resize_policy::notify_arbitrary(new_size); in clear()
57 m_actual_size = new_size; in clear()
118 const size_type new_size = in erase_if()
121 entry_pointer new_entries = s_entry_allocator.allocate(new_size); in erase_if()
124 m_actual_size = new_size; in erase_if()
169 const size_type new_size = resize_policy::get_new_size_for_shrink(); in resize_for_erase_if_needed()
170 entry_pointer new_entries = s_entry_allocator.allocate(new_size); in resize_for_erase_if_needed()
176 m_actual_size = new_size; in resize_for_erase_if_needed()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/detail/binary_heap_/
H A Dsplit_join_fn_imps.hpp61 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); in split() local
69 a_entries = s_entry_allocator.allocate(new_size); in split()
75 s_entry_allocator.deallocate(a_entries, new_size); in split()
86 _GLIBCXX_DEBUG_ASSERT(new_size >= left); in split()
93 m_actual_size = new_size; in split()
121 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); in join() local
128 a_entries = s_entry_allocator.allocate(new_size); in join()
134 s_entry_allocator.deallocate(a_entries, new_size); in join()
149 m_actual_size = new_size; in join()
150 resize_policy::notify_arbitrary(new_size); in join()
H A Derase_fn_imps.hpp53 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); in clear()
54 entry_pointer new_entries = s_entry_allocator.allocate(new_size); in clear()
55 resize_policy::notify_arbitrary(new_size); in clear()
57 m_actual_size = new_size; in clear()
118 const size_type new_size = in erase_if()
121 entry_pointer new_entries = s_entry_allocator.allocate(new_size); in erase_if()
124 m_actual_size = new_size; in erase_if()
169 const size_type new_size = resize_policy::get_new_size_for_shrink(); in resize_for_erase_if_needed()
170 entry_pointer new_entries = s_entry_allocator.allocate(new_size); in resize_for_erase_if_needed()
176 m_actual_size = new_size; in resize_for_erase_if_needed()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) in resize_imp() argument
87 if (new_size == m_num_e) in resize_imp()
95 a_entries_resized = s_entry_allocator.allocate(new_size); in resize_imp()
97 ranged_probe_fn_base::notify_resized(new_size); in resize_imp()
98 m_num_e = new_size; in resize_imp()
109 erase_all_valid_entries(a_entries_resized, new_size); in resize_imp()
111 s_entry_allocator.deallocate(a_entries_resized, new_size); in resize_imp()
121 Resize_Policy::notify_resized(new_size); in resize_imp()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp81 resize_imp(size_type new_size) in resize_imp() argument
87 if (new_size == m_num_e) in resize_imp()
95 a_entries_resized = s_entry_allocator.allocate(new_size); in resize_imp()
97 ranged_probe_fn_base::notify_resized(new_size); in resize_imp()
98 m_num_e = new_size; in resize_imp()
109 erase_all_valid_entries(a_entries_resized, new_size); in resize_imp()
111 s_entry_allocator.deallocate(a_entries_resized, new_size); in resize_imp()
121 Resize_Policy::notify_resized(new_size); in resize_imp()
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_inode_fork.c356 size_t new_size; in xfs_iroot_realloc() local
374 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, rec_diff); in xfs_iroot_realloc()
375 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
376 ifp->if_broot_bytes = (int)new_size; in xfs_iroot_realloc()
388 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()
389 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
394 (int)new_size); in xfs_iroot_realloc()
395 ifp->if_broot_bytes = (int)new_size; in xfs_iroot_realloc()
412 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()
414 new_size = 0; in xfs_iroot_realloc()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/detail/ov_tree_map_/
H A Derase_fn_imps.hpp78 size_type new_size = 0; in erase_if() local
83 ++new_size; in erase_if()
87 if (new_size == 0) in erase_if()
93 value_vector a_new_values = s_value_alloc.allocate(new_size); in erase_if()
95 cond_dtor<size_type> cd(a_new_values, target_it, new_size); in erase_if()
109 reallocate_metadata((node_update*)this, new_size); in erase_if()
117 m_size = new_size; in erase_if()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/detail/ov_tree_map_/
H A Derase_fn_imps.hpp78 size_type new_size = 0; in erase_if() local
83 ++new_size; in erase_if()
87 if (new_size == 0) in erase_if()
93 value_vector a_new_values = s_value_alloc.allocate(new_size); in erase_if()
95 cond_dtor<size_type> cd(a_new_values, target_it, new_size); in erase_if()
109 reallocate_metadata((node_update*)this, new_size); in erase_if()
117 m_size = new_size; in erase_if()
/OK3568_Linux_fs/kernel/drivers/staging/most/dim2/
H A Ddim2.c455 u16 new_size; in configure_channel() local
474 new_size = dim_norm_ctrl_async_buffer_size(buf_size); in configure_channel()
475 if (new_size == 0) { in configure_channel()
479 ccfg->buffer_size = new_size; in configure_channel()
480 if (new_size != buf_size) in configure_channel()
482 hdm_ch->name, buf_size, new_size); in configure_channel()
485 is_tx ? new_size * 2 : new_size); in configure_channel()
488 new_size = dim_norm_ctrl_async_buffer_size(buf_size); in configure_channel()
489 if (new_size == 0) { in configure_channel()
493 ccfg->buffer_size = new_size; in configure_channel()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/detail/resize_policy/
H A Dhash_load_check_resize_trigger_imp.hpp152 notify_resized(size_type new_size) in notify_resized() argument
155 m_next_grow_size = size_type(m_load_max * new_size - 1); in notify_resized()
156 m_next_shrink_size = size_type(m_load_min * new_size); in notify_resized()
160 << "1 " << new_size << std::endl in notify_resized()
173 notify_externally_resized(size_type new_size) in notify_externally_resized() argument
176 size_type new_grow_size = size_type(m_load_max * new_size - 1); in notify_externally_resized()
177 size_type new_shrink_size = size_type(m_load_min * new_size); in notify_externally_resized()
181 << "1 " << new_size << std::endl in notify_externally_resized()
H A Dhash_standard_resize_policy_imp.hpp169 notify_resized(size_type new_size) in notify_resized() argument
171 trigger_policy_base::notify_resized(new_size); in notify_resized()
172 m_size = new_size; in notify_resized()
187 resize(size_type new_size) in resize() argument
191 while (actual_size < new_size) in resize()
195 if (pot == actual_size && pot < new_size) in resize()
H A Dcc_hash_max_collision_check_resize_trigger_imp.hpp140 notify_resized(size_type new_size) in notify_resized() argument
142 m_size = new_size; in notify_resized()
146 << static_cast<unsigned long>(new_size) << std::endl; in notify_resized()
173 notify_externally_resized(size_type new_size) in notify_externally_resized() argument
174 { notify_resized(new_size); } in notify_externally_resized()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/detail/resize_policy/
H A Dhash_load_check_resize_trigger_imp.hpp152 notify_resized(size_type new_size) in notify_resized() argument
155 m_next_grow_size = size_type(m_load_max * new_size - 1); in notify_resized()
156 m_next_shrink_size = size_type(m_load_min * new_size); in notify_resized()
160 << "1 " << new_size << std::endl in notify_resized()
173 notify_externally_resized(size_type new_size) in notify_externally_resized() argument
176 size_type new_grow_size = size_type(m_load_max * new_size - 1); in notify_externally_resized()
177 size_type new_shrink_size = size_type(m_load_min * new_size); in notify_externally_resized()
181 << "1 " << new_size << std::endl in notify_externally_resized()
H A Dhash_standard_resize_policy_imp.hpp169 notify_resized(size_type new_size) in notify_resized() argument
171 trigger_policy_base::notify_resized(new_size); in notify_resized()
172 m_size = new_size; in notify_resized()
187 resize(size_type new_size) in resize() argument
191 while (actual_size < new_size) in resize()
195 if (pot == actual_size && pot < new_size) in resize()
H A Dcc_hash_max_collision_check_resize_trigger_imp.hpp140 notify_resized(size_type new_size) in notify_resized() argument
142 m_size = new_size; in notify_resized()
146 << static_cast<unsigned long>(new_size) << std::endl; in notify_resized()
173 notify_externally_resized(size_type new_size) in notify_externally_resized() argument
174 { notify_resized(new_size); } in notify_externally_resized()
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A Dobjectid.c183 int new_size = (s->s_blocksize - SB_SIZE) / sizeof(__u32) / 2 * 2; in reiserfs_convert_objectid_map_v1() local
193 if (cur_size > new_size) { in reiserfs_convert_objectid_map_v1()
198 objectid_map[new_size - 1] = objectid_map[cur_size - 1]; in reiserfs_convert_objectid_map_v1()
199 set_sb_oid_cursize(disk_sb, new_size); in reiserfs_convert_objectid_map_v1()
202 for (i = new_size - 1; i >= 0; i--) { in reiserfs_convert_objectid_map_v1()
203 objectid_map[i + (old_max - new_size)] = objectid_map[i]; in reiserfs_convert_objectid_map_v1()
207 set_sb_oid_maxsize(disk_sb, new_size); in reiserfs_convert_objectid_map_v1()
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dlexer.l58 int new_size = text_size + size + 1; in append_string() local
59 if (new_size > text_asize) { in append_string()
60 new_size += START_STRSIZE - 1; in append_string()
61 new_size &= -START_STRSIZE; in append_string()
62 text = xrealloc(text, new_size); in append_string()
63 text_asize = new_size; in append_string()
/OK3568_Linux_fs/kernel/mm/
H A Dlist_lru.c392 int old_size, int new_size) in memcg_update_list_lru_node() argument
396 BUG_ON(old_size > new_size); in memcg_update_list_lru_node()
400 new = kvmalloc(sizeof(*new) + new_size * sizeof(void *), GFP_KERNEL); in memcg_update_list_lru_node()
404 if (__memcg_init_list_lru_node(new, old_size, new_size)) { in memcg_update_list_lru_node()
427 int old_size, int new_size) in memcg_cancel_update_list_lru_node() argument
435 __memcg_destroy_list_lru_node(memcg_lrus, old_size, new_size); in memcg_cancel_update_list_lru_node()
473 int old_size, int new_size) in memcg_update_list_lru() argument
482 old_size, new_size)) in memcg_update_list_lru()
492 old_size, new_size); in memcg_update_list_lru()
498 int old_size, int new_size) in memcg_cancel_update_list_lru() argument
[all …]
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dzconf.l51 int new_size = text_size + size + 1; in append_string() local
52 if (new_size > text_asize) { in append_string()
53 new_size += START_STRSIZE - 1; in append_string()
54 new_size &= -START_STRSIZE; in append_string()
55 text = xrealloc(text, new_size); in append_string()
56 text_asize = new_size; in append_string()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dtsb.c370 static unsigned long tsb_size_to_rss_limit(unsigned long new_size) in tsb_size_to_rss_limit() argument
372 unsigned long num_ents = (new_size / sizeof(struct tsb)); in tsb_size_to_rss_limit()
399 unsigned long new_size, old_size, flags; in tsb_grow() local
409 for (new_size = 8192; new_size < max_tsb_size; new_size <<= 1UL) { in tsb_grow()
410 new_rss_limit = tsb_size_to_rss_limit(new_size); in tsb_grow()
416 if (new_size == max_tsb_size) in tsb_grow()
421 if (new_size > (PAGE_SIZE * 2)) in tsb_grow()
435 new_size = 8192; in tsb_grow()
449 tsb_init(new_tsb, new_size); in tsb_grow()
509 copy_tsb(old_tsb_base, old_size, new_tsb_base, new_size, in tsb_grow()
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dzconf.l51 int new_size = text_size + size + 1; in append_string() local
52 if (new_size > text_asize) { in append_string()
53 new_size += START_STRSIZE - 1; in append_string()
54 new_size &= -START_STRSIZE; in append_string()
55 text = realloc(text, new_size); in append_string()
56 text_asize = new_size; in append_string()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dreplay.c61 loff_t new_size; member
190 min_blk = r->new_size / UBIFS_BLOCK_SIZE; in trun_remove_range()
191 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) in trun_remove_range()
254 r->new_size); in apply_replay_entry()
353 loff_t new_size) in insert_node() argument
375 r->new_size = new_size; in insert_node()
597 loff_t new_size = le64_to_cpu(ino->size); in replay_bud() local
603 &used, 0, new_size); in replay_bud()
609 loff_t new_size = le32_to_cpu(dn->size) + in replay_bud() local
615 &used, 0, new_size); in replay_bud()
[all …]

12345678910