Home
last modified time | relevance | path

Searched refs:mem_total (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Drss_threshold.c58 unsigned long mem_total; in rss_threshold_write() local
66 mem_total = totalram_pages() << (PAGE_SHIFT - 10); in rss_threshold_write()
67 if (rss_threshold < 0 || rss_threshold > mem_total) in rss_threshold_write()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcputopo.h19 u64 mem_total; member
H A Dcputopo.c258 node->mem_total = mem; in load_numa_node()
261 if (node->mem_total && node->mem_free) in load_numa_node()
H A Denv.h29 u64 mem_total; member
H A Dheader.c694 ret = do_write(ff, &n->mem_total, sizeof(u64)); in write_numa_topology()
1876 n->node, n->mem_total, n->mem_free); in print_numa_topology()
2519 if (do_read_u64(ff, &n->mem_total)) in process_numa_topology()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dcputopo.h40 u64 mem_total; member
H A Denv.h30 u64 mem_total; member
H A Dcputopo.c340 node->mem_total = mem; in load_numa_node()
343 if (node->mem_total && node->mem_free) in load_numa_node()
H A Dheader.c708 ret = do_write(ff, &n->mem_total, sizeof(u64)); in write_numa_topology()
2071 n->node, n->mem_total, n->mem_free); in print_numa_topology()
2730 if (do_read_u64(ff, &n->mem_total)) in process_numa_topology()
/kernel/linux/linux-5.10/kernel/
H A Dsys.c2636 unsigned long mem_total, sav_total; in do_sysinfo() local
2662 mem_total = info->totalram + info->totalswap; in do_sysinfo()
2663 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo()
2670 sav_total = mem_total; in do_sysinfo()
2671 mem_total <<= 1; in do_sysinfo()
2672 if (mem_total < sav_total) in do_sysinfo()
2677 * If mem_total did not overflow, multiply all memory values by in do_sysinfo()
/kernel/linux/linux-6.6/kernel/
H A Dsys.c2773 unsigned long mem_total, sav_total; in do_sysinfo() local
2799 mem_total = info->totalram + info->totalswap; in do_sysinfo()
2800 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo()
2807 sav_total = mem_total; in do_sysinfo()
2808 mem_total <<= 1; in do_sysinfo()
2809 if (mem_total < sav_total) in do_sysinfo()
2814 * If mem_total did not overflow, multiply all memory values by in do_sysinfo()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.h867 u8 mem_total; member
H A Dmcu.c1899 bf->mem_total = bf->mem_20m * 2; in mt7915_mcu_sta_bfer_tlv()
1902 bf->mem_total = bf->mem_20m; in mt7915_mcu_sta_bfer_tlv()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.h452 u8 mem_total; member
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c1466 bf->mem_total = bf->mem_20m * 2; in mt7996_mcu_sta_bfer_tlv()
1469 bf->mem_total = bf->mem_20m; in mt7996_mcu_sta_bfer_tlv()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c1241 bf->mem_total = bf->mem_20m * 2; in mt7915_mcu_sta_bfer_tlv()
1244 bf->mem_total = bf->mem_20m; in mt7915_mcu_sta_bfer_tlv()

Completed in 57 milliseconds