Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.1.9/include/linux/
Drandom.h99 static inline u32 get_random_u32_above(u32 floor) in get_random_u32_above() argument
101 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX, in get_random_u32_above()
103 return floor + 1 + get_random_u32_below(U32_MAX - floor); in get_random_u32_above()
111 static inline u32 get_random_u32_inclusive(u32 floor, u32 ceil) in get_random_u32_inclusive() argument
113 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) && in get_random_u32_inclusive()
114 (floor > ceil || ceil - floor == U32_MAX), in get_random_u32_inclusive()
116 return floor + get_random_u32_below(ceil - floor + 1); in get_random_u32_inclusive()
/linux-6.1.9/drivers/mtd/devices/
Ddocg3.c1466 int floor; in sysfs_dev2docg3() local
1469 floor = attr->attr.name[1] - '0'; in sysfs_dev2docg3()
1470 if (floor < 0 || floor >= DOC_MAX_NBFLOORS) in sysfs_dev2docg3()
1473 return docg3_floors[floor]->priv; in sysfs_dev2docg3()
1559 int floor; in doc_register_sysfs() local
1563 for (floor = 0; in doc_register_sysfs()
1564 floor < DOC_MAX_NBFLOORS && cascade->floors[floor]; in doc_register_sysfs()
1565 floor++) { in doc_register_sysfs()
1567 ret = device_create_file(dev, &doc_sys_attrs[floor][i]); in doc_register_sysfs()
1578 device_remove_file(dev, &doc_sys_attrs[floor][i]); in doc_register_sysfs()
[all …]
/linux-6.1.9/arch/powerpc/mm/
Dhugetlbpage.c306 unsigned long floor, unsigned long ceiling, in range_is_outside_limits() argument
309 if ((start & mask) < floor) in range_is_outside_limits()
321 unsigned long floor, unsigned long ceiling) in free_hugepd_range() argument
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() argument
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() argument
385 hugetlb_free_pte_range(tlb, pmd, addr, end, floor, ceiling); in hugetlb_free_pmd_range()
400 addr, next, floor, ceiling); in hugetlb_free_pmd_range()
403 if (range_is_outside_limits(start, end, floor, ceiling, PUD_MASK)) in hugetlb_free_pmd_range()
[all …]
/linux-6.1.9/arch/ia64/mm/
Dhugetlbpage.c121 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
136 if (REGION_NUMBER(floor) == RGN_HPAGE) in hugetlb_free_pgd_range()
137 floor = htlbpage_to_page(floor); in hugetlb_free_pgd_range()
141 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-devices-platform-docg36 Show whether the floor (0 to 4), protection area (0 or 1) is
7 keylocked. Each docg3 chip (or floor) has 2 protection areas,
23 Enter the protection key for the floor (0 to 4), protection area
24 (0 or 1). Each docg3 chip (or floor) has 2 protection areas,
Dsysfs-bus-counter20 What: /sys/bus/counter/devices/counterX/countY/floor
24 Count value floor for Count Y. This is the lower limit for the
31 Count mode for channel Y. The ceiling and floor values for
42 to the Count Y floor value. The counter freezes at
43 count = ceiling when counting up, and at count = floor
55 A count value boundary is set between the Count Y floor
57 reset to the Count Y floor value at count = ceiling when
59 ceiling value at count = floor when counting down; the
/linux-6.1.9/arch/sparc/mm/
Dhugetlbpage.c428 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() argument
447 if (start < floor) in hugetlb_free_pmd_range()
465 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() argument
480 hugetlb_free_pmd_range(tlb, pud, addr, next, floor, in hugetlb_free_pud_range()
485 if (start < floor) in hugetlb_free_pud_range()
503 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
510 if (addr < floor) { in hugetlb_free_pgd_range()
531 hugetlb_free_pud_range(tlb, p4d, addr, next, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.1.9/arch/arm64/mm/
Dmmu.c882 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument
886 if (start < floor) in pgtable_range_aligned()
1033 unsigned long end, unsigned long floor, in free_empty_pte_table() argument
1050 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table()
1070 unsigned long end, unsigned long floor, in free_empty_pmd_table() argument
1084 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table()
1090 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
1110 unsigned long end, unsigned long floor, in free_empty_pud_table() argument
1124 free_empty_pmd_table(pudp, addr, next, floor, ceiling); in free_empty_pud_table()
1130 if (!pgtable_range_aligned(start, end, floor, ceiling, PGDIR_MASK)) in free_empty_pud_table()
[all …]
/linux-6.1.9/include/asm-generic/
Dhugetlb.h64 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
66 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.1.9/drivers/iio/light/
Dlv0104cs.c278 int floor, ceil, mid; in lv0104cs_set_calibscale() local
283 floor = lv0104cs_calibscales[i].val * 1000000 in lv0104cs_set_calibscale()
287 mid = (floor + ceil) / 2; in lv0104cs_set_calibscale()
290 if (calibscale >= floor && calibscale < mid) { in lv0104cs_set_calibscale()
/linux-6.1.9/arch/ia64/include/asm/
Dhugetlb.h9 unsigned long end, unsigned long floor,
/linux-6.1.9/Documentation/devicetree/bindings/regulator/
Dpalmas-pmic.txt41 ti,roof-floor - This takes as optional argument on platform supporting
78 ti,roof-floor = <1>; /* ENABLE1 control */
/linux-6.1.9/arch/sparc/include/asm/
Dhugetlb.h53 unsigned long end, unsigned long floor,
/linux-6.1.9/arch/powerpc/include/asm/
Dhugetlb.h35 unsigned long end, unsigned long floor,
/linux-6.1.9/include/linux/mtd/
Ddoc2000.h161 char floor, chip; member
/linux-6.1.9/drivers/hv/
Dhv_balloon.c1293 unsigned long floor; in balloon_up() local
1302 floor = compute_balloon_floor(); in balloon_up()
1305 if (avail_pages < num_pages || avail_pages - num_pages < floor) { in balloon_up()
1310 num_pages = avail_pages > floor ? (avail_pages - floor) : 0; in balloon_up()
/linux-6.1.9/arch/arm/boot/dts/
Dtegra114-asus-tf701t.dts389 ti,roof-floor = <1>;
399 ti,roof-floor = <3>;
454 ti,roof-floor = <3>;
/linux-6.1.9/mm/
Dmemory.c232 unsigned long floor, unsigned long ceiling) in free_pmd_range() argument
248 if (start < floor) in free_pmd_range()
266 unsigned long floor, unsigned long ceiling) in free_pud_range() argument
278 free_pmd_range(tlb, pud, addr, next, floor, ceiling); in free_pud_range()
282 if (start < floor) in free_pud_range()
300 unsigned long floor, unsigned long ceiling) in free_p4d_range() argument
312 free_pud_range(tlb, p4d, addr, next, floor, ceiling); in free_p4d_range()
316 if (start < floor) in free_p4d_range()
336 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument
368 if (addr < floor) { in free_pgd_range()
[all …]
Dinternal.h89 struct vm_area_struct *start_vma, unsigned long floor,
/linux-6.1.9/Documentation/translations/zh_CN/power/
Dopp.rst75 dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage,
/linux-6.1.9/Documentation/userspace-api/media/drivers/
Dccs.rst53 dropping some data on the floor. Analogue crop, on the other hand, means that
/linux-6.1.9/Documentation/driver-api/media/drivers/ccs/
Dccs.rst53 dropping some data on the floor. Analogue crop, on the other hand, means that
/linux-6.1.9/drivers/gpu/drm/i915/
DKconfig.profile36 floor on the autosuspend delay.
/linux-6.1.9/drivers/counter/
D104-quad-8.c647 struct counter_count *count, u64 *floor) in quad8_count_floor_read() argument
650 *floor = 0; in quad8_count_floor_read()
/linux-6.1.9/tools/perf/util/
Dstat-display.c478 fmt = floor(sc) != sc ? "%.2f%s" : "%.0f%s"; in abs_printout()
481 fmt = floor(sc) != sc ? "%'18.2f%s" : "%'18.0f%s"; in abs_printout()
483 fmt = floor(sc) != sc ? "%18.2f%s" : "%18.0f%s"; in abs_printout()

12