The world's most popular open source database
#include "univ.i"Include dependency graph for ut0byte.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | dulint_struct |
Defines | |
| #define | UT_DULINT_INC(D) |
| #define | UT_DULINT_EQ(D1, D2) |
Typedefs | |
| typedef dulint_struct | dulint |
Functions | |
| UNIV_INLINE dulint | ut_dulint_create (ulint high, ulint low) |
| UNIV_INLINE ulint | ut_dulint_get_high (dulint d) |
| UNIV_INLINE ulint | ut_dulint_get_low (dulint d) |
| UNIV_INLINE ib_longlong | ut_conv_dulint_to_longlong (dulint d) |
| UNIV_INLINE ibool | ut_dulint_is_zero (dulint a) |
| UNIV_INLINE int | ut_dulint_cmp (dulint a, dulint b) |
| UNIV_INLINE dulint | ut_dulint_get_max (dulint a, dulint b) |
| UNIV_INLINE dulint | ut_dulint_get_min (dulint a, dulint b) |
| UNIV_INLINE dulint | ut_dulint_add (dulint a, ulint b) |
| UNIV_INLINE dulint | ut_dulint_subtract (dulint a, ulint b) |
| UNIV_INLINE ulint | ut_dulint_minus (dulint a, dulint b) |
| UNIV_INLINE dulint | ut_dulint_align_down (dulint n, ulint align_no) |
| UNIV_INLINE dulint | ut_dulint_align_up (dulint n, ulint align_no) |
| void | ut_dulint_sort (dulint *arr, dulint *aux_arr, ulint low, ulint high) |
| UNIV_INLINE ulint | ut_calc_align (ulint n, ulint align_no) |
| UNIV_INLINE ulint | ut_calc_align_down (ulint n, ulint align_no) |
| UNIV_INLINE void * | ut_align (void *ptr, ulint align_no) |
| UNIV_INLINE void * | ut_align_down (void *ptr, ulint align_no) __attribute__((const )) |
| UNIV_INLINE ulint | ut_align_offset (const void *ptr, ulint align_no) __attribute__((const )) |
| UNIV_INLINE ibool | ut_bit_get_nth (ulint a, ulint n) |
| UNIV_INLINE ulint | ut_bit_set_nth (ulint a, ulint n, ibool val) |
Variables | |
| dulint | ut_dulint_zero |
| dulint | ut_dulint_max |
| #define UT_DULINT_EQ | ( | D1, | |||
| D2 | ) |
Value:
(((D1).low == (D2).low)\
&& ((D1).high == (D2).high))
Definition at line 164 of file ut0byte.h.
Referenced by buf_page_optimistic_get_func(), and row_ins_step().
| #define UT_DULINT_INC | ( | D | ) |
Value:
{\
if ((D).low == 0xFFFFFFFFUL) {\
(D).high = (D).high + 1;\
(D).low = 0;\
} else {\
(D).low = (D).low + 1;\
}\
}
Definition at line 153 of file ut0byte.h.
Referenced by trx_undo_report_row_operation().
| typedef struct dulint_struct dulint |
| UNIV_INLINE void* ut_align | ( | void * | ptr, | |
| ulint | align_no | |||
| ) |
Referenced by buf_pool_init(), fil_create_new_single_table_tablespace(), fil_extend_space_to_desired_size(), fil_load_single_table_tablespace(), fil_node_open_file(), fil_open_single_table_tablespace(), fil_read_flushed_lsn_and_arch_log_no(), fil_reset_too_high_lsns(), fil_write_lsn_and_arch_no_to_file(), log_check_log_recs(), log_group_init(), log_init(), os_awe_allocate_physical_mem(), os_awe_allocate_virtual_mem_window(), os_file_set_size(), recv_sys_init(), trx_doublewrite_init(), and trx_sys_doublewrite_init_or_restore_pages().
Here is the caller graph for this function:

| UNIV_INLINE void* ut_align_down | ( | void * | ptr, | |
| ulint | align_no | |||
| ) | const |
Referenced by btr_cur_update_in_place_log(), btr_pcur_store_position(), log_check_log_recs(), log_close(), and log_write_low().
Here is the caller graph for this function:

Referenced by btr_cur_del_mark_set_clust_rec_log(), btr_cur_del_mark_set_sec_rec_log(), btr_cur_update_in_place_log(), btr_pcur_store_position(), btr_set_min_rec_mark_log(), page_cur_delete_rec_write_log(), page_delete_rec_list_write_log(), and row_search_for_mysql().
Here is the caller graph for this function:

Referenced by ibuf_bitmap_page_get_bits(), lock_rec_get_nth_bit(), and xdes_get_bit().
Here is the caller graph for this function:

Referenced by ibuf_bitmap_page_set_bits(), lock_rec_reset_nth_bit(), lock_rec_set_nth_bit(), and xdes_set_bit().
Here is the caller graph for this function:

Referenced by btr_rec_get_externally_stored_len(), log_sys_check_flush_completion(), and log_write_up_to().
Here is the caller graph for this function:

Referenced by fsp_try_extend_data_file(), log_sys_check_flush_completion(), and log_write_up_to().
Here is the caller graph for this function:

| UNIV_INLINE ib_longlong ut_conv_dulint_to_longlong | ( | dulint | d | ) |
Referenced by log_calc_where_lsn_is(), trx_recover_for_mysql(), trx_roll_pop_top_rec_of_trx(), trx_rollback_or_clean_all_without_sess(), and trx_sys_init_at_db_start().
Here is the caller graph for this function:

Referenced by dict_boot(), dict_hdr_get_new_id(), fseg_create_general(), fsp_header_init(), ibuf_data_init_for_space(), log_check_log_recs(), log_checkpoint_margin(), log_complete_checkpoint(), log_group_read_log_seg(), log_group_write_buf(), log_init(), log_reset_first_header_and_checkpoint(), log_write_low(), logs_empty_and_mark_files_at_shutdown(), recv_calc_lsn_on_data_add(), recv_copy_group(), recv_group_scan_log_recs(), recv_recover_page(), recv_recovery_from_checkpoint_start(), recv_reset_logs(), recv_scan_log_recs(), recv_scan_log_seg_for_backup(), recv_truncate_group(), trx_lists_init_at_db_start(), trx_purge_rseg_get_next_history_log(), trx_roll_pop_top_rec_of_trx(), trx_roll_try_truncate(), and trx_sys_init_at_db_start().
Here is the caller graph for this function:

Referenced by log_check_log_recs(), log_write_up_to(), recv_copy_group(), recv_recovery_from_checkpoint_start(), recv_synchronize_groups(), and recv_truncate_group().
Here is the caller graph for this function:

Referenced by dict_boot(), recv_copy_group(), recv_reset_logs(), recv_synchronize_groups(), recv_truncate_group(), and trx_sys_init_at_db_start().
Here is the caller graph for this function:

Referenced by btr_cur_open_at_index_side(), btr_cur_open_at_rnd_pos(), btr_cur_search_to_nth_level(), btr_search_drop_page_hash_index(), btr_search_guess_on_hash(), buf_flush_batch(), buf_flush_insert_into_flush_list(), buf_flush_insert_sorted_into_flush_list(), buf_flush_ready_for_flush(), buf_flush_ready_for_replace(), buf_flush_validate_low(), buf_LRU_block_remove_hashed_page(), buf_LRU_invalidate_tablespace(), buf_page_is_corrupted(), dict_index_find_on_id_low(), dict_index_get_if_in_cache(), dict_load_columns(), dict_load_table_on_id(), dict_table_add_to_cache(), dict_table_get_on_id(), dict_truncate_index_tree(), fil_read_flushed_lsn_and_arch_log_no(), fil_reset_too_high_lsns(), fseg_alloc_free_page_low(), fseg_free_extent(), fseg_free_page_low(), fseg_validate_low(), fsp_print(), fsp_seg_inode_page_find_free(), fsp_seg_inode_page_find_used(), fsp_validate(), innobase_start_or_create_for_mysql(), lock_check_trx_id_sanity(), lock_deadlock_recursive(), lock_release_off_kernel(), lock_sec_rec_cons_read_sees(), lock_sec_rec_read_check_and_lock(), lock_sec_rec_some_has_impl_off_kernel(), lock_validate(), log_check_log_recs(), log_checkpoint(), log_group_calc_lsn_offset(), log_group_checkpoint(), log_group_read_log_seg(), log_write_up_to(), logs_empty_and_mark_files_at_shutdown(), read_cursor_view_create_for_mysql(), read_view_oldest_copy_or_open_new(), read_view_open_now(), recv_copy_group(), recv_find_max_checkpoint(), recv_parse_log_recs(), recv_read_cp_info_for_backup(), recv_recover_page(), recv_recovery_from_checkpoint_start(), recv_scan_log_recs(), recv_synchronize_groups(), recv_sys_add_to_parsing_buf(), recv_truncate_group(), row_purge_remove_clust_if_poss_low(), row_search_check_if_query_cache_permitted(), row_undo_ins_remove_clust_rec(), row_undo_mod_undo_also_prev_vers(), row_undo_search_clust_to_pcur(), row_upd_clust_step(), row_vers_build_for_consistent_read(), row_vers_build_for_semi_consistent_read(), row_vers_impl_x_locked_off_kernel(), srv_error_monitor_thread(), trx_list_insert_ordered(), trx_lists_init_at_db_start(), trx_print(), trx_purge_arr_get_biggest(), trx_purge_choose_next_log(), trx_purge_fetch_next_rec(), trx_purge_truncate_history(), trx_purge_truncate_rseg_history(), trx_roll_pop_top_rec_of_trx(), trx_roll_try_truncate(), trx_rollback(), trx_undo_arr_get_biggest(), trx_undo_arr_remove_info(), trx_undo_arr_store_info(), trx_undo_prev_version_build(), trx_undo_truncate_end(), trx_undo_truncate_start(), and ut_dulint_sort().
Here is the caller graph for this function:

Referenced by dict_hdr_create(), fsp_header_init(), innobase_start_or_create_for_mysql(), lock_validate(), mach_dulint_parse_compressed(), read_view_oldest_copy_or_open_new(), read_view_open_now(), trx_purge(), trx_purge_sys_create(), and trx_sysf_create().
Here is the caller graph for this function:

Referenced by btr_search_validate(), buf_page_is_corrupted(), buf_page_print(), dict_index_print_low(), dict_load_indexes(), dict_table_print_low(), dict_truncate_index_tree(), fil_reset_too_high_lsns(), fseg_free_page_low(), fseg_print_low(), fsp_print(), innobase_shutdown_for_mysql(), innobase_start_or_create_for_mysql(), lock_check_trx_id_sanity(), lock_print_info_all_transactions(), lock_print_info_summary(), log_checkpoint(), log_group_write_buf(), log_print(), log_write_up_to(), logs_empty_and_mark_files_at_shutdown(), read_view_print(), recv_group_scan_log_recs(), recv_recovery_from_checkpoint_start(), recv_report_corrupt_log(), recv_scan_log_recs(), srv_error_monitor_thread(), trx_lists_init_at_db_start(), trx_print(), trx_purge_sys_print(), trx_recover_for_mysql(), trx_rollback_or_clean_all_without_sess(), trx_sys_init_at_db_start(), and trx_undo_prev_version_build().
Here is the caller graph for this function:

Referenced by btr_search_validate(), buf_page_is_corrupted(), buf_page_print(), dict_index_print_low(), dict_load_indexes(), dict_table_print_low(), dict_truncate_index_tree(), fil_reset_too_high_lsns(), fseg_free_page_low(), fseg_print_low(), fsp_print(), innobase_shutdown_for_mysql(), innobase_start_or_create_for_mysql(), lock_check_trx_id_sanity(), lock_grant(), lock_print_info_all_transactions(), lock_print_info_summary(), lock_rec_enqueue_waiting(), log_checkpoint(), log_group_checkpoint(), log_group_write_buf(), log_print(), log_write_up_to(), logs_empty_and_mark_files_at_shutdown(), read_view_print(), recv_calc_lsn_on_data_add(), recv_find_max_checkpoint(), recv_group_scan_log_recs(), recv_recovery_from_checkpoint_start(), recv_report_corrupt_log(), recv_scan_log_recs(), srv_error_monitor_thread(), trx_finish_rollback_off_kernel(), trx_lists_init_at_db_start(), trx_print(), trx_purge_sys_print(), trx_recover_for_mysql(), trx_rollback_or_clean_all_without_sess(), trx_sys_init_at_db_start(), and trx_undo_prev_version_build().
Here is the caller graph for this function:

| UNIV_INLINE ibool ut_dulint_is_zero | ( | dulint | a | ) |
Referenced by buf_flush_write_block_low(), log_buf_pool_get_oldest_modification(), log_close(), recv_parse_log_recs(), recv_recover_page(), recv_scan_log_recs(), and recv_sys_add_to_parsing_buf().
Here is the caller graph for this function:

Referenced by log_checkpoint_margin(), log_close(), log_group_calc_lsn_offset(), log_group_read_log_seg(), log_reserve_and_open(), recv_copy_group(), recv_sys_add_to_parsing_buf(), and recv_truncate_group().
Here is the caller graph for this function:

Definition at line 26 of file ut0byte.c.
References ut_dulint_cmp(), ut_dulint_sort(), and UT_SORT_FUNCTION_BODY.
Referenced by ut_dulint_sort().
00028 { 00029 UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high, 00030 ut_dulint_cmp); 00031 }
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 21 of file ut0byte.c.
Referenced by innobase_start_or_create_for_mysql(), log_group_checkpoint(), log_init(), log_reset_first_header_and_checkpoint(), logs_empty_and_mark_files_at_shutdown(), recv_apply_hashed_log_recs(), recv_recovery_from_checkpoint_start(), recv_reset_logs(), recv_truncate_group(), srv_master_thread(), trx_create(), trx_lists_init_at_db_start(), trx_purge_choose_next_log(), trx_start_low(), trx_sys_create_doublewrite_buf(), and trx_sys_mark_upgraded_to_multiple_tablespaces().
Definition at line 18 of file ut0byte.c.
Referenced by btr_cur_update_in_place(), buf_block_init(), buf_flush_free_margin(), buf_flush_ready_for_flush(), buf_flush_ready_for_replace(), buf_flush_validate_low(), buf_flush_write_complete(), buf_LRU_block_remove_hashed_page(), buf_LRU_invalidate_tablespace(), buf_page_init(), buf_page_init_for_backup_restore(), dict_mem_table_create(), fil_create_new_single_table_tablespace(), fseg_alloc_free_page_low(), fsp_alloc_seg_inode_page(), fsp_free_seg_inode(), fsp_init_file_page_low(), fsp_print(), fsp_seg_inode_page_find_free(), fsp_seg_inode_page_find_used(), fsp_validate(), ins_node_create(), ins_node_set_new_row(), lock_release_off_kernel(), lock_validate(), log_init(), log_reset_first_header_and_checkpoint(), page_create(), recv_find_max_checkpoint(), recv_read_cp_info_for_backup(), recv_recover_page(), recv_reset_logs(), recv_sys_init(), row_undo_mod_undo_also_prev_vers(), trx_cleanup_at_db_startup(), trx_commit_off_kernel(), trx_create(), trx_mark_sql_stat_end(), trx_print(), trx_purge_arr_get_biggest(), trx_purge_choose_next_log(), trx_purge_rseg_get_next_history_log(), trx_purge_sys_create(), trx_purge_truncate_history(), trx_rollback(), trx_start_low(), trx_undo_arr_get_biggest(), trx_undo_report_row_operation(), and trx_undo_truncate_start().
1.4.7

