Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/appldata/
Dappldata_mem.c80 struct appldata_mem_data *mem_data; in appldata_get_mem_data() local
82 mem_data = data; in appldata_get_mem_data()
83 mem_data->sync_count_1++; in appldata_get_mem_data()
86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data()
87 mem_data->pgpgout = ev[PGPGOUT] >> 1; in appldata_get_mem_data()
88 mem_data->pswpin = ev[PSWPIN]; in appldata_get_mem_data()
89 mem_data->pswpout = ev[PSWPOUT]; in appldata_get_mem_data()
90 mem_data->pgalloc = ev[PGALLOC_NORMAL]; in appldata_get_mem_data()
91 mem_data->pgalloc += ev[PGALLOC_DMA]; in appldata_get_mem_data()
92 mem_data->pgfault = ev[PGFAULT]; in appldata_get_mem_data()
[all …]
/linux-6.1.9/arch/ia64/mm/
Ddiscontig.c45 static struct early_node_data mem_data[MAX_NUMNODES] __initdata; variable
79 if (!mem_data[node].min_pfn) { in build_node_maps()
80 mem_data[node].min_pfn = spfn; in build_node_maps()
81 mem_data[node].max_pfn = epfn; in build_node_maps()
83 mem_data[node].min_pfn = min(spfn, mem_data[node].min_pfn); in build_node_maps()
84 mem_data[node].max_pfn = max(epfn, mem_data[node].max_pfn); in build_node_maps()
265 mem_data[node].pernode_addr = pernode; in fill_pernode()
266 mem_data[node].pernode_size = pernodesize; in fill_pernode()
276 mem_data[node].node_data = __va(pernode); in fill_pernode()
326 if (spfn < mem_data[node].min_pfn || epfn > mem_data[node].max_pfn) in find_pernode_space()
[all …]
/linux-6.1.9/arch/s390/mm/
Dinit.c238 struct s390_cma_mem_data *mem_data; in s390_cma_check_range() local
241 mem_data = data; in s390_cma_check_range()
244 if (end < mem_data->start) in s390_cma_check_range()
246 if (start >= mem_data->end) in s390_cma_check_range()
254 struct s390_cma_mem_data mem_data; in s390_cma_mem_notifier() local
259 mem_data.start = arg->start_pfn << PAGE_SHIFT; in s390_cma_mem_notifier()
260 mem_data.end = mem_data.start + (arg->nr_pages << PAGE_SHIFT); in s390_cma_mem_notifier()
262 rc = cma_for_each_area(s390_cma_check_range, &mem_data); in s390_cma_mem_notifier()
/linux-6.1.9/drivers/net/ipa/
Dipa_mem.c245 static bool ipa_mem_valid(struct ipa *ipa, const struct ipa_mem_data *mem_data) in ipa_mem_valid() argument
252 if (mem_data->local_count > IPA_MEM_COUNT) { in ipa_mem_valid()
254 mem_data->local_count, IPA_MEM_COUNT); in ipa_mem_valid()
258 for (i = 0; i < mem_data->local_count; i++) { in ipa_mem_valid()
259 const struct ipa_mem *mem = &mem_data->local[i]; in ipa_mem_valid()
615 int ipa_mem_init(struct ipa *ipa, const struct ipa_mem_data *mem_data) in ipa_mem_init() argument
622 if (!ipa_mem_valid(ipa, mem_data)) in ipa_mem_init()
625 ipa->mem_count = mem_data->local_count; in ipa_mem_init()
626 ipa->mem = mem_data->local; in ipa_mem_init()
651 ret = ipa_imem_init(ipa, mem_data->imem_addr, mem_data->imem_size); in ipa_mem_init()
[all …]
Dipa_mem.h101 int ipa_mem_init(struct ipa *ipa, const struct ipa_mem_data *mem_data);
Dipa_data.h239 const struct ipa_mem_data *mem_data; member
Dipa_main.c775 ret = ipa_mem_init(ipa, data->mem_data); in ipa_probe()
/linux-6.1.9/mm/kasan/
Dshadow.c183 struct memory_notify *mem_data = data; in kasan_mem_notifier() local
187 nr_shadow_pages = mem_data->nr_pages >> KASAN_SHADOW_SCALE_SHIFT; in kasan_mem_notifier()
188 start_kaddr = (unsigned long)pfn_to_kaddr(mem_data->start_pfn); in kasan_mem_notifier()
193 if (WARN_ON(mem_data->nr_pages % KASAN_GRANULE_SIZE) || in kasan_mem_notifier()
212 pfn_to_nid(mem_data->start_pfn), in kasan_mem_notifier()
/linux-6.1.9/drivers/net/ipa/data/
Dipa_data-v4.2.c382 .mem_data = &ipa_mem_data,
Dipa_data-v4.11.c403 .mem_data = &ipa_mem_data,
Dipa_data-v3.5.1.c420 .mem_data = &ipa_mem_data,
Dipa_data-v4.5.c459 .mem_data = &ipa_mem_data,
Dipa_data-v4.9.c453 .mem_data = &ipa_mem_data,
Dipa_data-v3.1.c535 .mem_data = &ipa_mem_data,
/linux-6.1.9/drivers/dma/
Dimx-sdma.c1407 struct imx_dma_data mem_data; in sdma_alloc_chan_resources() local
1421 mem_data.priority = 2; in sdma_alloc_chan_resources()
1422 mem_data.peripheral_type = IMX_DMATYPE_MEMORY; in sdma_alloc_chan_resources()
1423 mem_data.dma_request = 0; in sdma_alloc_chan_resources()
1424 mem_data.dma_request2 = 0; in sdma_alloc_chan_resources()
1425 data = &mem_data; in sdma_alloc_chan_resources()