Home
last modified time | relevance | path

Searched refs:ceiling (Results 1 – 23 of 23) sorted by relevance

/linux-6.15/arch/sparc/mm/
H A Dhugetlbpage.c332 if (ceiling) { in hugetlb_free_pmd_range()
333 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
334 if (!ceiling) in hugetlb_free_pmd_range()
337 if (end - 1 > ceiling - 1) in hugetlb_free_pmd_range()
364 ceiling); in hugetlb_free_pud_range()
370 if (ceiling) { in hugetlb_free_pud_range()
371 ceiling &= PGDIR_MASK; in hugetlb_free_pud_range()
372 if (!ceiling) in hugetlb_free_pud_range()
398 if (ceiling) { in hugetlb_free_pgd_range()
399 ceiling &= PMD_MASK; in hugetlb_free_pgd_range()
[all …]
/linux-6.15/drivers/counter/
H A Dstm32-lptimer-cnt.c26 u32 ceiling; member
66 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, priv->ceiling); in stm32_lptim_set_enable_state()
247 u64 *ceiling) in stm32_lptim_cnt_ceiling_read() argument
251 *ceiling = priv->ceiling; in stm32_lptim_cnt_ceiling_read()
258 u64 ceiling) in stm32_lptim_cnt_ceiling_write() argument
265 if (ceiling > STM32_LPTIM_MAX_ARR) in stm32_lptim_cnt_ceiling_write()
268 priv->ceiling = ceiling; in stm32_lptim_cnt_ceiling_write()
434 priv->ceiling = STM32_LPTIM_MAX_ARR; in stm32_lptim_cnt_probe()
H A Di8254.c126 struct counter_count *const count, u64 *const ceiling) in i8254_count_ceiling_read() argument
135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count->id]; in i8254_count_ceiling_read()
139 *ceiling = priv->preset[count->id] - 1; in i8254_count_ceiling_read()
142 *ceiling = U16_MAX - 1; in i8254_count_ceiling_read()
144 *ceiling = priv->preset[count->id]; in i8254_count_ceiling_read()
147 *ceiling = U16_MAX; in i8254_count_ceiling_read()
H A Drz-mtu3-cnt.c316 u64 *ceiling) in rz_mtu3_count_ceiling_read() argument
330 *ceiling = priv->mtu_16bit_max[ch_id]; in rz_mtu3_count_ceiling_read()
333 *ceiling = priv->mtu_32bit_max; in rz_mtu3_count_ceiling_read()
347 u64 ceiling) in rz_mtu3_count_ceiling_write() argument
361 if (ceiling > U16_MAX) { in rz_mtu3_count_ceiling_write()
365 priv->mtu_16bit_max[ch_id] = ceiling; in rz_mtu3_count_ceiling_write()
368 if (ceiling > U32_MAX) { in rz_mtu3_count_ceiling_write()
372 priv->mtu_32bit_max = ceiling; in rz_mtu3_count_ceiling_write()
382 rz_mtu3_32bit_ch_write(ch, RZ_MTU3_TGRALW, ceiling); in rz_mtu3_count_ceiling_write()
384 rz_mtu3_16bit_ch_write(ch, RZ_MTU3_TGRA, ceiling); in rz_mtu3_count_ceiling_write()
H A Dti-eqep.c335 u64 *ceiling) in ti_eqep_position_ceiling_read() argument
342 *ceiling = qposmax; in ti_eqep_position_ceiling_read()
349 u64 ceiling) in ti_eqep_position_ceiling_write() argument
353 if (ceiling != (u32)ceiling) in ti_eqep_position_ceiling_write()
356 regmap_write(priv->regmap32, QPOSMAX, ceiling); in ti_eqep_position_ceiling_write()
H A Dstm32-timer-cnt.c75 u32 ceiling; in stm32_count_write() local
77 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write()
78 if (val > ceiling) in stm32_count_write()
172 struct counter_count *count, u64 *ceiling) in stm32_count_ceiling_read() argument
179 *ceiling = arr; in stm32_count_ceiling_read()
185 struct counter_count *count, u64 ceiling) in stm32_count_ceiling_write() argument
189 if (ceiling > priv->max_arr) in stm32_count_ceiling_write()
194 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write()
H A D104-quad-8.c846 struct counter_count *count, u64 *ceiling) in quad8_count_ceiling_read() argument
857 *ceiling = priv->preset[count->id]; in quad8_count_ceiling_read()
860 *ceiling = LS7267_CNTR_MAX; in quad8_count_ceiling_read()
870 struct counter_count *count, u64 ceiling) in quad8_count_ceiling_write() argument
876 if (ceiling > LS7267_CNTR_MAX) in quad8_count_ceiling_write()
885 priv->preset[count->id] = ceiling; in quad8_count_ceiling_write()
886 ret = quad8_preset_register_set(priv, count->id, ceiling); in quad8_count_ceiling_write()
H A Dintel-qep.c176 struct counter_count *count, u64 *ceiling) in intel_qep_ceiling_read() argument
181 *ceiling = intel_qep_readl(qep, INTEL_QEPMAX); in intel_qep_ceiling_read()
/linux-6.15/arch/arm64/mm/
H A Dmmu.c836 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument
843 if (ceiling) { in pgtable_range_aligned()
844 ceiling &= mask; in pgtable_range_aligned()
845 if (!ceiling) in pgtable_range_aligned()
849 if (end - 1 > ceiling - 1) in pgtable_range_aligned()
988 unsigned long ceiling) in free_empty_pte_table() argument
1025 unsigned long ceiling) in free_empty_pmd_table() argument
1038 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table()
1065 unsigned long ceiling) in free_empty_pud_table() argument
1105 unsigned long ceiling) in free_empty_p4d_table() argument
[all …]
/linux-6.15/include/asm-generic/
H A Dhugetlb.h77 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
79 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.15/arch/sparc/include/asm/
H A Dhugetlb.h56 unsigned long ceiling);
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-bus-counter51 What: /sys/bus/counter/devices/counterX/countY/ceiling
55 Count value ceiling for Count Y. This is the upper limit for the
69 Count mode for channel Y. The ceiling and floor values for
79 the Count Y ceiling value, while the lower limit is set
81 count = ceiling when counting up, and at count = floor
94 value and the Count Y ceiling value. The counter is
95 reset to the Count Y floor value at count = ceiling when
97 ceiling value at count = floor when counting down; the
/linux-6.15/mm/
H A Dmemory.c200 if (ceiling) { in free_pmd_range()
201 ceiling &= PUD_MASK; in free_pmd_range()
202 if (!ceiling) in free_pmd_range()
234 if (ceiling) { in free_pud_range()
235 ceiling &= P4D_MASK; in free_pud_range()
236 if (!ceiling) in free_pud_range()
268 if (ceiling) { in free_p4d_range()
270 if (!ceiling) in free_p4d_range()
323 if (ceiling) { in free_pgd_range()
324 ceiling &= PMD_MASK; in free_pgd_range()
[all …]
H A Dinternal.h425 unsigned long ceiling, bool mm_wr_locked);
H A Dmemcontrol.c3271 unsigned long ceiling = min(READ_ONCE(memcg->memory.max), in mem_cgroup_wb_stats() local
3275 *pheadroom = min(*pheadroom, ceiling - min(ceiling, used)); in mem_cgroup_wb_stats()
/linux-6.15/arch/x86/mm/
H A Dtlb.c1716 int ceiling; in tlbflush_write_file() local
1723 if (kstrtoint(buf, 0, &ceiling)) in tlbflush_write_file()
1726 if (ceiling < 0) in tlbflush_write_file()
1729 tlb_single_page_flush_ceiling = ceiling; in tlbflush_write_file()
/linux-6.15/kernel/time/
H A Dtimeconst.bc20 /* Adjustment factor when a ceiling value is used. Use as:
/linux-6.15/tools/testing/vma/
H A Dvma_internal.h736 unsigned long ceiling, bool mm_wr_locked) in free_pgtables() argument
742 (void)ceiling; in free_pgtables()
/linux-6.15/Documentation/driver-api/
H A Dgeneric-counter.rst293 supported by this driver ("direction", "enable", and "ceiling") and to
312 struct counter_count *count, u64 *ceiling);
314 struct counter_count *count, u64 ceiling);
/linux-6.15/Documentation/virt/kvm/
H A Dhalt-polling.rst93 | | the ceiling value of the | |
/linux-6.15/include/linux/
H A Dhugetlb.h397 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
H A Dmm.h2490 unsigned long end, unsigned long floor, unsigned long ceiling);
/linux-6.15/Documentation/arch/x86/
H A Dboot.rst29 Lower the conventional memory ceiling. No overwrite
127 It is desirable to keep the "memory ceiling" -- the highest point in