/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-top.c | 3 * builtin-top.c 5 * Builtin top command: Display a continuously updated profile of 40 #include "util/top.h" 95 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 97 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 105 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument 107 get_term_dimensions(&top->winsize); in perf_top__resize() 108 perf_top__update_print_entries(top); in perf_top__resize() 111 static int perf_top__parse_source(struct perf_top *top, struc argument 240 perf_top__show_details(struct perf_top *top) perf_top__show_details() argument 319 perf_top__print_sym_table(struct perf_top *top) perf_top__print_sym_table() argument 393 perf_top__prompt_symbol(struct perf_top *top, const char *msg) perf_top__prompt_symbol() argument 435 perf_top__print_mapped_keys(struct perf_top *top) perf_top__print_mapped_keys() argument 467 perf_top__key_mapped(struct perf_top *top, int c) perf_top__key_mapped() argument 491 perf_top__handle_keypress(struct perf_top *top, int c) perf_top__handle_keypress() argument 617 struct perf_top *top = arg; display_thread_tui() local 678 struct perf_top *top = arg; display_thread() local 732 struct perf_top *top = arg; global() variable 750 struct perf_top *top = container_of(tool, struct perf_top, tool); perf_event__process_sample() local 857 perf_top__process_lost(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost() argument 866 perf_top__process_lost_samples(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost_samples() argument 877 perf_top__mmap_read_idx(struct perf_top *top, int idx) perf_top__mmap_read_idx() argument 912 perf_top__mmap_read(struct perf_top *top) perf_top__mmap_read() argument 947 perf_top__overwrite_check(struct perf_top *top) perf_top__overwrite_check() argument 992 perf_top_overwrite_fallback(struct perf_top *top, struct evsel *evsel) perf_top_overwrite_fallback() argument 1013 perf_top__start_counters(struct perf_top *top) perf_top__start_counters() argument 1083 rotate_queues(struct perf_top *top) rotate_queues() argument 1097 struct perf_top *top = arg; process_thread() local 1124 should_drop(struct ordered_event *qevent, struct perf_top *top) should_drop() argument 1139 struct perf_top *top = qe->data; deliver_event() local 1219 init_process_thread(struct perf_top *top) init_process_thread() argument 1230 exit_process_thread(struct perf_top *top) exit_process_thread() argument 1238 __cmd_top(struct perf_top *top) __cmd_top() argument 1418 struct perf_top *top = opt->value; parse_percent_limit() local 1430 struct perf_top top = { cmd_top() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | top.c | 5 * Refactored from builtin-top.c, see that files for further copyright notes. 13 #include "top.h" 23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 32 if (top->samples) { in perf_top__header_snprintf() 33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 35 esamples_percent = (100.0 * top in perf_top__header_snprintf() 113 perf_top__reset_sample_counters(struct perf_top *top) perf_top__reset_sample_counters() argument [all...] |
H A D | pstack.c | 16 unsigned short top; member 37 return pstack->top == 0; in pstack__empty() 42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 50 --pstack->top; in pstack__remove() 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 70 if (pstack->top in pstack__pop() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument 39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new() 47 struct nvkm_top *top = device->top; in nvkm_top_addr() local 50 if (top) { in nvkm_top_addr() 51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr() 63 struct nvkm_top *top = device->top; in nvkm_top_reset() local 66 if (top) { in nvkm_top_reset() 67 list_for_each_entry(info, &top in nvkm_top_reset() 79 struct nvkm_top *top = device->top; nvkm_top_intr_mask() local 95 struct nvkm_top *top = device->top; nvkm_top_fault_id() local 109 struct nvkm_top *top = device->top; nvkm_top_fault() local 123 struct nvkm_top *top = device->top; nvkm_top_parse() local 134 struct nvkm_top *top = nvkm_top(subdev); nvkm_top_dtor() local 154 struct nvkm_top *top; nvkm_top_new_() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | top.c | 5 * Refactored from builtin-top.c, see that files for further copyright notes. 13 #include "top.h" 23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument 28 struct record_opts *opts = &top->record_opts; in perf_top__header_snprintf() 32 if (top->samples) { in perf_top__header_snprintf() 33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf() 34 ksamples_per_sec = top->kernel_samples / top->delay_secs; in perf_top__header_snprintf() 35 esamples_percent = (100.0 * top in perf_top__header_snprintf() 115 perf_top__reset_sample_counters(struct perf_top *top) perf_top__reset_sample_counters() argument [all...] |
H A D | pstack.c | 16 unsigned short top; member 37 return pstack->top == 0; in pstack__empty() 42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 50 --pstack->top; in pstack__remove() 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 70 if (pstack->top in pstack__pop() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-top.c | 3 * builtin-top.c 5 * Builtin top command: Display a continuously updated profile of 39 #include "util/top.h" 94 static void perf_top__update_print_entries(struct perf_top *top) in perf_top__update_print_entries() argument 96 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; in perf_top__update_print_entries() 104 static void perf_top__resize(struct perf_top *top) in perf_top__resize() argument 106 get_term_dimensions(&top->winsize); in perf_top__resize() 107 perf_top__update_print_entries(top); in perf_top__resize() 110 static int perf_top__parse_source(struct perf_top *top, struc argument 194 perf_top__record_precise_ip(struct perf_top *top, struct hist_entry *he, struct perf_sample *sample, struct evsel *evsel, u64 ip) perf_top__record_precise_ip() argument 236 perf_top__show_details(struct perf_top *top) perf_top__show_details() argument 315 perf_top__print_sym_table(struct perf_top *top) perf_top__print_sym_table() argument 389 perf_top__prompt_symbol(struct perf_top *top, const char *msg) perf_top__prompt_symbol() argument 431 perf_top__print_mapped_keys(struct perf_top *top) perf_top__print_mapped_keys() argument 463 perf_top__key_mapped(struct perf_top *top, int c) perf_top__key_mapped() argument 487 perf_top__handle_keypress(struct perf_top *top, int c) perf_top__handle_keypress() argument 613 struct perf_top *top = arg; display_thread_tui() local 677 struct perf_top *top = arg; display_thread() local 730 struct perf_top *top = arg; hist_iter__top_callback() local 749 struct perf_top *top = container_of(tool, struct perf_top, tool); perf_event__process_sample() local 855 perf_top__process_lost(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost() argument 866 perf_top__process_lost_samples(struct perf_top *top, union perf_event *event, struct evsel *evsel) perf_top__process_lost_samples() argument 879 perf_top__mmap_read_idx(struct perf_top *top, int idx) perf_top__mmap_read_idx() argument 914 perf_top__mmap_read(struct perf_top *top) perf_top__mmap_read() argument 949 perf_top__overwrite_check(struct perf_top *top) perf_top__overwrite_check() argument 994 perf_top_overwrite_fallback(struct perf_top *top, struct evsel *evsel) perf_top_overwrite_fallback() argument 1015 perf_top__start_counters(struct perf_top *top) perf_top__start_counters() argument 1085 rotate_queues(struct perf_top *top) rotate_queues() argument 1099 struct perf_top *top = arg; process_thread() local 1126 should_drop(struct ordered_event *qevent, struct perf_top *top) should_drop() argument 1141 struct perf_top *top = qe->data; deliver_event() local 1221 init_process_thread(struct perf_top *top) init_process_thread() argument 1232 __cmd_top(struct perf_top *top) __cmd_top() argument 1410 struct perf_top *top = opt->value; parse_percent_limit() local 1422 struct perf_top top = { cmd_top() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument 38 list_add_tail(&info->head, &top->device); in nvkm_top_device_new() 46 struct nvkm_top *top = device->top; in nvkm_top_addr() local 49 if (top) { in nvkm_top_addr() 50 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr() 62 struct nvkm_top *top = device->top; in nvkm_top_reset() local 65 if (top) { in nvkm_top_reset() 66 list_for_each_entry(info, &top in nvkm_top_reset() 78 struct nvkm_top *top = device->top; nvkm_top_intr_mask() local 94 struct nvkm_top *top = device->top; nvkm_top_intr() local 117 struct nvkm_top *top = device->top; nvkm_top_fault_id() local 131 struct nvkm_top *top = device->top; nvkm_top_fault() local 145 struct nvkm_top *top = device->top; nvkm_top_engine() local 163 struct nvkm_top *top = nvkm_top(subdev); nvkm_top_oneinit() local 170 struct nvkm_top *top = nvkm_top(subdev); nvkm_top_dtor() local 191 struct nvkm_top *top; nvkm_top_new_() local [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-rect.h | 64 if (r->top < boundary->top) in v4l2_rect_map_inside() 65 r->top = boundary->top; in v4l2_rect_map_inside() 68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside() 69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside() 95 return r1->top == r2->top in v4l2_rect_same_position() [all...] |
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-rect.h | 64 if (r->top < boundary->top) in v4l2_rect_map_inside() 65 r->top = boundary->top; in v4l2_rect_map_inside() 68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside() 69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside() 95 return r1->top == r2->top in v4l2_rect_same_position() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_implicit_animator.cpp | 79 [[maybe_unused]] const auto& [protocol, curve, unused, unused_repeatCallback] = globalImplicitParams_.top(); in OpenImplicitAnimation() 92 [[maybe_unused]] const auto& [protocol, curve, callback, unused_repeatCallback] = globalImplicitParams_.top(); in OpenImplicitAnimation() 115 auto protocol = std::get<RSAnimationTimingProtocol>(globalImplicitParams_.top()); in ProcessEmptyAnimations() 140 if (implicitAnimationParams_.top()->GetType() == ImplicitAnimationParamType::CANCEL) { in CloseImplicitAnimation() 141 std::static_pointer_cast<RSImplicitCancelAnimationParam>(implicitAnimationParams_.top())->SyncProperties(); in CloseImplicitAnimation() 144 const auto& finishCallback = std::get<const std::shared_ptr<AnimationFinishCallback>>(globalImplicitParams_.top()); in CloseImplicitAnimation() 145 auto& currentAnimations = implicitAnimations_.top(); in CloseImplicitAnimation() 146 auto& currentKeyframeAnimations = keyframeAnimations_.top(); in CloseImplicitAnimation() 154 [[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframeParams_.top(); in CloseImplicitAnimation() 168 interactiveImplicitAnimations_.top() in CloseImplicitAnimation() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.h | 30 // Types of padding and margin. Contains four directions: left, top, right and bottom. 38 Edge(double left, double top, double right, double bottom, DimensionUnit unit = DimensionUnit::PX) in Edge() argument 39 : left_(Dimension(left, unit)), top_(Dimension(top, unit)), right_(Dimension(right, unit)), in Edge() 41 Edge(const std::string& left, const std::string& top, const std::string& right, const std::string& bottom, in Edge() argument 42 DimensionUnit unit = DimensionUnit::CALC) : left_(CalcDimension(left, unit)), top_(CalcDimension(top, unit)), in Edge() 44 Edge(const CalcDimension& left, const CalcDimension& top, const CalcDimension& right, const CalcDimension& bottom) in Edge() argument 45 : left_(left), top_(top), right_(right), bottom_(bottom) {} in Edge() 46 Edge(const Dimension& left, const Dimension& top, const Dimension& right, const Dimension& bottom, in Edge() argument 48 : left_(AnimatableDimension(left, option)), top_(AnimatableDimension(top, option)), in Edge() 50 Edge(const CalcDimension& left, const CalcDimension& top, cons in Edge() argument 99 SetTop(const AnimatableDimension& top) SetTop() argument 104 SetTop(const CalcDimension& top) SetTop() argument 110 SetTop(const Dimension& top) SetTop() argument 203 EdgePx(double left, double top, double right, double bottom) EdgePx() argument 204 EdgePx(const std::string& left, const std::string& top, const std::string& right, const std::string& bottom) EdgePx() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/ |
H A D | rs_transaction_proxy.cpp | 197 implicitCommonTransactionDataStack_.top()->MarkNeedSync(); in Begin() 198 implicitRemoteTransactionDataStack_.top()->MarkNeedSync(); in Begin() 210 if (renderServiceClient_ != nullptr && !implicitRemoteTransactionDataStack_.top()->IsEmpty()) { in Commit() 211 implicitRemoteTransactionDataStack_.top()->timestamp_ = timestamp; in Commit() 212 renderServiceClient_->CommitTransaction(implicitRemoteTransactionDataStack_.top()); in Commit() 223 if (renderThreadClient_ != nullptr && (!implicitCommonTransactionDataStack_.top()->IsEmpty() || in CommitSyncTransaction() 224 implicitCommonTransactionDataStack_.top()->IsNeedSync())) { in CommitSyncTransaction() 225 implicitCommonTransactionDataStack_.top()->timestamp_ = timestamp; in CommitSyncTransaction() 226 implicitCommonTransactionDataStack_.top()->abilityName_ = abilityName; in CommitSyncTransaction() 227 implicitCommonTransactionDataStack_.top() in CommitSyncTransaction() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | focus_animation_manager.cpp | 30 auto focusAnimation = useRoot_ ? rootFocusAnimationStack_.top().Upgrade() : focusAnimationStack_.top().Upgrade(); in SetFocusAnimationProperties() 33 auto renderFocusAnimation = focusAnimationStack_.top().Upgrade(); in SetFocusAnimationProperties() 51 auto focusAnimation = useRoot_ ? rootFocusAnimationStack_.top().Upgrade() : focusAnimationStack_.top().Upgrade(); in CancelFocusAnimation() 65 auto focusAnimation = rootFocusAnimationStack_.top().Upgrade(); in PushFocusAnimationElement() 73 auto focusAnimation = focusAnimationStack_.top().Upgrade(); in PushFocusAnimationElement() 89 auto focusAnimation = focusAnimationStack_.top().Upgrade(); in PopFocusAnimationElement() 109 auto focusAnimation = focusAnimationStack_.top().Upgrade(); in StartFocusAnimation() 119 auto focusAnimation = focusAnimationStack_.top() in StopFocusAnimation() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 552 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument 554 if (!ehea_bmap->top[top]) { in ehea_init_bmap() 555 ehea_bmap->top[top] = in ehea_init_bmap() 557 if (!ehea_bmap->top[top]) in ehea_init_bmap() 560 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap() 572 int top, di in ehea_rebuild_busmap() local 626 int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT); ehea_update_busmap() local 732 int top, dir; ehea_destroy_busmap() local 759 int top, dir, idx; ehea_map_vaddr() local 782 ehea_calc_sectbase(int top, int dir, int idx) ehea_calc_sectbase() argument 790 ehea_reg_mr_section(int top, int dir, int idx, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_section() argument 821 ehea_reg_mr_sections(int top, int dir, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_sections() argument 839 ehea_reg_mr_dir_sections(int top, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_dir_sections() argument 864 unsigned long top; ehea_reg_kernel_mr() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 552 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument 554 if (!ehea_bmap->top[top]) { in ehea_init_bmap() 555 ehea_bmap->top[top] = in ehea_init_bmap() 557 if (!ehea_bmap->top[top]) in ehea_init_bmap() 560 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap() 572 int top, di in ehea_rebuild_busmap() local 626 int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT); ehea_update_busmap() local 732 int top, dir; ehea_destroy_busmap() local 759 int top, dir, idx; ehea_map_vaddr() local 782 ehea_calc_sectbase(int top, int dir, int idx) ehea_calc_sectbase() argument 790 ehea_reg_mr_section(int top, int dir, int idx, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_section() argument 821 ehea_reg_mr_sections(int top, int dir, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_sections() argument 839 ehea_reg_mr_dir_sections(int top, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) ehea_reg_mr_dir_sections() argument 864 unsigned long top; ehea_reg_kernel_mr() local [all...] |
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 162 struct osnoise_tool *top; in timerlat_top_handler() local 165 top = container_of(trace, struct osnoise_tool, trace); in timerlat_top_handler() 166 params = top->params; in timerlat_top_handler() 172 timerlat_top_update(top, cpu, thread, latency); in timerlat_top_handler() 181 static void timerlat_top_header(struct osnoise_tool *top) in timerlat_top_header() argument 183 struct timerlat_top_params *params = top->params; in timerlat_top_header() 184 struct trace_seq *s = top->trace.seq; in timerlat_top_header() 187 get_duration(top->start_time, duration, sizeof(duration)); in timerlat_top_header() 217 static void timerlat_top_print(struct osnoise_tool *top, int cpu) in timerlat_top_print() argument 220 struct timerlat_top_params *params = top in timerlat_top_print() 299 timerlat_print_stats(struct timerlat_top_params *params, struct osnoise_tool *top) timerlat_print_stats() argument 618 timerlat_top_apply_config(struct osnoise_tool *top, struct timerlat_top_params *params) timerlat_top_apply_config() argument 709 struct osnoise_tool *top; timerlat_init_top() local 758 struct osnoise_tool *top = NULL; timerlat_top_main() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 373 std::optional<T> top; member 382 top = padding; in SetEdges() 390 top = topValue; in SetEdges() 396 return (left == value.left) && (right == value.right) && (top == value.top) && (bottom == value.bottom); in operator ==() 414 top = value.top; in UpdateWithCheck() 432 if (value.top.has_value() && top != value.top) { in UpdateLocalizedPadding() 500 std::optional<float> top; global() member [all...] |
H A D | measure_utils.cpp | 113 auto top = ConvertToPx(padding.top, scaleProperty, percentReference); in ConvertToPaddingPropertyF() local 124 if (top.has_value()) { in ConvertToPaddingPropertyF() 125 top = floor(top.value()); in ConvertToPaddingPropertyF() 138 if (top.has_value()) { in ConvertToPaddingPropertyF() 139 top = std::max(top.value(), 0.0f); in ConvertToPaddingPropertyF() 145 return PaddingPropertyF { left, right, top, bottom }; in ConvertToPaddingPropertyF() 174 auto top in ConvertToBorderWidthPropertyF() local 199 auto top = ConvertToPx(padding.top, scaleProperty, selfSize.Height()); UpdatePaddingPropertyF() local 502 ConvertToCalcPaddingProperty(const std::optional<CalcDimension>& top, const std::optional<CalcDimension>& bottom, const std::optional<CalcDimension>& left, const std::optional<CalcDimension>& right) ConvertToCalcPaddingProperty() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/ |
H A D | task_size.c | 80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 114 printf("Locating the top of the address space ... "); in os_get_top_address() 120 if (page_ok(top)) in os_get_top_address() 124 test = bottom + (top - bottom) / 2; in os_get_top_address() 128 top = test; in os_get_top_address() 129 } while (top - bottom > 1); in os_get_top_address() 137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address() 138 printf("0x%lx\n", top); in os_get_top_address() [all...] |
/kernel/linux/linux-6.6/arch/x86/um/os-Linux/ |
H A D | task_size.c | 80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 114 printf("Locating the top of the address space ... "); in os_get_top_address() 120 if (page_ok(top)) in os_get_top_address() 124 test = bottom + (top - bottom) / 2; in os_get_top_address() 128 top = test; in os_get_top_address() 129 } while (top - bottom > 1); in os_get_top_address() 137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address() 138 printf("0x%lx\n", top); in os_get_top_address() [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_btree.h | 96 * top frame record the leaf page/entry selected. 106 struct btframe *top; member 112 (btstack)->top = (btstack)->stack 115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) 120 (BTSTACK)->top->bn = BN;\ 121 (BTSTACK)->top->index = INDEX;\ 122 ++(BTSTACK)->top;\ 126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) 129 ( (btstack)->top [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_btree.h | 96 * top frame record the leaf page/entry selected. 106 struct btframe *top; member 112 (btstack)->top = (btstack)->stack 115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) 120 (BTSTACK)->top->bn = BN;\ 121 (BTSTACK)->top->index = INDEX;\ 122 ++(BTSTACK)->top;\ 126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) 129 ( (btstack)->top [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
H A D | 8xx.c | 129 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument 135 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk() 137 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 139 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk() 141 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 145 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk() 148 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 156 WARN_ON(top < einittext in mmu_mapin_ram() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
H A D | 8xx.c | 120 static void mmu_mapin_ram_chunk(unsigned long offset, unsigned long top, in mmu_mapin_ram_chunk() argument 126 WARN_ON(!IS_ALIGNED(offset, SZ_512K) || !IS_ALIGNED(top, SZ_512K)); in mmu_mapin_ram_chunk() 128 for (; p < ALIGN(p, SZ_8M) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 130 for (; p < ALIGN_DOWN(top, SZ_8M) && p < top; p += SZ_8M, v += SZ_8M) in mmu_mapin_ram_chunk() 132 for (; p < ALIGN_DOWN(top, SZ_512K) && p < top; p += SZ_512K, v += SZ_512K) in mmu_mapin_ram_chunk() 136 flush_tlb_kernel_range(PAGE_OFFSET + v, PAGE_OFFSET + top); in mmu_mapin_ram_chunk() 139 unsigned long __init mmu_mapin_ram(unsigned long base, unsigned long top) in mmu_mapin_ram() argument 147 WARN_ON(top < einittext in mmu_mapin_ram() [all...] |