Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
mm/show_mem.c __show_mem() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | global &kbd_event_lock | ||
| HALF_LOCKED2 | global &oom_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/show_mem.c show_free_areas() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | global &kbd_event_lock | ||
| HALF_LOCKED2 | global &oom_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/show_mem.c show_free_areas() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | global &kbd_event_lock | ||
| HALF_LOCKED2 | global &oom_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/show_mem.c show_free_areas() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | global &kbd_event_lock | ||
| HALF_LOCKED2 | global &oom_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/show_mem.c si_mem_available() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | global &balloon_mutex |
mm/huge_memory.c split_huge_pages_all() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| LOCK2 | &split_debug_mutex |
mm/page_reporting.c page_reporting_process() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| HALF_LOCKED2 | &pool->lock |
mm/vmstat.c cpu_vm_stats_fold() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
mm/vmstat.c fold_vm_numa_events() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
mm/vmstat.c need_update() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/vmstat.c refresh_cpu_vm_stats() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| HALF_LOCKED2 | irq |
mm/vmstat.c refresh_zone_stat_thresholds() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
mm/vmstat.c zero_zones_numa_counters() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &vm_numa_stat_lock | ||
| HALF_LOCKED2 | &pool->lock |
mm/memory_hotplug.c auto_movable_can_online_movable() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
mm/mm_init.c page_alloc_init_late() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
mm/mm_init.c pfn_range_intersects_zones() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| HALF_LOCKED2 | irq |
mm/hugetlb.c hugetlb_bootmem_struct_page_init() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 1-u64max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
kernel/power/snapshot.c copy_data_pages() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
kernel/power/snapshot.c count_data_pages() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/power/snapshot.c create_mem_extents() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/power/snapshot.c enough_free_mem() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
kernel/power/snapshot.c hibernate_preallocate_memory() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex |
mm/page_alloc.c __drain_all_pages() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pcpu_drain_mutex | ||
| HALF_LOCKED2 | &m->lock |
mm/page_alloc.c __setup_per_zone_wmarks() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &lock | ||
| HALF_LOCKED2 | &dev->mutex |
mm/page_alloc.c __setup_per_zone_wmarks() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->_watermark | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | zone->watermark_boost | 0 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &lock | ||
| HALF_LOCKED2 | &dev->mutex |
mm/page_alloc.c drain_pages() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pcpu_drain_mutex |
mm/page_alloc.c page_alloc_cpu_dead() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
mm/page_alloc.c page_alloc_cpu_online() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
mm/page_alloc.c percpu_pagelist_high_fraction_sysctl_handler() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pcp_batch_high_lock | ||
| HALF_LOCKED2 | &pool->lock |
mm/page_alloc.c setup_min_slab_ratio() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->zone_pgdat | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
mm/page_alloc.c setup_min_unmapped_ratio() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->zone_pgdat | 4096-ptr_max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
mm/page_alloc.c setup_pcp_cacheinfo() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
mm/page_alloc.c setup_per_cpu_pageset() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
mm/page_alloc.c setup_per_zone_wmarks() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->pageset_batch | (-1)-95 |
| PARAM_VALUE | 0 | zone->pageset_high_max | (-4)-s32max |
| PARAM_VALUE | 0 | zone->pageset_high_min | (-4)-s32max |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
mm/khugepaged.c set_recommended_min_free_kbytes() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
mm/kmemleak.c __kmemleak_scan() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| LOCK2 | global &scan_mutex |
mm/page_owner.c init_early_allocated_pages() -> next_zone()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 0 | zone->present_pages | 0-1 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| BUF_SIZE | 0 | zone | (-1)-0,81920 |
| HALF_LOCKED2 | irq |