Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A 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/Documentation/ABI/testing/
H A 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,
H A Dsysfs-bus-iio-adc-mcp356433 floor. This offset is effectively canceled at every conversion,
/linux/drivers/counter/
H A 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()
H A 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/arch/arm64/mm/
H A Dmmu.c1502 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned()
1506 if (start < floor) in pgtable_range_aligned()
1664 unsigned long end, unsigned long floor, in free_empty_pte_table()
1681 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table()
1687 * handled by the floor/ceiling check. in free_empty_pte_table()
1701 unsigned long end, unsigned long floor, in free_empty_pmd_table()
1715 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table()
1721 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
1727 * handled by the floor/ceiling check. in free_empty_pmd_table()
1741 unsigned long end, unsigned long floor, in free_empty_pud_table()
1503 pgtable_range_aligned(unsigned long start,unsigned long end,unsigned long floor,unsigned long ceiling,unsigned long mask) pgtable_range_aligned() argument
1665 free_empty_pte_table(pmd_t * pmdp,unsigned long addr,unsigned long end,unsigned long floor,unsigned long ceiling) free_empty_pte_table() argument
1702 free_empty_pmd_table(pud_t * pudp,unsigned long addr,unsigned long end,unsigned long floor,unsigned long ceiling) free_empty_pmd_table() argument
1742 free_empty_pud_table(p4d_t * p4dp,unsigned long addr,unsigned long end,unsigned long floor,unsigned long ceiling) free_empty_pud_table() argument
1782 free_empty_p4d_table(pgd_t * pgdp,unsigned long addr,unsigned long end,unsigned long floor,unsigned long ceiling) free_empty_p4d_table() argument
1822 free_empty_tables(unsigned long addr,unsigned long end,unsigned long floor,unsigned long ceiling) free_empty_tables() argument
[all...]
/linux/Documentation/devicetree/bindings/regulator/
H A Dpalmas-pmic.txt41 ti,roof-floor - This takes as optional argument on platform supporting
78 ti,roof-floor = <1>; /* ENABLE1 control */
/linux/tools/testing/selftests/drivers/net/hw/
H A Dpp_alloc_fail.py98 want_fails = math.floor(pkts / 512 / 3.1)
/linux/include/linux/mtd/
H A Ddoc2000.h161 char floor, chip; member
/linux/drivers/hv/
H A Dhv_balloon.c1263 unsigned long floor; in balloon_up() local
1272 floor = compute_balloon_floor(); in balloon_up()
1275 if (avail_pages < num_pages || avail_pages - num_pages < floor) { in balloon_up()
1280 num_pages = avail_pages > floor ? (avail_pages - floor) : 0; in balloon_up()
/linux/lib/crc/x86/
H A Dcrc32c-3way.S105 # Compute floor(len / 24) to get num qwords to process from each lane.
/linux/tools/testing/vma/include/
H A Dstubs.h54 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument
/linux/Documentation/translations/zh_CN/power/
H A Dopp.rst75 dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage,
/linux/Documentation/userspace-api/media/drivers/
H A Dccs.rst57 dropping some data on the floor. Analogue crop, on the other hand, means that
/linux/tools/perf/util/
H A Dstat-display.c696 fmt = floor(sc) != sc ? "%'*.2f " : "%'*.0f "; in print_counter_value_std()
698 fmt = floor(sc) != sc ? "%*.2f " : "%*.0f "; in print_counter_value_std()
717 const char *fmt = floor(sc) != sc ? "%.2f%s" : "%.0f%s"; in print_counter_value_csv()
/linux/mm/
H A Dmemory.c187 unsigned long floor, unsigned long ceiling) in free_pmd_range() argument
203 if (start < floor) in free_pmd_range()
221 unsigned long floor, unsigned long ceiling) in free_pud_range() argument
233 free_pmd_range(tlb, pud, addr, next, floor, ceiling); in free_pud_range()
237 if (start < floor) in free_pud_range()
255 unsigned long floor, unsigned long ceiling) in free_p4d_range() argument
267 free_pud_range(tlb, p4d, addr, next, floor, ceiling); in free_p4d_range()
271 if (start < floor) in free_p4d_range()
291 * @floor: lowest address boundary
300 unsigned long floor, unsigne in free_pgd_range() argument
[all...]
/linux/drivers/gpu/drm/i915/
H A DKconfig.profile36 floor on the autosuspend delay.
/linux/Documentation/admin-guide/pm/
H A Damd-pstate.rst284 The floor frequency associated with each CPU. Userspace can write any
289 further. This allows userspace to specify different floor frequencies
291 should have the same floor frequency value. This file is only visible
303 implies that the platform supports unlimited floor performance levels.
/linux/samples/bpf/
H A Dxdp_sample_user.c584 if (val - floor(val) < 0.5) in sample_round()
585 return floor(val); in sample_round()
/linux/Documentation/translations/zh_TW/process/
H A Dcoding-style.rst605 (steps (floor offset c-basic-offset)))
/linux/drivers/media/tuners/
H A Dmt2063.c355 #define floor(n, d) (((n) < 0) ? (-((-(n))/(d))) - ((n)%(d) != 0) : (n)/(d)) macro
608 floor((s32) (pNode->min_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF()
/linux/Documentation/power/
H A Dopp.rst78 dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage, dev_pm_opp_get_freq,
/linux/Documentation/core-api/real-time/
H A Dhardware.rst216 floor.
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra124-xiaomi-mocha.dts1337 ti,roof-floor = <1>;
1361 ti,roof-floor = <3>;
1402 ti,roof-floor = <3>;
/linux/kernel/
H A Dsignal.c3263 sigset_t floor, floored; in __set_task_blocked()
3267 siginitsetinv(&floor, SIG_KERNEL_ONLY_MASK); in __set_task_blocked()
3268 sigorsets(&floored, newset, &floor); in __set_task_blocked()
3262 sigset_t floor, floored; __set_task_blocked() local

12