Searched refs:mem_block_size (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 500 unsigned long *mem_block_size = (unsigned long *)data; in probe_memory_block_size() local 516 *mem_block_size = MIN_MEMORY_BLOCK_SIZE; in probe_memory_block_size() 518 *mem_block_size = of_read_number(prop, dt_root_size_cells); in probe_memory_block_size() 524 unsigned long mem_block_size = MIN_MEMORY_BLOCK_SIZE; in radix_memory_block_size() local 531 mem_block_size = 1UL * 1024 * 1024 * 1024; in radix_memory_block_size() 533 of_scan_flat_dt(probe_memory_block_size, &mem_block_size); in radix_memory_block_size() 535 return mem_block_size; in radix_memory_block_size()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | fw.c | 321 ar->fw.mem_block_size = le16_to_cpu(otus_desc->tx_frag_len); in carl9170_fw() 325 ar->fw.mem_block_size < 64 || ar->fw.mem_block_size > 512 || in carl9170_fw()
|
H A D | debug.c | 230 (atomic_read(&ar->mem_free_blocks) * ar->fw.mem_block_size) / 1024, in carl9170_debugfs_mem_usage_read() 231 (ar->fw.mem_blocks * ar->fw.mem_block_size) / 1024); in carl9170_debugfs_mem_usage_read()
|
H A D | carl9170.h | 284 unsigned int mem_block_size; member
|
H A D | tx.c | 72 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > in is_mem_full() 198 chunks = DIV_ROUND_UP(skb->len, ar->fw.mem_block_size); in carl9170_alloc_dev_space() 253 atomic_add(DIV_ROUND_UP(skb->len, ar->fw.mem_block_size), in carl9170_release_dev_space()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | fw.c | 321 ar->fw.mem_block_size = le16_to_cpu(otus_desc->tx_frag_len); in carl9170_fw() 325 ar->fw.mem_block_size < 64 || ar->fw.mem_block_size > 512 || in carl9170_fw()
|
H A D | debug.c | 230 (atomic_read(&ar->mem_free_blocks) * ar->fw.mem_block_size) / 1024, in carl9170_debugfs_mem_usage_read() 231 (ar->fw.mem_blocks * ar->fw.mem_block_size) / 1024); in carl9170_debugfs_mem_usage_read()
|
H A D | carl9170.h | 284 unsigned int mem_block_size; member
|
H A D | tx.c | 72 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > in is_mem_full() 198 chunks = DIV_ROUND_UP(skb->len, ar->fw.mem_block_size); in carl9170_alloc_dev_space() 253 atomic_add(DIV_ROUND_UP(skb->len, ar->fw.mem_block_size), in carl9170_release_dev_space()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 555 static unsigned long mem_block_size __initdata = (2UL << 30); 563 mem_block_size = size; in parse_mem_block_size() 573 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize() 577 if (size >= mem_block_size) in adj_blksize() 580 mem_block_size = size; in adj_blksize() 586 unsigned int order = ffs(mem_block_size); in set_block_size() 591 pr_info("UV: mem_block_size set to 0x%lx\n", mem_block_size); in set_block_size() 594 pr_err("UV: mem_block_size error with 0x%lx\n", mem_block_size); in set_block_size() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 564 static unsigned long mem_block_size __initdata = (2UL << 30); 572 mem_block_size = size; in parse_mem_block_size() 582 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize() 586 if (size >= mem_block_size) in adj_blksize() 589 mem_block_size = size; in adj_blksize() 595 unsigned int order = ffs(mem_block_size); in set_block_size() 600 pr_info("UV: mem_block_size set to 0x%lx\n", mem_block_size); in set_block_size() 603 pr_err("UV: mem_block_size error with 0x%lx\n", mem_block_size); in set_block_size() [all...] |
Completed in 15 milliseconds