Home
last modified time | relevance | path

Searched refs:range (Results 1 – 13 of 13) sorted by relevance

/lib/
Dlogic_pio.c35 struct logic_pio_hwaddr *range; in logic_pio_register_range() local
50 list_for_each_entry(range, &io_range_list, list) { in logic_pio_register_range()
51 if (range->fwnode == new_range->fwnode) { in logic_pio_register_range()
56 if (range->flags == LOGIC_PIO_CPU_MMIO && in logic_pio_register_range()
59 if (start >= range->hw_start + range->size || in logic_pio_register_range()
60 end < range->hw_start) { in logic_pio_register_range()
61 mmio_end = range->io_start + range->size; in logic_pio_register_range()
66 } else if (range->flags == LOGIC_PIO_INDIRECT && in logic_pio_register_range()
68 iio_sz += range->size; in logic_pio_register_range()
109 void logic_pio_unregister_range(struct logic_pio_hwaddr *range) in logic_pio_unregister_range() argument
[all …]
Dtest_hmm.c207 static int dmirror_do_fault(struct dmirror *dmirror, struct hmm_range *range) in dmirror_do_fault() argument
209 unsigned long *pfns = range->hmm_pfns; in dmirror_do_fault()
212 for (pfn = (range->start >> PAGE_SHIFT); in dmirror_do_fault()
213 pfn < (range->end >> PAGE_SHIFT); in dmirror_do_fault()
231 else if (WARN_ON(range->default_flags & HMM_PFN_WRITE)) in dmirror_do_fault()
258 const struct mmu_notifier_range *range, in dmirror_interval_invalidate() argument
267 if (range->event == MMU_NOTIFY_MIGRATE && in dmirror_interval_invalidate()
268 range->owner == dmirror->mdevice) in dmirror_interval_invalidate()
271 if (mmu_notifier_range_blockable(range)) in dmirror_interval_invalidate()
277 dmirror_do_update(dmirror, range->start, range->end); in dmirror_interval_invalidate()
[all …]
Dnlattr.c120 struct netlink_range_validation *range) in nla_get_range_unsigned() argument
125 range->min = 0; in nla_get_range_unsigned()
129 range->max = U8_MAX; in nla_get_range_unsigned()
134 range->max = U16_MAX; in nla_get_range_unsigned()
138 range->max = U32_MAX; in nla_get_range_unsigned()
142 range->max = U64_MAX; in nla_get_range_unsigned()
152 range->min = pt->min; in nla_get_range_unsigned()
153 range->max = pt->max; in nla_get_range_unsigned()
156 *range = *pt->range; in nla_get_range_unsigned()
159 range->min = pt->min; in nla_get_range_unsigned()
[all …]
Ddecompress_unlzma.c74 uint32_t range; member
115 rc->range = 0xFFFFFFFF; in rc_init()
135 rc->range <<= 8; in rc_do_normalize()
140 if (rc->range < (1 << RC_TOP_BITS)) in rc_normalize()
151 rc->bound = *p * (rc->range >> RC_MODEL_TOTAL_BITS); in rc_is_bit_0_helper()
163 rc->range = rc->bound; in rc_update_bit_0()
168 rc->range -= rc->bound; in rc_update_bit_1()
191 rc->range >>= 1; in rc_direct_bit()
192 if (rc->code >= rc->range) { in rc_direct_bit()
193 rc->code -= rc->range; in rc_direct_bit()
Dtest_maple_tree.c651 static const unsigned long range[] = { in check_alloc_rev_range() local
746 int i, range_count = ARRAY_SIZE(range); in check_alloc_rev_range()
759 pr_debug("\t%s: Insert %lu-%lu\n", __func__, range[i] >> 12, in check_alloc_rev_range()
760 (range[i + 1] >> 12) - 1); in check_alloc_rev_range()
762 check_insert_range(mt, range[i] >> 12, (range[i + 1] >> 12) - 1, in check_alloc_rev_range()
763 xa_mk_value(range[i] >> 12), 0); in check_alloc_rev_range()
825 static const unsigned long range[] = { in check_alloc_range() local
922 int i, range_count = ARRAY_SIZE(range); in check_alloc_range()
932 pr_debug("\tInsert %lu-%lu\n", range[i] >> 12, in check_alloc_range()
933 (range[i + 1] >> 12) - 1); in check_alloc_range()
[all …]
Dvsprintf.c1361 int i, j, range; in ip6_compressed_string() local
1378 range = 6; in ip6_compressed_string()
1380 range = 8; in ip6_compressed_string()
1383 for (i = 0; i < range; i++) { in ip6_compressed_string()
1384 for (j = i; j < range; j++) { in ip6_compressed_string()
1390 for (i = 0; i < range; i++) { in ip6_compressed_string()
1400 for (i = 0; i < range; i++) { in ip6_compressed_string()
DKconfig.kfence41 range 1 65535
DKconfig.debug51 range 1 15
66 range 1 15
77 range 1 7
437 range 0 8192
575 defined weak to work around addressing range issue which
747 range 0 1
998 range 0 1
1471 range 10 30
1479 range 10 30
1487 range 10 30
[all …]
DKconfig.ubsan133 into an enum that are outside the range of given values for the given enum.
DKconfig438 range 5 15
475 overlapping range in log(n) time and then iterate over all
DMakefile395 CFLAGS_overflow_kunit.o = $(call cc-disable-warning, tautological-constant-out-of-range-compare)
DKconfig.kcsan94 Total number of available watchpoints. An address range maps into a
/lib/xz/
Dxz_dec_lzma2.c96 uint32_t range; member
472 rc->range = (uint32_t)-1; in rc_reset()
512 if (rc->range < RC_TOP_VALUE) { in rc_normalize()
513 rc->range <<= RC_SHIFT_BITS; in rc_normalize()
535 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit()
537 rc->range = bound; in rc_bit()
541 rc->range -= bound; in rc_bit()
591 rc->range >>= 1; in rc_direct()
592 rc->code -= rc->range; in rc_direct()
594 rc->code += rc->range & mask; in rc_direct()