Home
last modified time | relevance | path

Searched refs:swap_size (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/x86/xen/
H A Dsetup.c641 phys_addr_t swap_addr, swap_size, entry_end; in xen_e820_swap_entry_with_ram() local
644 swap_size = PAGE_ALIGN(swap_entry->addr - swap_addr + swap_entry->size); in xen_e820_swap_entry_with_ram()
649 if (entry->type == E820_TYPE_RAM && entry->size >= swap_size && in xen_e820_swap_entry_with_ram()
650 entry_end - swap_size >= mem_end) { in xen_e820_swap_entry_with_ram()
652 entry->size -= swap_size; in xen_e820_swap_entry_with_ram()
661 entry->addr = entry_end - swap_size + in xen_e820_swap_entry_with_ram()
668 swap_entry->size = swap_size; in xen_e820_swap_entry_with_ram()
671 xen_add_remap_nonram(swap_addr, entry_end - swap_size, in xen_e820_swap_entry_with_ram()
672 swap_size); in xen_e820_swap_entry_with_ram()
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-install-efi.sh150 swap_size=$((disk_size*swap_ratio/100))
151 rootfs_size=$((disk_size-boot_size-swap_size))
180 echo "Swap partition size: $swap_size MB ($swap)"
H A Dinit-install.sh156 swap_size=$((disk_size*swap_ratio/100))
157 rootfs_size=$((disk_size-bios_boot_size-boot_size-swap_size))
196 echo "Swap partition size: $swap_size MB ($swap)"
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dswap.c67 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()
H A Dswap.h35 __le32 swap_size; member
/openbmc/linux/drivers/mtd/
H A Dmtdswap.c1340 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()