Home
last modified time | relevance | path

Searched refs:block_sz (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-memory.c321 unsigned long block_sz, start_pfn; in pseries_remove_memblock() local
332 block_sz = pseries_memory_block_size(); in pseries_remove_memblock()
333 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in pseries_remove_memblock()
381 unsigned long pfn, block_sz; in lmb_is_removable() local
387 block_sz = memory_block_size_bytes(); in lmb_is_removable()
388 scns_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in lmb_is_removable()
393 if (is_fadump_boot_memory_area(phys_addr, block_sz)) in lmb_is_removable()
413 unsigned long block_sz; in dlpar_remove_lmb() local
423 block_sz = pseries_memory_block_size(); in dlpar_remove_lmb()
426 remove_memory(nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()
[all …]
/Linux-v4.19/drivers/base/
Dmemory.c94 unsigned long block_sz; in get_memory_block_size() local
96 block_sz = memory_block_size_bytes(); in get_memory_block_size()
99 if ((block_sz & (block_sz - 1)) || (block_sz < MIN_MEMORY_BLOCK_SIZE)) { in get_memory_block_size()
101 block_sz = MIN_MEMORY_BLOCK_SIZE; in get_memory_block_size()
104 return block_sz; in get_memory_block_size()
828 unsigned long block_sz; in memory_dev_init() local
834 block_sz = get_memory_block_size(); in memory_dev_init()
835 sections_per_block = block_sz / MIN_MEMORY_BLOCK_SIZE; in memory_dev_init()
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c122 unsigned long stripe_sz, block_sz; in mpt3sas_init_warpdrive_properties() local
230 block_sz = le16_to_cpu(vol_pg0->BlockSize); in mpt3sas_init_warpdrive_properties()
231 block_exp = find_first_bit(&block_sz, 16); in mpt3sas_init_warpdrive_properties()
250 raid_device->block_sz = le16_to_cpu(vol_pg0->BlockSize); in mpt3sas_init_warpdrive_properties()
Dmpt3sas_base.h659 u16 block_sz; member
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dhif.c680 dev->htc_cnxt->block_sz = dev->ar->mbox_info.block_size; in ath6kl_hif_setup()
683 if ((dev->htc_cnxt->block_sz & (dev->htc_cnxt->block_sz - 1)) != 0) { in ath6kl_hif_setup()
690 dev->htc_cnxt->block_mask = dev->htc_cnxt->block_sz - 1; in ath6kl_hif_setup()
693 dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr); in ath6kl_hif_setup()
Dhtc.h612 u32 block_sz; member
Dhtc_mbox.c2643 if ((target->tgt_cred_sz % target->block_sz) != 0) { in htc_setup_msg_bndl()
/Linux-v4.19/drivers/hwtracing/intel_th/
Dmsu.h56 u32 block_sz; member
Dmsu.c829 bdesc->block_sz = PAGE_SIZE / 64; in msc_buffer_relink()
/Linux-v4.19/mm/
Dmemory_hotplug.c1093 unsigned long block_sz = memory_block_size_bytes(); in check_hotplug_memory_range() local
1094 u64 block_nr_pages = block_sz >> PAGE_SHIFT; in check_hotplug_memory_range()
1102 block_sz, start, size); in check_hotplug_memory_range()