/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | resource.c | 52 static bool acpi_dev_resource_len_valid(u64 start, u64 end, u64 len, bool io) in acpi_dev_resource_len_valid() argument 54 u64 reslen = end - start + 1; in acpi_dev_resource_len_valid() 63 if (len && reslen && start <= end) in acpi_dev_resource_len_valid() 67 io ? "io" : "mem", start, end, len); in acpi_dev_resource_len_valid() 77 if (!acpi_dev_resource_len_valid(res->start, res->end, len, false)) in acpi_dev_memresource_flags() 84 static void acpi_dev_get_memresource(struct resource *res, u64 start, u64 len, in acpi_dev_get_memresource() argument 87 res->start = start; in acpi_dev_get_memresource() 88 res->end = start + len - 1; in acpi_dev_get_memresource() 145 if (!acpi_dev_resource_len_valid(res->start, re in acpi_dev_ioresource_flags() 157 acpi_dev_get_ioresource(struct resource *res, u64 start, u64 len, u8 io_decode) acpi_dev_get_ioresource() argument 213 u64 start, end, offset = 0; acpi_decode_space() local [all...] |
/kernel/linux/linux-6.6/arch/s390/kvm/ |
H A D | guestdbg.c | 15 * Extends the address range given by *start and *stop to include the address 19 static void extend_address_range(u64 *start, u64 *stop, u64 estart, int len) in extend_address_range() argument 31 if ((*start == 0) && (*stop == 0)) { in extend_address_range() 32 *start = estart; in extend_address_range() 34 } else if (*start <= *stop) { in extend_address_range() 36 if (estart < *start) in extend_address_range() 37 *start = estart; in extend_address_range() 41 /* "overflowing" interval, whereby *stop > *start */ in extend_address_range() 45 } else if (estop > *start) { in extend_address_range() 46 if (estart < *start) in extend_address_range() 61 unsigned long start, len; enable_all_hw_bp() local 101 unsigned long start, len; enable_all_hw_wp() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | truncate.c | 140 * @offset: start of the range to invalidate 265 * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets 291 pgoff_t start; /* inclusive */ in truncate_inode_pages_range() local 308 * 'start' and 'end' always covers the range of pages to be fully in truncate_inode_pages_range() 310 * start of the range and 'partial_end' at the end of the range. in truncate_inode_pages_range() 313 start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in truncate_inode_pages_range() 325 index = start; in truncate_inode_pages_range() 372 struct page *page = find_lock_page(mapping, start - 1); in truncate_inode_pages_range() 375 if (start > end) { in truncate_inode_pages_range() 407 if (start > in truncate_inode_pages_range() 528 __invalidate_mapping_pages(struct address_space *mapping, pgoff_t start, pgoff_t end, unsigned long *nr_pagevec) __invalidate_mapping_pages() argument 629 invalidate_mapping_pages(struct address_space *mapping, pgoff_t start, pgoff_t end) invalidate_mapping_pages() argument 641 invalidate_mapping_pagevec(struct address_space *mapping, pgoff_t start, pgoff_t end, unsigned long *nr_pagevec) invalidate_mapping_pagevec() argument 703 invalidate_inode_pages2_range(struct address_space *mapping, pgoff_t start, pgoff_t end) invalidate_inode_pages2_range() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | resource.c | 52 static bool acpi_dev_resource_len_valid(u64 start, u64 end, u64 len, bool io) in acpi_dev_resource_len_valid() argument 54 u64 reslen = end - start + 1; in acpi_dev_resource_len_valid() 63 if (len && reslen && start <= end) in acpi_dev_resource_len_valid() 67 io ? "io" : "mem", start, end, len); in acpi_dev_resource_len_valid() 77 if (!acpi_dev_resource_len_valid(res->start, res->end, len, false)) in acpi_dev_memresource_flags() 84 static void acpi_dev_get_memresource(struct resource *res, u64 start, u64 len, in acpi_dev_get_memresource() argument 87 res->start = start; in acpi_dev_get_memresource() 88 res->end = start + len - 1; in acpi_dev_get_memresource() 145 if (!acpi_dev_resource_len_valid(res->start, re in acpi_dev_ioresource_flags() 157 acpi_dev_get_ioresource(struct resource *res, u64 start, u64 len, u8 io_decode) acpi_dev_get_ioresource() argument 213 u64 start, end, offset = 0; acpi_decode_space() local [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | crash_core.c | 68 unsigned long long start, end = ULLONG_MAX, size; in parse_crashkernel_mem() local 70 /* get the start of the range */ in parse_crashkernel_mem() 71 start = memparse(cur, &tmp); in parse_crashkernel_mem() 91 if (end <= start) { in parse_crashkernel_mem() 92 pr_warn("crashkernel: end <= start\n"); in parse_crashkernel_mem() 115 if (total_mem >= start && total_mem < end) { in parse_crashkernel_mem() 400 mstart = mem->ranges[i].start; in crash_prepare_elf64_headers() 427 unsigned long long start, end, p_start, p_end; in crash_exclude_mem_range() local 431 start = mem->ranges[i].start; in crash_exclude_mem_range() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | migrate_device.c | 20 static int migrate_vma_collect_skip(unsigned long start, in migrate_vma_collect_skip() argument 27 for (addr = start; addr < end; addr += PAGE_SIZE) { in migrate_vma_collect_skip() 35 static int migrate_vma_collect_hole(unsigned long start, in migrate_vma_collect_hole() argument 45 return migrate_vma_collect_skip(start, end, walk); in migrate_vma_collect_hole() 47 for (addr = start; addr < end; addr += PAGE_SIZE) { in migrate_vma_collect_hole() 58 unsigned long start, in migrate_vma_collect_pmd() 65 unsigned long addr = start, unmapped = 0; in migrate_vma_collect_pmd() 71 return migrate_vma_collect_hole(start, end, -1, walk); in migrate_vma_collect_pmd() 92 return migrate_vma_collect_skip(start, end, in migrate_vma_collect_pmd() 98 return migrate_vma_collect_skip(start, en in migrate_vma_collect_pmd() 57 migrate_vma_collect_pmd(pmd_t *pmdp, unsigned long start, unsigned long end, struct mm_walk *walk) migrate_vma_collect_pmd() argument 894 migrate_device_range(unsigned long *src_pfns, unsigned long start, unsigned long npages) migrate_device_range() argument [all...] |
/third_party/lwip/src/core/ipv6/ |
H A D | ip6_frag.c | 94 PACK_STRUCT_FIELD(u16_t start); 178 if (iprh->start == 0) { in ip6_reass_free_complete_datagram() 297 u16_t offset, len, start, end; in ip6_reass() local 329 start = (offset & IP6_FRAG_OFFSET_MASK); in ip6_reass() 330 if (start > (0xFFFF - len)) { in ip6_reass() 448 end = (u16_t)(start + len); in ip6_reass() 455 if (start < iprh_tmp->start) { in ip6_reass() 457 if (end > iprh_tmp->start) { in ip6_reass() 463 if (start < iprh_pre in ip6_reass() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | LiveInterval.h | 159 /// The start point is inclusive, the end point exclusive. These intervals 160 /// are rendered as [start,end). 162 SlotIndex start; // Start point of the interval (inclusive) member 170 : start(S), end(E), valno(V) { in Segment() 176 return start <= I && I < end; 182 return (start <= S && S < end) && (start < E && E <= end); 186 return std::tie(start, end) < std::tie(Other.start, Other.end); 189 return start [all...] |
/third_party/python/Lib/zoneinfo/ |
H A D | _zoneinfo.py | 425 "start", 433 self, std_abbr, std_offset, dst_abbr, dst_offset, start=None, end=None 441 self.start = start 449 # by functions that would fail before passing start or end 450 assert start is not None, "No transition start specified" 457 start = self.start.year_to_epoch(year) 459 return start, en [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | on_text_changed_listener_impl.cpp | 75 auto start = value.selection.GetStart(); in DeleteForward() 80 textEditingValue->UpdateSelection(start, end); in DeleteForward() 81 textEditingValue->Delete(start, start == end ? end + length : end); in DeleteForward() 145 auto start = value.selection.GetStart(); in DeleteBackward() 150 textEditingValue->UpdateSelection(start, end); in DeleteBackward() 151 textEditingValue->Delete(start == end ? start - length : start, end); in DeleteBackward() 243 void OnTextChangedListenerImpl::HandleSetSelection(int32_t start, int32_ argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
H A D | kvstore_datashare_bridge_test.cpp | 231 int32_t start = -1; in HWTEST_F() local 234 EXPECT_EQ(bridge->OnGo(start, target, writer), -1); in HWTEST_F() 237 start = 0; in HWTEST_F() 239 EXPECT_EQ(bridge->OnGo(start, target, writer), -1); in HWTEST_F() 242 start = 1; in HWTEST_F() 244 EXPECT_EQ(bridge->OnGo(start, target, writer), -1); in HWTEST_F() 247 start = 1; in HWTEST_F() 249 EXPECT_EQ(bridge->OnGo(start, target, writer), -1); in HWTEST_F() 269 int start = 0; in HWTEST_F() local 273 EXPECT_EQ(bridge->OnGo(start, targe in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/pci/ |
H A D | acpi.c | 35 set_dev_node(bus_dev, pa_to_nid(cfg->res.start)); in pcibios_root_bridge_prepare() 70 entry->res->start |= entry->offset; in acpi_prepare_root_resources() 100 if (busr->start > busr->end) in arch_pci_ecam_create() 109 cfg->busr.start = busr->start; in arch_pci_ecam_create() 116 cfg->res.start = cfgres->start; in arch_pci_ecam_create() 129 cfg->win = pci_remap_cfgspace(cfgres->start, bus_range * bsz); in arch_pci_ecam_create() 176 cfgres.start = root->mcfg_addr + (bus_res->start << bus_shif in pci_acpi_setup_ecam_mapping() [all...] |
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | trace_arm.h | 139 TP_PROTO(unsigned long start, unsigned long end), 140 TP_ARGS(start, end), 143 __field( unsigned long, start ) 148 __entry->start = start; 153 __entry->start, __entry->end) 172 TP_PROTO(unsigned long start, unsigned long end), 173 TP_ARGS(start, end), 176 __field( unsigned long, start ) 181 __entry->start [all...] |
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | sharpslpart.c | 283 __le32 start; member 313 if (le32_to_cpu(buf[0].end) <= le32_to_cpu(buf[0].start) || in sharpsl_nand_read_partinfo() 314 le32_to_cpu(buf[1].start) < le32_to_cpu(buf[0].end) || in sharpsl_nand_read_partinfo() 315 le32_to_cpu(buf[1].end) <= le32_to_cpu(buf[1].start) || in sharpsl_nand_read_partinfo() 316 le32_to_cpu(buf[2].start) < le32_to_cpu(buf[1].end) || in sharpsl_nand_read_partinfo() 317 le32_to_cpu(buf[2].end) <= le32_to_cpu(buf[2].start)) { in sharpsl_nand_read_partinfo() 373 sharpsl_nand_parts[0].offset = le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions() 375 le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions() 378 sharpsl_nand_parts[1].offset = le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions() 380 le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions() [all...] |
/kernel/linux/linux-6.6/arch/loongarch/pci/ |
H A D | acpi.c | 37 set_dev_node(bus_dev, pa_to_nid(cfg->res.start)); in pcibios_root_bridge_prepare() 72 entry->res->start |= entry->offset; in acpi_prepare_root_resources() 101 if (busr->start > busr->end) in arch_pci_ecam_create() 110 cfg->busr.start = busr->start; in arch_pci_ecam_create() 117 cfg->res.start = cfgres->start; in arch_pci_ecam_create() 130 cfg->win = pci_remap_cfgspace(cfgres->start, bus_range * bsz); in arch_pci_ecam_create() 178 cfgres.start = root->mcfg_addr + (bus_res->start << bus_shif in pci_acpi_setup_ecam_mapping() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_user_copy.c | 50 size_t start, end, i, zero_start, zero_end; in test_check_nonzero_user() local 62 start = PAGE_SIZE - (size / 2); in test_check_nonzero_user() 64 kmem += start; in test_check_nonzero_user() 65 umem += start; in test_check_nonzero_user() 73 * [start,end] pair): in test_check_nonzero_user() 90 for (start = 0; start <= size; start++) { in test_check_nonzero_user() 91 for (end = start; end <= size; end++) { in test_check_nonzero_user() 92 size_t len = end - start; in test_check_nonzero_user() [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | intel_pmc_bxt.c | 294 tco_res[0].start = res->start + TCO_BASE_OFFSET; in intel_pmc_get_tco_resources() 295 tco_res[0].end = tco_res[0].start + TCO_REGS_SIZE - 1; in intel_pmc_get_tco_resources() 297 tco_res[1].start = res->start + SMI_EN_OFFSET; in intel_pmc_get_tco_resources() 298 tco_res[1].end = tco_res[1].start + SMI_EN_SIZE - 1; in intel_pmc_get_tco_resources() 323 scu_data->mem.start = res->start; in intel_pmc_get_resources() 324 scu_data->mem.end = res->start + PLAT_RESOURCE_IPC_SIZE - 1; in intel_pmc_get_resources() 328 gcr_res.start in intel_pmc_get_resources() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | sharpslpart.c | 283 __le32 start; member 313 if (le32_to_cpu(buf[0].end) <= le32_to_cpu(buf[0].start) || in sharpsl_nand_read_partinfo() 314 le32_to_cpu(buf[1].start) < le32_to_cpu(buf[0].end) || in sharpsl_nand_read_partinfo() 315 le32_to_cpu(buf[1].end) <= le32_to_cpu(buf[1].start) || in sharpsl_nand_read_partinfo() 316 le32_to_cpu(buf[2].start) < le32_to_cpu(buf[1].end) || in sharpsl_nand_read_partinfo() 317 le32_to_cpu(buf[2].end) <= le32_to_cpu(buf[2].start)) { in sharpsl_nand_read_partinfo() 373 sharpsl_nand_parts[0].offset = le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions() 375 le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions() 378 sharpsl_nand_parts[1].offset = le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions() 380 le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions() [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | intel_pmc_bxt.c | 294 tco_res[0].start = res->start + TCO_BASE_OFFSET; in intel_pmc_get_tco_resources() 295 tco_res[0].end = tco_res[0].start + TCO_REGS_SIZE - 1; in intel_pmc_get_tco_resources() 297 tco_res[1].start = res->start + SMI_EN_OFFSET; in intel_pmc_get_tco_resources() 298 tco_res[1].end = tco_res[1].start + SMI_EN_SIZE - 1; in intel_pmc_get_tco_resources() 323 scu_data->mem.start = res->start; in intel_pmc_get_resources() 324 scu_data->mem.end = res->start + PLAT_RESOURCE_IPC_SIZE - 1; in intel_pmc_get_resources() 328 gcr_res.start in intel_pmc_get_resources() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | gtt.c | 23 resource_size_t start, end; in psb_gtt_allocate_resource() local 27 /* The start of the GTT is backed by stolen pages. */ in psb_gtt_allocate_resource() 28 start = root->start; in psb_gtt_allocate_resource() 29 end = root->start + pdev->gtt.stolen_size - 1; in psb_gtt_allocate_resource() 32 start = root->start + pdev->gtt.stolen_size; in psb_gtt_allocate_resource() 37 ret = allocate_resource(root, res, size, start, end, align, NULL, NULL); in psb_gtt_allocate_resource() 40 *offset = res->start - root->start; in psb_gtt_allocate_resource() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | intel_uncore.c | 36 if (is_watertight && (prev + 1) != (s32)ranges->start) { in intel_fw_table_check() 38 __func__, i, ranges->start, ranges->end, prev); in intel_fw_table_check() 43 if (prev >= (s32)ranges->start) { in intel_fw_table_check() 45 __func__, i, ranges->start, ranges->end, prev); in intel_fw_table_check() 50 if (ranges->start >= ranges->end) { in intel_fw_table_check() 52 __func__, i, ranges->start, ranges->end); in intel_fw_table_check() 83 if (range->end < range->start) { in intel_shadow_table_check() 84 pr_err("%s: range[%d]:(%06x-%06x) has end before start\n", in intel_shadow_table_check() 85 __func__, i, range->start, range->end); in intel_shadow_table_check() 89 if (prev >= (s32)range->start) { in intel_shadow_table_check() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_user_copy.c | 50 size_t start, end, i, zero_start, zero_end; in test_check_nonzero_user() local 62 start = PAGE_SIZE - (size / 2); in test_check_nonzero_user() 64 kmem += start; in test_check_nonzero_user() 65 umem += start; in test_check_nonzero_user() 73 * [start,end] pair): in test_check_nonzero_user() 90 for (start = 0; start <= size; start++) { in test_check_nonzero_user() 91 for (end = start; end <= size; end++) { in test_check_nonzero_user() 92 size_t len = end - start; in test_check_nonzero_user() [all...] |
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
H A D | BreakIteratorPerformanceTest.java | 101 int start = iter.first(); in init() 102 for (int end = iter.next(); end != com.ibm.icu.text.BreakIterator.DONE; start = end, end = iter.next()) in init() 103 tokenList.add(fileContents.substring(start, end)); in init() 115 int start = iter.first(); in init() 116 for (int end = iter.next(); end != com.ibm.icu.text.BreakIterator.DONE; start = end, end = iter.next()) in init() 117 tokenList.add(fileContents.substring(start, end)); in init() 128 int start = iIter.first(); in createTestICU() 129 for (int end = iIter.next(); end != com.ibm.icu.text.BreakIterator.DONE; start = end, end = iIter in createTestICU() 131 if (!correct[k++].equals(fileContents.substring(start, end))) in createTestICU() 149 int start in createTestJava() [all...] |
/third_party/node/lib/ |
H A D | diagnostics_channel.js | 239 'start', 255 this.start = channel(`tracing:${nameOrChannels}:start`); 261 const { start, end, asyncStart, asyncEnd, error } = nameOrChannels; 263 assertChannel(start, 'nameOrChannels.start'); 269 this.start = start; 304 const { start, end, error } = this; 306 return start [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_live_variables.cpp | 85 start[v] = MIN2(start[v], ip); in setup_def_use() 108 start[v] = MIN2(start[v], ip); in setup_def_use() 195 * Extend the start/end ranges for each variable to account for the 206 start[i] = MIN2(start[i], block->start_ip); in compute_start_end() 211 start[i] = MIN2(start[i], block->end_ip); in compute_start_end() 224 start in vec4_live_variables() [all...] |