Searched refs:swap_size (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/arch/x86/xen/ |
D | setup.c | 640 phys_addr_t swap_addr, swap_size, entry_end; in xen_e820_swap_entry_with_ram() local 643 swap_size = PAGE_ALIGN(swap_entry->addr - swap_addr + swap_entry->size); in xen_e820_swap_entry_with_ram() 648 if (entry->type == E820_TYPE_RAM && entry->size >= swap_size && in xen_e820_swap_entry_with_ram() 649 entry_end - swap_size >= mem_end) { in xen_e820_swap_entry_with_ram() 651 entry->size -= swap_size; in xen_e820_swap_entry_with_ram() 660 entry->addr = entry_end - swap_size + in xen_e820_swap_entry_with_ram() 667 swap_entry->size = swap_size; in xen_e820_swap_entry_with_ram() 670 xen_add_remap_nonram(swap_addr, entry_end - swap_size, in xen_e820_swap_entry_with_ram() 671 swap_size); in xen_e820_swap_entry_with_ram()
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | swap.c | 67 seg_info->seg_hw_info.swap_size = __cpu_to_le32(total_payload_len); in ath10k_swap_code_seg_fill() 114 seg_info->seg_hw_info.swap_size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc()
|
D | swap.h | 35 __le32 swap_size; member
|
/linux-6.12.1/drivers/mtd/ |
D | mtdswap.c | 1340 uint64_t swap_size, use_size, size_limit; in mtdswap_add_mtd() local 1409 swap_size = (uint64_t)(eavailable - spare_cnt) * mtd->erasesize + in mtdswap_add_mtd() 1414 MTDSWAP_PREFIX, part, swap_size / 1024, spare_cnt, bad_blocks); in mtdswap_add_mtd() 1431 mbd_dev->size = swap_size >> PAGE_SHIFT; in mtdswap_add_mtd()
|