Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
Drandom.h98 static inline u32 get_random_u32_above(u32 floor) in get_random_u32_above() argument
100 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX, in get_random_u32_above()
102 return floor + 1 + get_random_u32_below(U32_MAX - floor); in get_random_u32_above()
110 static inline u32 get_random_u32_inclusive(u32 floor, u32 ceil) in get_random_u32_inclusive() argument
112 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) && in get_random_u32_inclusive()
113 (floor > ceil || ceil - floor == U32_MAX), in get_random_u32_inclusive()
115 return floor + get_random_u32_below(ceil - floor + 1); in get_random_u32_inclusive()
/linux-6.6.21/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.6.21/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.6.21/arch/ia64/mm/
Dhugetlbpage.c106 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
121 if (REGION_NUMBER(floor) == RGN_HPAGE) in hugetlb_free_pgd_range()
122 floor = htlbpage_to_page(floor); in hugetlb_free_pgd_range()
126 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.6.21/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-counter50 What: /sys/bus/counter/devices/counterX/countY/floor
54 Count value floor for Count Y. This is the lower limit for the
61 Count mode for channel Y. The ceiling and floor values for
72 to the Count Y floor value. The counter freezes at
73 count = ceiling when counting up, and at count = floor
85 A count value boundary is set between the Count Y floor
87 reset to the Count Y floor value at count = ceiling when
89 ceiling value at count = floor when counting down; the
/linux-6.6.21/arch/sparc/mm/
Dhugetlbpage.c434 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() argument
453 if (start < floor) in hugetlb_free_pmd_range()
471 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() argument
486 hugetlb_free_pmd_range(tlb, pud, addr, next, floor, in hugetlb_free_pud_range()
491 if (start < floor) in hugetlb_free_pud_range()
509 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
516 if (addr < floor) { in hugetlb_free_pgd_range()
537 hugetlb_free_pud_range(tlb, p4d, addr, next, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.6.21/arch/arm64/mm/
Dmmu.c831 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument
835 if (start < floor) in pgtable_range_aligned()
982 unsigned long end, unsigned long floor, in free_empty_pte_table() argument
999 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table()
1019 unsigned long end, unsigned long floor, in free_empty_pmd_table() argument
1033 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table()
1039 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
1059 unsigned long end, unsigned long floor, in free_empty_pud_table() argument
1073 free_empty_pmd_table(pudp, addr, next, floor, ceiling); in free_empty_pud_table()
1079 if (!pgtable_range_aligned(start, end, floor, ceiling, PGDIR_MASK)) in free_empty_pud_table()
[all …]
/linux-6.6.21/drivers/counter/
Di8254.c233 struct counter_count *const count, u64 *const floor) in i8254_count_floor_read() argument
242 *floor = (priv->preset[count->id] == 0) ? 0 : 1; in i8254_count_floor_read()
246 *floor = (priv->preset[count->id] % 2 || priv->preset[count->id] == 0) ? 0 : 2; in i8254_count_floor_read()
249 *floor = 0; in i8254_count_floor_read()
D104-quad-8.c700 struct counter_count *count, u64 *floor) in quad8_count_floor_read() argument
703 *floor = 0; in quad8_count_floor_read()
/linux-6.6.21/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.6.21/include/asm-generic/
Dhugetlb.h71 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
73 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.6.21/arch/ia64/include/asm/
Dhugetlb.h9 unsigned long end, unsigned long floor,
/linux-6.6.21/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.6.21/arch/sparc/include/asm/
Dhugetlb.h55 unsigned long end, unsigned long floor,
/linux-6.6.21/arch/powerpc/include/asm/
Dhugetlb.h35 unsigned long end, unsigned long floor,
/linux-6.6.21/include/linux/mtd/
Ddoc2000.h161 char floor, chip; member
/linux-6.6.21/drivers/hv/
Dhv_balloon.c1297 unsigned long floor; in balloon_up() local
1306 floor = compute_balloon_floor(); in balloon_up()
1309 if (avail_pages < num_pages || avail_pages - num_pages < floor) { in balloon_up()
1314 num_pages = avail_pages > floor ? (avail_pages - floor) : 0; in balloon_up()
/linux-6.6.21/arch/arm/boot/dts/nvidia/
Dtegra114-asus-tf701t.dts459 ti,roof-floor = <1>;
469 ti,roof-floor = <3>;
524 ti,roof-floor = <3>;
/linux-6.6.21/mm/
Dmemory.c199 unsigned long floor, unsigned long ceiling) in free_pmd_range() argument
215 if (start < floor) in free_pmd_range()
233 unsigned long floor, unsigned long ceiling) in free_pud_range() argument
245 free_pmd_range(tlb, pud, addr, next, floor, ceiling); in free_pud_range()
249 if (start < floor) in free_pud_range()
267 unsigned long floor, unsigned long ceiling) in free_p4d_range() argument
279 free_pud_range(tlb, p4d, addr, next, floor, ceiling); in free_p4d_range()
283 if (start < floor) in free_p4d_range()
303 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument
335 if (addr < floor) { in free_pgd_range()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/power/
Dopp.rst75 dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage,
/linux-6.6.21/Documentation/userspace-api/media/drivers/
Dccs.rst53 dropping some data on the floor. Analogue crop, on the other hand, means that
/linux-6.6.21/Documentation/driver-api/media/drivers/ccs/
Dccs.rst53 dropping some data on the floor. Analogue crop, on the other hand, means that
/linux-6.6.21/drivers/gpu/drm/i915/
DKconfig.profile36 floor on the autosuspend delay.
/linux-6.6.21/tools/perf/util/
Dstat-display.c656 fmt = floor(sc) != sc ? "%'*.2f " : "%'*.0f "; in print_counter_value_std()
658 fmt = floor(sc) != sc ? "%*.2f " : "%*.0f "; in print_counter_value_std()
677 const char *fmt = floor(sc) != sc ? "%.2f%s" : "%.0f%s"; in print_counter_value_csv()

12