Home
last modified time | relevance | path

Searched refs:mem_node (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/soc/fsl/qbman/
A Ddpaa_sys.c40 struct device_node *mem_node; in qbman_init_private_mem() local
46 mem_node = of_parse_phandle(dev->of_node, "memory-region", idx); in qbman_init_private_mem()
47 if (!mem_node) { in qbman_init_private_mem()
52 rmem = of_reserved_mem_lookup(mem_node); in qbman_init_private_mem()
66 prop = of_find_property(mem_node, "reg", &len); in qbman_init_private_mem()
83 err = of_add_property(mem_node, prop); in qbman_init_private_mem()
/linux-6.3-rc2/drivers/pci/hotplug/
A Dcpqphp_pci.c764 mem_node = kmalloc(sizeof(*mem_node), GFP_KERNEL); in cpqhp_save_used_resources()
765 if (!mem_node) in cpqhp_save_used_resources()
772 func->mem_head = mem_node; in cpqhp_save_used_resources()
846 mem_node = kmalloc(sizeof(*mem_node), in cpqhp_save_used_resources()
848 if (!mem_node) in cpqhp_save_used_resources()
917 mem_node = kmalloc(sizeof(*mem_node), in cpqhp_save_used_resources()
919 if (!mem_node) in cpqhp_save_used_resources()
1327 mem_node = kmalloc(sizeof(*mem_node), GFP_KERNEL); in cpqhp_find_available_resources()
1328 if (!mem_node) in cpqhp_find_available_resources()
1336 mem_node->base, mem_node->length); in cpqhp_find_available_resources()
[all …]
A Dcpqphp_nvram.c427 struct pci_resource *mem_node; in compaq_nvram_load() local
507 mem_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
509 if (!mem_node) in compaq_nvram_load()
512 mem_node->base = *(u32 *)p_byte; in compaq_nvram_load()
513 dbg("mem base = %8.8x\n", mem_node->base); in compaq_nvram_load()
517 kfree(mem_node); in compaq_nvram_load()
521 mem_node->length = *(u32 *)p_byte; in compaq_nvram_load()
522 dbg("mem length = %8.8x\n", mem_node->length); in compaq_nvram_load()
526 kfree(mem_node); in compaq_nvram_load()
530 mem_node->next = ctrl->mem_head; in compaq_nvram_load()
[all …]
A Dcpqphp_ctrl.c2323 struct pci_resource *mem_node; in configure_new_function() local
2394 if (!mem_node) in configure_new_function()
2405 mem_node->length, mem_node->next); in configure_new_function()
2474 mem_node->next = NULL; in configure_new_function()
2480 temp_word = (mem_node->base + mem_node->length - 1) >> 16; in configure_new_function()
2628 if (mem_node) { in configure_new_function()
2629 hold_mem_node->base = mem_node->base + mem_node->length; in configure_new_function()
2640 if (mem_node) { in configure_new_function()
2805 if (mem_node) { in configure_new_function()
2806 base = mem_node->base; in configure_new_function()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dchmc.c399 struct device_node *mem_node; in jbusmc_probe() local
406 mem_node = of_find_node_by_path("/memory"); in jbusmc_probe()
407 if (!mem_node) { in jbusmc_probe()
411 mem_regs = of_get_property(mem_node, "reg", &len); in jbusmc_probe()
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dksm_tests.c388 int mem_node = 0; in get_next_mem_node() local
392 mem_node = i % (max_node + 1); in get_next_mem_node()
393 node_size = numa_node_size(mem_node, NULL); in get_next_mem_node()
397 return mem_node; in get_next_mem_node()
/linux-6.3-rc2/kernel/sched/
A Dfair.c2836 void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags) in task_numa_fault() argument
2856 if (!node_is_toptier(mem_node) && in task_numa_fault()
2895 numa_is_active_node(mem_node, ng)) in task_numa_fault()
2912 p->numa_faults[task_faults_idx(NUMA_MEMBUF, mem_node, priv)] += pages; in task_numa_fault()

Completed in 66 milliseconds