Home
last modified time | relevance | path

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

/lib/
Dlogic_pio.c38 struct logic_pio_hwaddr *range; in logic_pio_register_range() local
53 list_for_each_entry(range, &io_range_list, list) { in logic_pio_register_range()
54 if (range->fwnode == new_range->fwnode) { in logic_pio_register_range()
59 if (range->flags == LOGIC_PIO_CPU_MMIO && in logic_pio_register_range()
62 if (start >= range->hw_start + range->size || in logic_pio_register_range()
63 end < range->hw_start) { in logic_pio_register_range()
64 mmio_end = range->io_start + range->size; in logic_pio_register_range()
69 } else if (range->flags == LOGIC_PIO_INDIRECT && in logic_pio_register_range()
71 iio_sz += range->size; in logic_pio_register_range()
112 void logic_pio_unregister_range(struct logic_pio_hwaddr *range) in logic_pio_unregister_range() argument
[all …]
Dtest_hmm.c162 static int dmirror_do_fault(struct dmirror *dmirror, struct hmm_range *range) in dmirror_do_fault() argument
164 unsigned long *pfns = range->hmm_pfns; in dmirror_do_fault()
167 for (pfn = (range->start >> PAGE_SHIFT); in dmirror_do_fault()
168 pfn < (range->end >> PAGE_SHIFT); in dmirror_do_fault()
186 else if (WARN_ON(range->default_flags & HMM_PFN_WRITE)) in dmirror_do_fault()
213 const struct mmu_notifier_range *range, in dmirror_interval_invalidate() argument
222 if (range->event == MMU_NOTIFY_MIGRATE && in dmirror_interval_invalidate()
223 range->owner == dmirror->mdevice) in dmirror_interval_invalidate()
226 if (mmu_notifier_range_blockable(range)) in dmirror_interval_invalidate()
232 dmirror_do_update(dmirror, range->start, range->end); in dmirror_interval_invalidate()
[all …]
Dnlattr.c116 struct netlink_range_validation *range) in nla_get_range_unsigned() argument
121 range->min = 0; in nla_get_range_unsigned()
125 range->max = U8_MAX; in nla_get_range_unsigned()
129 range->max = U16_MAX; in nla_get_range_unsigned()
132 range->max = U32_MAX; in nla_get_range_unsigned()
136 range->max = U64_MAX; in nla_get_range_unsigned()
146 range->min = pt->min; in nla_get_range_unsigned()
147 range->max = pt->max; in nla_get_range_unsigned()
150 *range = *pt->range; in nla_get_range_unsigned()
153 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()
DKconfig.kfence41 range 1 65535
Dvsprintf.c1392 int i, j, range; in ip6_compressed_string() local
1409 range = 6; in ip6_compressed_string()
1411 range = 8; in ip6_compressed_string()
1414 for (i = 0; i < range; i++) { in ip6_compressed_string()
1415 for (j = i; j < range; j++) { in ip6_compressed_string()
1421 for (i = 0; i < range; i++) { in ip6_compressed_string()
1431 for (i = 0; i < range; i++) { in ip6_compressed_string()
DKconfig.debug51 range 1 15
66 range 1 15
77 range 1 7
363 range 0 8192
498 defined weak to work around addressing range issue which
679 range 0 1
748 range 200 1000000
1012 range 0 1
1061 range 0 1
1109 range 0 1
[all …]
DKconfig421 range 5 15
458 overlapping range in log(n) time and then iterate over all
680 range 12 20
DKconfig.ubsan129 into an enum that are outside the range of given values for the given enum.
DKconfig.kcsan104 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()