Home
last modified time | relevance | path

Searched refs:info (Results 1 – 15 of 15) sorted by relevance

/mm/
Dshmem.c149 struct shmem_inode_info *info, pgoff_t index);
225 struct shmem_inode_info *info = SHMEM_I(inode); in shmem_inode_acct_block() local
228 if (shmem_acct_block(info->flags, pages)) in shmem_inode_acct_block()
241 shmem_unacct_blocks(info->flags, pages); in shmem_inode_acct_block()
247 struct shmem_inode_info *info = SHMEM_I(inode); in shmem_inode_unacct_blocks() local
252 shmem_unacct_blocks(info->flags, pages); in shmem_inode_unacct_blocks()
371 struct shmem_inode_info *info = SHMEM_I(inode); in shmem_recalc_inode() local
374 freed = info->alloced - info->swapped - inode->i_mapping->nrpages; in shmem_recalc_inode()
376 info->alloced -= freed; in shmem_recalc_inode()
384 struct shmem_inode_info *info = SHMEM_I(inode); in shmem_charge() local
[all …]
Dvmstat.c1044 struct contig_page_info *info) in fill_contig_page_info() argument
1048 info->free_pages = 0; in fill_contig_page_info()
1049 info->free_blocks_total = 0; in fill_contig_page_info()
1050 info->free_blocks_suitable = 0; in fill_contig_page_info()
1057 info->free_blocks_total += blocks; in fill_contig_page_info()
1060 info->free_pages += blocks << order; in fill_contig_page_info()
1064 info->free_blocks_suitable += blocks << in fill_contig_page_info()
1076 static int __fragmentation_index(unsigned int order, struct contig_page_info *info) in __fragmentation_index() argument
1083 if (!info->free_blocks_total) in __fragmentation_index()
1087 if (info->free_blocks_suitable) in __fragmentation_index()
[all …]
Dmmap.c1997 static unsigned long unmapped_area(struct vm_unmapped_area_info *info) in unmapped_area() argument
2012 length = info->length + info->align_mask; in unmapped_area()
2013 if (length < info->length) in unmapped_area()
2017 if (info->high_limit < length) in unmapped_area()
2019 high_limit = info->high_limit - length; in unmapped_area()
2021 if (info->low_limit > high_limit) in unmapped_area()
2023 low_limit = info->low_limit + length; in unmapped_area()
2089 if (gap_start < info->low_limit) in unmapped_area()
2090 gap_start = info->low_limit; in unmapped_area()
2093 gap_start += (info->align_offset - gap_start) & info->align_mask; in unmapped_area()
[all …]
Dcma.c475 struct acr_info info = {0}; in cma_alloc() local
516 ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA, gfp_mask, &info); in cma_alloc()
518 cma_info.nr_migrated += info.nr_migrated; in cma_alloc()
519 cma_info.nr_reclaimed += info.nr_reclaimed; in cma_alloc()
520 cma_info.nr_mapped += info.nr_mapped; in cma_alloc()
521 if (info.err) { in cma_alloc()
522 if (info.err & ACR_ERR_ISOLATE) in cma_alloc()
524 if (info.err & ACR_ERR_MIGRATE) in cma_alloc()
526 if (info.err & ACR_ERR_TEST) in cma_alloc()
544 if (info.failed_pfn && gfp_mask & __GFP_NORETRY) { in cma_alloc()
[all …]
Dswapfile.c282 static inline void cluster_set_flag(struct swap_cluster_info *info, in cluster_set_flag() argument
285 info->flags = flag; in cluster_set_flag()
288 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count() argument
290 return info->data; in cluster_count()
293 static inline void cluster_set_count(struct swap_cluster_info *info, in cluster_set_count() argument
296 info->data = c; in cluster_set_count()
299 static inline void cluster_set_count_flag(struct swap_cluster_info *info, in cluster_set_count_flag() argument
302 info->flags = f; in cluster_set_count_flag()
303 info->data = c; in cluster_set_count_flag()
306 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next() argument
[all …]
Dpage_alloc.c8743 struct acr_info *info) in __alloc_contig_migrate_range() argument
8783 info->nr_reclaimed += nr_reclaimed; in __alloc_contig_migrate_range()
8787 info->nr_mapped += page_mapcount(page); in __alloc_contig_migrate_range()
8792 info->nr_migrated += cc->nr_migratepages; in __alloc_contig_migrate_range()
8804 info->failed_pfn = page_to_pfn(page); in __alloc_contig_migrate_range()
8808 info->err |= ACR_ERR_MIGRATE; in __alloc_contig_migrate_range()
8837 struct acr_info *info) in alloc_contig_range() argument
8882 &info->failed_pfn); in alloc_contig_range()
8884 info->err |= ACR_ERR_ISOLATE; in alloc_contig_range()
8903 ret = __alloc_contig_migrate_range(&cc, start, end, info); in alloc_contig_range()
[all …]
Dmemory_hotplug.c144 void get_page_bootmem(unsigned long info, struct page *page, in get_page_bootmem() argument
149 set_page_private(page, info); in get_page_bootmem()
Dpage-writeback.c2028 void laptop_io_completion(struct backing_dev_info *info) in laptop_io_completion() argument
2030 mod_timer(&info->laptop_mode_wb_timer, jiffies + laptop_mode); in laptop_io_completion()
Dmempolicy.c2709 int mpol_set_shared_policy(struct shared_policy *info, in mpol_set_shared_policy() argument
2727 err = shared_policy_replace(info, vma->vm_pgoff, vma->vm_pgoff+sz, new); in mpol_set_shared_policy()
Dslub.c2512 static bool has_cpu_slab(int cpu, void *info) in has_cpu_slab() argument
2514 struct kmem_cache *s = info; in has_cpu_slab()
/mm/kasan/
Dreport.c62 static void print_error_description(struct kasan_access_info *info) in print_error_description() argument
65 kasan_get_bug_type(info), (void *)info->ip); in print_error_description()
66 if (info->access_size) in print_error_description()
68 info->is_write ? "Write" : "Read", info->access_size, in print_error_description()
69 info->access_addr, current->comm, task_pid_nr(current)); in print_error_description()
72 info->is_write ? "Write" : "Read", in print_error_description()
73 info->access_addr, current->comm, task_pid_nr(current)); in print_error_description()
378 struct kasan_access_info info; in __kasan_report() local
393 info.access_addr = tagged_addr; in __kasan_report()
395 info.first_bad_addr = in __kasan_report()
[all …]
Dreport_generic.c42 static const char *get_shadow_bug_type(struct kasan_access_info *info) in get_shadow_bug_type() argument
47 shadow_addr = (u8 *)kasan_mem_to_shadow(info->first_bad_addr); in get_shadow_bug_type()
94 static const char *get_wild_bug_type(struct kasan_access_info *info) in get_wild_bug_type() argument
98 if ((unsigned long)info->access_addr < PAGE_SIZE) in get_wild_bug_type()
100 else if ((unsigned long)info->access_addr < TASK_SIZE) in get_wild_bug_type()
108 const char *kasan_get_bug_type(struct kasan_access_info *info) in kasan_get_bug_type() argument
118 if (info->access_addr + info->access_size < info->access_addr) in kasan_get_bug_type()
121 if (addr_has_metadata(info->access_addr)) in kasan_get_bug_type()
122 return get_shadow_bug_type(info); in kasan_get_bug_type()
123 return get_wild_bug_type(info); in kasan_get_bug_type()
Dreport_sw_tags.c32 const char *kasan_get_bug_type(struct kasan_access_info *info) in kasan_get_bug_type() argument
43 tag = get_tag(info->access_addr); in kasan_get_bug_type()
44 addr = kasan_reset_tag(info->access_addr); in kasan_get_bug_type()
69 if (info->access_addr + info->access_size < info->access_addr) in kasan_get_bug_type()
Dreport_hw_tags.c18 const char *kasan_get_bug_type(struct kasan_access_info *info) in kasan_get_bug_type() argument
Dkasan.h240 const char *kasan_get_bug_type(struct kasan_access_info *info);