Searched refs:mem_total (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
H A D | rss_threshold.c | 58 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 D | cputopo.h | 19 u64 mem_total; member
|
H A D | cputopo.c | 258 node->mem_total = mem; in load_numa_node() 261 if (node->mem_total && node->mem_free) in load_numa_node()
|
H A D | env.h | 29 u64 mem_total; member
|
H A D | header.c | 694 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 D | cputopo.h | 40 u64 mem_total; member
|
H A D | env.h | 30 u64 mem_total; member
|
H A D | cputopo.c | 340 node->mem_total = mem; in load_numa_node() 343 if (node->mem_total && node->mem_free) in load_numa_node()
|
H A D | header.c | 708 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 D | sys.c | 2636 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 D | sys.c | 2773 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 D | mcu.h | 867 u8 mem_total; member
|
H A D | mcu.c | 1899 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 D | mt76_connac_mcu.h | 452 u8 mem_total; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 1466 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 D | mcu.c | 1241 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 42 milliseconds