/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | hugetlbpage.c | 299 unsigned long floor, unsigned long ceiling) in free_hugepd_range() 315 if (ceiling) { in free_hugepd_range() 316 ceiling &= pdmask; in free_hugepd_range() 317 if (! ceiling) in free_hugepd_range() 320 if (end - 1 > ceiling - 1) in free_hugepd_range() 335 unsigned long floor, unsigned long ceiling) in hugetlb_free_pte_range() 343 if (ceiling) { in hugetlb_free_pte_range() 344 ceiling &= PMD_MASK; in hugetlb_free_pte_range() 345 if (!ceiling) in hugetlb_free_pte_range() 348 if (end - 1 > ceiling in hugetlb_free_pte_range() 297 free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, unsigned long start, unsigned long end, unsigned long floor, unsigned long ceiling) free_hugepd_range() argument 333 hugetlb_free_pte_range(struct mmu_gather *tlb, pmd_t *pmd, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pte_range() argument 356 hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pmd_range() argument 415 hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pud_range() argument 469 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | hugetlbpage.c | 306 unsigned long floor, unsigned long ceiling, in range_is_outside_limits() 311 if (ceiling) { in range_is_outside_limits() 312 ceiling &= mask; in range_is_outside_limits() 313 if (!ceiling) in range_is_outside_limits() 316 return end - 1 > ceiling - 1; in range_is_outside_limits() 321 unsigned long floor, unsigned long ceiling) in free_hugepd_range() 334 if (range_is_outside_limits(start, end, floor, ceiling, pdmask)) in free_hugepd_range() 349 unsigned long floor, unsigned long ceiling) in hugetlb_free_pte_range() 353 if (range_is_outside_limits(addr, end, floor, ceiling, PMD_MASK)) in hugetlb_free_pte_range() 363 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() 305 range_is_outside_limits(unsigned long start, unsigned long end, unsigned long floor, unsigned long ceiling, unsigned long mask) range_is_outside_limits() argument 319 free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, unsigned long start, unsigned long end, unsigned long floor, unsigned long ceiling) free_hugepd_range() argument 347 hugetlb_free_pte_range(struct mmu_gather *tlb, pmd_t *pmd, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pte_range() argument 361 hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pmd_range() argument 412 hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pud_range() argument 458 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | hugetlbpage.c | 422 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() 443 if (ceiling) { in hugetlb_free_pmd_range() 444 ceiling &= PUD_MASK; in hugetlb_free_pmd_range() 445 if (!ceiling) in hugetlb_free_pmd_range() 448 if (end - 1 > ceiling - 1) in hugetlb_free_pmd_range() 459 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() 475 ceiling); in hugetlb_free_pud_range() 481 if (ceiling) { in hugetlb_free_pud_range() 482 ceiling &= PGDIR_MASK; in hugetlb_free_pud_range() 483 if (!ceiling) in hugetlb_free_pud_range() 420 hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pmd_range() argument 457 hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pud_range() argument 495 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument [all...] |
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | hugetlbpage.c | 434 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() 455 if (ceiling) { in hugetlb_free_pmd_range() 456 ceiling &= PUD_MASK; in hugetlb_free_pmd_range() 457 if (!ceiling) in hugetlb_free_pmd_range() 460 if (end - 1 > ceiling - 1) in hugetlb_free_pmd_range() 471 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() 487 ceiling); in hugetlb_free_pud_range() 493 if (ceiling) { in hugetlb_free_pud_range() 494 ceiling &= PGDIR_MASK; in hugetlb_free_pud_range() 495 if (!ceiling) in hugetlb_free_pud_range() 432 hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pmd_range() argument 469 hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pud_range() argument 507 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument [all...] |
/kernel/linux/linux-5.10/arch/ia64/mm/ |
H A D | hugetlbpage.c | 120 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() 129 * If floor and ceiling are also in the hugetlb region, they in hugetlb_free_pgd_range() 137 if (REGION_NUMBER(ceiling) == RGN_HPAGE) in hugetlb_free_pgd_range() 138 ceiling = htlbpage_to_page(ceiling); in hugetlb_free_pgd_range() 140 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range() 118 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument
|
/kernel/linux/linux-6.6/arch/ia64/mm/ |
H A D | hugetlbpage.c | 106 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() 115 * If floor and ceiling are also in the hugetlb region, they in hugetlb_free_pgd_range() 123 if (REGION_NUMBER(ceiling) == RGN_HPAGE) in hugetlb_free_pgd_range() 124 ceiling = htlbpage_to_page(ceiling); in hugetlb_free_pgd_range() 126 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range() 104 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument
|
/kernel/linux/linux-6.6/drivers/counter/ |
H A D | stm32-lptimer-cnt.c | 26 u32 ceiling; member 62 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, priv->ceiling); in stm32_lptim_set_enable_state() 241 u64 *ceiling) in stm32_lptim_cnt_ceiling_read() 245 *ceiling = priv->ceiling; in stm32_lptim_cnt_ceiling_read() 252 u64 ceiling) in stm32_lptim_cnt_ceiling_write() 259 if (ceiling > STM32_LPTIM_MAX_ARR) in stm32_lptim_cnt_ceiling_write() 262 priv->ceiling = ceiling; in stm32_lptim_cnt_ceiling_write() 428 priv->ceiling in stm32_lptim_cnt_probe() 239 stm32_lptim_cnt_ceiling_read(struct counter_device *counter, struct counter_count *count, u64 *ceiling) stm32_lptim_cnt_ceiling_read() argument 250 stm32_lptim_cnt_ceiling_write(struct counter_device *counter, struct counter_count *count, u64 ceiling) stm32_lptim_cnt_ceiling_write() argument [all...] |
H A D | ti-eqep.c | 251 u64 *ceiling) in ti_eqep_position_ceiling_read() 258 *ceiling = qposmax; in ti_eqep_position_ceiling_read() 265 u64 ceiling) in ti_eqep_position_ceiling_write() 269 if (ceiling != (u32)ceiling) in ti_eqep_position_ceiling_write() 272 regmap_write(priv->regmap32, QPOSMAX, ceiling); in ti_eqep_position_ceiling_write() 249 ti_eqep_position_ceiling_read(struct counter_device *counter, struct counter_count *count, u64 *ceiling) ti_eqep_position_ceiling_read() argument 263 ti_eqep_position_ceiling_write(struct counter_device *counter, struct counter_count *count, u64 ceiling) ti_eqep_position_ceiling_write() argument
|
H A D | stm32-timer-cnt.c | 62 u32 ceiling; in stm32_count_write() local 64 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write() 65 if (val > ceiling) in stm32_count_write() 153 struct counter_count *count, u64 *ceiling) in stm32_count_ceiling_read() 160 *ceiling = arr; in stm32_count_ceiling_read() 166 struct counter_count *count, u64 ceiling) in stm32_count_ceiling_write() 170 if (ceiling > priv->max_arr) in stm32_count_ceiling_write() 175 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write() 152 stm32_count_ceiling_read(struct counter_device *counter, struct counter_count *count, u64 *ceiling) stm32_count_ceiling_read() argument 165 stm32_count_ceiling_write(struct counter_device *counter, struct counter_count *count, u64 ceiling) stm32_count_ceiling_write() argument
|
H A D | rz-mtu3-cnt.c | 69 * @lock: Lock to prevent concurrent access for ceiling and count 316 u64 *ceiling) in rz_mtu3_count_ceiling_read() 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() 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() 314 rz_mtu3_count_ceiling_read(struct counter_device *counter, struct counter_count *count, u64 *ceiling) rz_mtu3_count_ceiling_read() argument 345 rz_mtu3_count_ceiling_write(struct counter_device *counter, struct counter_count *count, u64 ceiling) rz_mtu3_count_ceiling_write() argument [all...] |
H A D | i8254.c | 126 struct counter_count *const count, u64 *const ceiling) in i8254_count_ceiling_read() 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() 125 i8254_count_ceiling_read(struct counter_device *const counter, struct counter_count *const count, u64 *const ceiling) i8254_count_ceiling_read() argument
|
/kernel/linux/linux-5.10/drivers/counter/ |
H A D | stm32-lptimer-cnt.c | 26 u32 ceiling; member 62 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, priv->ceiling); in stm32_lptim_set_enable_state() 265 return snprintf(buf, PAGE_SIZE, "%u\n", priv->ceiling); in stm32_lptim_cnt_ceiling_read() 274 unsigned int ceiling; in stm32_lptim_cnt_ceiling_write() local 280 ret = kstrtouint(buf, 0, &ceiling); in stm32_lptim_cnt_ceiling_write() 284 if (ceiling > STM32_LPTIM_MAX_ARR) in stm32_lptim_cnt_ceiling_write() 287 priv->ceiling = ceiling; in stm32_lptim_cnt_ceiling_write() 299 .name = "ceiling", 436 priv->ceiling in stm32_lptim_cnt_probe() [all...] |
H A D | stm32-timer-cnt.c | 77 u32 ceiling; in stm32_count_write() local 79 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write() 80 if (val > ceiling) in stm32_count_write() 185 unsigned int ceiling; in stm32_count_ceiling_write() local 188 ret = kstrtouint(buf, 0, &ceiling); in stm32_count_ceiling_write() 192 if (ceiling > priv->max_arr) in stm32_count_ceiling_write() 197 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write() 259 .name = "ceiling",
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
H A D | mmu.c | 833 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() 840 if (ceiling) { in pgtable_range_aligned() 841 ceiling &= mask; in pgtable_range_aligned() 842 if (!ceiling) in pgtable_range_aligned() 846 if (end - 1 > ceiling - 1) in pgtable_range_aligned() 985 unsigned long ceiling) in free_empty_pte_table() 1001 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table() 1007 * handled by the floor/ceiling check. in free_empty_pte_table() 1022 unsigned long ceiling) in free_empty_pmd_table() 1035 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table() 832 pgtable_range_aligned(unsigned long start, unsigned long end, unsigned long floor, unsigned long ceiling, unsigned long mask) pgtable_range_aligned() argument 983 free_empty_pte_table(pmd_t *pmdp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_pte_table() argument 1020 free_empty_pmd_table(pud_t *pudp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_pmd_table() argument 1060 free_empty_pud_table(p4d_t *p4dp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_pud_table() argument 1100 free_empty_p4d_table(pgd_t *pgdp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_p4d_table() argument 1119 free_empty_tables(unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_tables() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | mmu.c | 831 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() 838 if (ceiling) { in pgtable_range_aligned() 839 ceiling &= mask; in pgtable_range_aligned() 840 if (!ceiling) in pgtable_range_aligned() 844 if (end - 1 > ceiling - 1) in pgtable_range_aligned() 983 unsigned long ceiling) in free_empty_pte_table() 999 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table() 1005 * handled by the floor/ceiling check. in free_empty_pte_table() 1020 unsigned long ceiling) in free_empty_pmd_table() 1033 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table() 830 pgtable_range_aligned(unsigned long start, unsigned long end, unsigned long floor, unsigned long ceiling, unsigned long mask) pgtable_range_aligned() argument 981 free_empty_pte_table(pmd_t *pmdp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_pte_table() argument 1018 free_empty_pmd_table(pud_t *pudp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_pmd_table() argument 1058 free_empty_pud_table(p4d_t *p4dp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_pud_table() argument 1098 free_empty_p4d_table(pgd_t *pgdp, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_p4d_table() argument 1117 free_empty_tables(unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_empty_tables() argument [all...] |
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | hugetlb.h | 46 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() 48 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range() 44 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument
|
/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | hugetlb.h | 71 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() 73 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range() 69 hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) hugetlb_free_pgd_range() argument
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | hugetlb.h | 10 unsigned long ceiling);
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | hugetlb.h | 10 unsigned long ceiling);
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | hugetlb.h | 38 unsigned long ceiling);
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | hugetlb.h | 53 unsigned long ceiling);
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | hugetlb.h | 56 unsigned long ceiling);
|
/kernel/linux/linux-6.6/mm/ |
H A D | memory.c | 201 unsigned long floor, unsigned long ceiling) in free_pmd_range() 219 if (ceiling) { in free_pmd_range() 220 ceiling &= PUD_MASK; in free_pmd_range() 221 if (!ceiling) in free_pmd_range() 224 if (end - 1 > ceiling - 1) in free_pmd_range() 235 unsigned long floor, unsigned long ceiling) in free_pud_range() 247 free_pmd_range(tlb, pud, addr, next, floor, ceiling); in free_pud_range() 253 if (ceiling) { in free_pud_range() 254 ceiling &= P4D_MASK; in free_pud_range() 255 if (!ceiling) in free_pud_range() 199 free_pmd_range(struct mmu_gather *tlb, pud_t *pud, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_pmd_range() argument 233 free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_pud_range() argument 267 free_p4d_range(struct mmu_gather *tlb, pgd_t *pgd, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_p4d_range() argument 303 free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling) free_pgd_range() argument 365 free_pgtables(struct mmu_gather *tlb, struct ma_state *mas, struct vm_area_struct *vma, unsigned long floor, unsigned long ceiling, bool mm_wr_locked) free_pgtables() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | tlb.c | 1200 int ceiling; in tlbflush_write_file() local 1207 if (kstrtoint(buf, 0, &ceiling)) in tlbflush_write_file() 1210 if (ceiling < 0) in tlbflush_write_file() 1213 tlb_single_page_flush_ceiling = ceiling; in tlbflush_write_file()
|
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | tlb.c | 1324 int ceiling; in tlbflush_write_file() local 1331 if (kstrtoint(buf, 0, &ceiling)) in tlbflush_write_file() 1334 if (ceiling < 0) in tlbflush_write_file() 1337 tlb_single_page_flush_ceiling = ceiling; in tlbflush_write_file()
|