Home
last modified time | relevance | path

Searched refs:range (Results 676 - 700 of 3981) sorted by relevance

1...<<21222324252627282930>>...160

/kernel/linux/linux-6.6/net/sched/
H A Dact_ct.c923 struct nf_nat_range2 *range, in tcf_ct_act_nat()
936 err = nf_ct_nat(skb, ct, ctinfo, &action, range, commit); in tcf_ct_act_nat()
1038 err = tcf_ct_act_nat(skb, ct, ctinfo, p->ct_action, &p->range, commit); in tcf_ct_act()
1121 struct nf_nat_range2 *range; in tcf_ct_fill_params_nat() local
1140 range = &p->range; in tcf_ct_fill_params_nat()
1145 range->flags |= NF_NAT_RANGE_MAP_IPS; in tcf_ct_fill_params_nat()
1146 range->min_addr.ip = in tcf_ct_fill_params_nat()
1149 range->max_addr.ip = max_attr ? in tcf_ct_fill_params_nat()
1151 range in tcf_ct_fill_params_nat()
919 tcf_ct_act_nat(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, int ct_action, struct nf_nat_range2 *range, bool commit) tcf_ct_act_nat() argument
1422 struct nf_nat_range2 *range = &p->range; tcf_ct_dump_nat() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
H A Dclock.c179 clk->range.min_rate = RATE_TO_U64(rlist->rate[0]); in scmi_clock_describe_rates_get()
180 clk->range.max_rate = RATE_TO_U64(rlist->rate[1]); in scmi_clock_describe_rates_get()
181 clk->range.step_size = RATE_TO_U64(rlist->rate[2]); in scmi_clock_describe_rates_get()
183 clk->range.min_rate, clk->range.max_rate, in scmi_clock_describe_rates_get()
184 clk->range.step_size); in scmi_clock_describe_rates_get()
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dmemmap.c245 * @range: Address range (start, end) to split around
248 * accomodate @range.
250 int __init efi_memmap_split_count(efi_memory_desc_t *md, struct range *range) in efi_memmap_split_count() argument
259 /* modifying range */ in efi_memmap_split_count()
260 m_start = range->start; in efi_memmap_split_count()
261 m_end = range->end; in efi_memmap_split_count()
298 /* modifying range */ in efi_memmap_insert()
299 m_start = mem->range in efi_memmap_insert()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dmax197.c32 #define MAX197_RNG (1 << 4) /* Full range */
44 * @limit: Max range value (10V for MAX197, 4V for MAX199).
95 int range; in max197_show_range() local
100 range = max197_is_full_range(data, channel) ? in max197_show_range()
104 range = -range; in max197_show_range()
106 range = 0; in max197_show_range()
111 return sprintf(buf, "%d\n", range); in max197_show_range()
157 /* We can deduce only the range */ in max197_store_range()
160 /* We can deduce only the range */ in max197_store_range()
[all...]
/kernel/linux/linux-6.6/fs/exfat/
H A Dballoc.c272 int exfat_trim_fs(struct inode *inode, struct fstrim_range *range) in exfat_trim_fs() argument
280 clu_start = max_t(u64, range->start >> sbi->cluster_size_bits, in exfat_trim_fs()
282 clu_end = clu_start + (range->len >> sbi->cluster_size_bits) - 1; in exfat_trim_fs()
283 trim_minlen = range->minlen >> sbi->cluster_size_bits; in exfat_trim_fs()
285 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs()
303 /* extend trim range for continuous free cluster */ in exfat_trim_fs()
306 /* trim current range if it's larger than trim_minlen */ in exfat_trim_fs()
347 range->len = trimmed_total << sbi->cluster_size_bits; in exfat_trim_fs()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega20_thermal.c235 * vega20_thermal_set_temperature_range - Set the requested temperature range for high and low alert signals
238 * @range: Temperature range to be programmed for high and low alert signals
242 struct PP_TemperatureRange *range) in vega20_thermal_set_temperature_range()
252 if (low < range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES) in vega20_thermal_set_temperature_range()
253 low = range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in vega20_thermal_set_temperature_range()
338 struct PP_TemperatureRange *range) in vega20_start_thermal_controller()
342 if (range == NULL) in vega20_start_thermal_controller()
345 ret = vega20_thermal_set_temperature_range(hwmgr, range); in vega20_start_thermal_controller()
241 vega20_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) vega20_thermal_set_temperature_range() argument
337 vega20_start_thermal_controller(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) vega20_start_thermal_controller() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmax197.c32 #define MAX197_RNG (1 << 4) /* Full range */
44 * @limit: Max range value (10V for MAX197, 4V for MAX199).
95 int range; in max197_show_range() local
100 range = max197_is_full_range(data, channel) ? in max197_show_range()
104 range = -range; in max197_show_range()
106 range = 0; in max197_show_range()
111 return sprintf(buf, "%d\n", range); in max197_show_range()
157 /* We can deduce only the range */ in max197_store_range()
160 /* We can deduce only the range */ in max197_store_range()
[all...]
/third_party/libphonenumber/tools/java/data/src/com/google/i18n/phonenumbers/
H A DCombineGeoData.java112 * Finds the end index of the range of phone number prefixes starting at the provided index.
113 * A range ends when a different description or prefix divided by 10 is encountered.
118 * @return the index of the end of the range starting at the provided index
137 * Splits the provided array of prefixes into an array of ranges. A range contains the start and
160 * provided range. A conflict occurs if the provided prefix covers (is a prefix of) one of the
161 * prefixes contained in the range.
165 * @param start the start of the range
166 * @param end the end of the range
167 * @return whether the candidate prefix conflicts with the prefixes contained in the range
182 * ranges adjacent (before and after the provided range) o
[all...]
/third_party/lzma/C/
H A DBcj2Enc.c31 p->range = 0xffffffff; in Bcj2Enc_Init()
90 with writing branch symbol to range coder in same Bcj2Enc_Encode_2() call.
183 if (p->range < kTopValue) in Bcj2Enc_Encode_2()
189 p->range <<= 8; in Bcj2Enc_Encode_2()
318 const UInt32 bound = (p->range >> kNumBitModelTotalBits) * ttt; in Bcj2Enc_Encode_2()
323 p->range = bound; in Bcj2Enc_Encode_2()
329 p->range -= bound; in Bcj2Enc_Encode_2()
/third_party/node/deps/v8/src/torque/ls/
H A Dmessage.h241 JSON_OBJECT_ACCESSORS(Range, range)
245 range().start().set_line(position.start.line); in SetTo()
246 range().start().set_character(position.start.column); in SetTo()
247 range().end().set_line(position.end.line); in SetTo()
248 range().end().set_character(position.end.column); in SetTo()
278 JSON_OBJECT_ACCESSORS(Range, range)
/third_party/python/Lib/
H A Dheapq.py174 # is the largest with a child index in-range, so must have 2*i + 1 < n,
178 for i in reversed(range(n//2)):
201 for i in reversed(range(n//2)):
437 # sum((k/i) * (1 + log(k, 2)) for i in range(k+1, n+1))
488 # put the range(n) first so that zip() doesn't
490 result = [(elem, i) for i, elem in zip(range(n), it)]
507 result = [(key(elem), i, elem) for i, elem in zip(range(n), it)]
548 result = [(elem, i) for i, elem in zip(range(0, -n, -1), it)]
565 result = [(key(elem), i, elem) for i, elem in zip(range(0, -n, -1), it)]
/third_party/skia/src/gpu/vk/
H A DGrVkMemory.cpp269 VkMappedMemoryRange* range) {
283 memset(range, 0, sizeof(VkMappedMemoryRange));
284 range->sType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE;
285 range->memory = alloc.fMemory;
286 range->offset = offset;
287 range->size = size;
267 GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, VkDeviceSize size, VkDeviceSize alignment, VkMappedMemoryRange* range) global() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DIRSymtab.h61 /// A reference to a range of objects in the symbol table.
70 /// Describes the range of a particular module's symbols within the symbol
242 template <typename T> ArrayRef<T> range(storage::Range<T> R) const { in range() function in llvm::irsymtab::Reader
255 Modules = range(header().Modules); in Reader()
256 Comdats = range(header().Comdats); in Reader()
257 Symbols = range(header().Symbols); in Reader()
258 Uncommons = range(header().Uncommons); in Reader()
259 DependentLibraries = range(header().DependentLibraries); in Reader()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstr_join_internal.h72 // for ranges that do not require additional formatting (e.g., a range of
85 // of its construction when joining an empty range. in operator ()()
193 // iterator range, each separated by the given separator, into an output string,
208 // A joining algorithm that's optimized for a forward iterator range of
216 // range of string-like objects (e.g., std::string, absl::string_view), and an
221 // range will be traversed twice: once to calculate the total needed size, and
296 std::string JoinRange(const Range& range, absl::string_view separator, in JoinRange() argument
300 return JoinAlgorithm(begin(range), end(range), separator, fmt); in JoinRange()
304 std::string JoinRange(const Range& range, abs argument
[all...]
/third_party/libcoap/src/
H A Dcoap_block.c1218 * If any blocks seen, then missing blocks are after range[0].end and in coap_request_missing_q_block2()
1219 * terminate on the last block or before range[1].begin if set. in coap_request_missing_q_block2()
1220 * If not defined or range[1].begin is in a different payload set then in coap_request_missing_q_block2()
1225 ((lg_crcv->rec_blocks.range[0].end + 1) / COAP_MAX_PAYLOADS(session) != in coap_request_missing_q_block2()
1226 (lg_crcv->rec_blocks.range[1].begin -1) / COAP_MAX_PAYLOADS(session)))) { in coap_request_missing_q_block2()
1227 block = lg_crcv->rec_blocks.range[0].end + 1; in coap_request_missing_q_block2()
1248 if (block < (int)lg_crcv->rec_blocks.range[i].begin && in coap_request_missing_q_block2()
1249 lg_crcv->rec_blocks.range[i].begin != 0) { in coap_request_missing_q_block2()
1259 for (; block < (int)lg_crcv->rec_blocks.range[i].begin && in coap_request_missing_q_block2()
1267 if (block < (int)lg_crcv->rec_blocks.range[ in coap_request_missing_q_block2()
[all...]
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_nat_masquerade.h10 const struct nf_nat_range2 *range,
17 nf_nat_masquerade_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
H A Dnf_nat_redirect.h9 nf_nat_redirect_ipv4(struct sk_buff *skb, const struct nf_nat_range2 *range,
12 nf_nat_redirect_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_nat_masquerade.h10 const struct nf_nat_range2 *range,
17 nf_nat_masquerade_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
H A Dnf_nat_redirect.h9 nf_nat_redirect_ipv4(struct sk_buff *skb, const struct nf_nat_range2 *range,
12 nf_nat_redirect_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
H A Disl_ioctl.c420 struct iw_range *range = (struct iw_range *) extra; in prism54_get_range() local
427 memset(range, 0, sizeof (struct iw_range)); in prism54_get_range()
431 range->we_version_source = SUPPORTED_WIRELESS_EXT; in prism54_get_range()
432 range->we_version_compiled = WIRELESS_EXT; in prism54_get_range()
435 range->num_encoding_sizes = 3; in prism54_get_range()
437 range->encoding_size[0] = 5; in prism54_get_range()
439 range->encoding_size[1] = 13; in prism54_get_range()
441 range->encoding_size[2] = 32; in prism54_get_range()
443 range->max_encoding_tokens = 4; in prism54_get_range()
445 /* we don't know the quality range in prism54_get_range()
[all...]
/third_party/selinux/libsepol/src/
H A Dkernel_to_cil.c1022 uint32_t i, start, range; in cats_ebitmap_len() local
1025 range = 0; in cats_ebitmap_len()
1027 if (range == 0) in cats_ebitmap_len()
1030 range++; in cats_ebitmap_len()
1036 if (range > 2) { in cats_ebitmap_len()
1037 len += strlen(val_to_name[i-1]) + strlen("(range ) "); in cats_ebitmap_len()
1038 } else if (range == 2) { in cats_ebitmap_len()
1040 } else if (range == 1) { in cats_ebitmap_len()
1044 range = 0; in cats_ebitmap_len()
1057 uint32_t i, start, range; in cats_ebitmap_to_str() local
1960 range_to_str(struct policydb *pdb, mls_range_t *range) range_to_str() argument
1997 char *src, *tgt, *class, *range; map_range_trans_to_str() local
2401 char *name, *role, *level, *range; write_user_decl_rules_to_cil() local
2540 char *user, *role, *type, *range; context_to_str() local
[all...]
/kernel/linux/linux-5.10/drivers/xen/
H A Dgntdev.c458 int range; in unmap_grant_pages() local
465 /* It is possible the requested range will have a "hole" where we in unmap_grant_pages()
473 range = 0; in unmap_grant_pages()
474 while (range < pages) { in unmap_grant_pages()
475 if (map->being_removed[offset + range]) in unmap_grant_pages()
477 map->being_removed[offset + range] = true; in unmap_grant_pages()
478 range++; in unmap_grant_pages()
480 if (range) in unmap_grant_pages()
481 __unmap_grant_pages(map, offset, range); in unmap_grant_pages()
482 offset += range; in unmap_grant_pages()
525 gntdev_invalidate(struct mmu_interval_notifier *mn, const struct mmu_notifier_range *range, unsigned long cur_seq) gntdev_invalidate() argument
[all...]
/kernel/linux/linux-5.10/mm/
H A Drmap.c919 struct mmu_notifier_range range; in page_mkclean_one() local
926 mmu_notifier_range_init(&range, MMU_NOTIFY_PROTECTION_PAGE, in page_mkclean_one()
929 mmu_notifier_invalidate_range_start(&range); in page_mkclean_one()
979 mmu_notifier_invalidate_range_end(&range); in page_mkclean_one()
1398 struct mmu_notifier_range range; in try_to_unmap_one() local
1431 range.end = PageKsm(page) ? in try_to_unmap_one()
1433 mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, vma, vma->vm_mm, in try_to_unmap_one()
1434 address, range.end); in try_to_unmap_one()
1440 adjust_range_if_pmd_sharing_possible(vma, &range.start, in try_to_unmap_one()
1441 &range in try_to_unmap_one()
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dni_labpc_common.c123 unsigned int range, in labpc_ai_set_chan_and_gain()
132 * of '0x10'. Skip the range values that would in labpc_ai_set_chan_and_gain()
135 range += (range > 0) + (range > 7); in labpc_ai_set_chan_and_gain()
143 devpriv->cmd1 |= CMD1_GAIN(range); in labpc_ai_set_chan_and_gain()
152 unsigned int range, in labpc_setup_cmd6_reg()
168 /* bipolar or unipolar range? */ in labpc_setup_cmd6_reg()
169 if (comedi_range_is_unipolar(s, range)) in labpc_setup_cmd6_reg()
232 unsigned int range in labpc_ai_insn_read() local
120 labpc_ai_set_chan_and_gain(struct comedi_device *dev, enum scan_mode mode, unsigned int chan, unsigned int range, unsigned int aref) labpc_ai_set_chan_and_gain() argument
148 labpc_setup_cmd6_reg(struct comedi_device *dev, struct comedi_subdevice *s, enum scan_mode mode, enum transfer_type xfer, unsigned int range, unsigned int aref, bool ena_intr) labpc_setup_cmd6_reg() argument
452 unsigned int range = CR_RANGE(cmd->chanlist[i]); labpc_ai_check_chanlist() local
623 unsigned int range = CR_RANGE(chanspec); labpc_ai_cmd() local
909 unsigned int range; labpc_ao_insn_write() local
[all...]
/kernel/linux/linux-6.6/drivers/xen/
H A Dgntdev.c468 int range; in unmap_grant_pages() local
475 /* It is possible the requested range will have a "hole" where we in unmap_grant_pages()
483 range = 0; in unmap_grant_pages()
484 while (range < pages) { in unmap_grant_pages()
485 if (map->being_removed[offset + range]) in unmap_grant_pages()
487 map->being_removed[offset + range] = true; in unmap_grant_pages()
488 range++; in unmap_grant_pages()
490 if (range) in unmap_grant_pages()
491 __unmap_grant_pages(map, offset, range); in unmap_grant_pages()
492 offset += range; in unmap_grant_pages()
535 gntdev_invalidate(struct mmu_interval_notifier *mn, const struct mmu_notifier_range *range, unsigned long cur_seq) gntdev_invalidate() argument
[all...]

Completed in 24 milliseconds

1...<<21222324252627282930>>...160