/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 117 if (sym->start == sym->end) in test__vmlinux_matches_kallsyms() 120 mem_start = vmlinux_map->unmap_ip(vmlinux_map, sym->start); in test__vmlinux_matches_kallsyms() 126 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms() 131 * set that by using the next symbol start - 1, in test__vmlinux_matches_kallsyms() 154 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms() 212 mem_start = vmlinux_map->unmap_ip(vmlinux_map, map->start); in test__vmlinux_matches_kallsyms() 219 if (pair->start == mem_start) { in test__vmlinux_matches_kallsyms() 226 map->start, map->end, map->pgoff, map->dso->name); in test__vmlinux_matches_kallsyms() 229 pair->start, pair->end, pair->pgoff); in test__vmlinux_matches_kallsyms()
|
/kernel/linux/linux-5.10/fs/befs/ |
H A D | endian.h | 78 run.start = le16_to_cpu((__force __le16)n.start); in fsrun_to_cpu() 82 run.start = be16_to_cpu((__force __be16)n.start); in fsrun_to_cpu() 95 run.start = cpu_to_le16(n.start); in cpu_to_fsrun() 99 run.start = cpu_to_be16(n.start); in cpu_to_fsrun()
|
/kernel/linux/linux-6.6/fs/befs/ |
H A D | endian.h | 78 run.start = le16_to_cpu((__force __le16)n.start); in fsrun_to_cpu() 82 run.start = be16_to_cpu((__force __be16)n.start); in fsrun_to_cpu() 95 run.start = cpu_to_le16(n.start); in cpu_to_fsrun() 99 run.start = cpu_to_be16(n.start); in cpu_to_fsrun()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | info.c | 164 unsigned long start; in rds_info_getsockopt() local 177 start = (unsigned long)optval; in rds_info_getsockopt() 178 if (len < 0 || len > INT_MAX - PAGE_SIZE + 1 || start + len < start) { in rds_info_getsockopt() 187 nr_pages = (PAGE_ALIGN(start + len) - (start & PAGE_MASK)) in rds_info_getsockopt() 195 ret = pin_user_pages_fast(start, nr_pages, FOLL_WRITE, pages); in rds_info_getsockopt() 216 iter.offset = start & (PAGE_SIZE - 1); in rds_info_getsockopt()
|
/kernel/linux/linux-6.6/tools/testing/fault-injection/ |
H A D | failcmd.sh | 43 --stacktrace-depth=value, --require-start=value, --require-end=value, 44 --reject-start=value, --reject-end=value, --ignore-gfp-wait=value 88 LONGOPTS=$LONGOPTS,stacktrace-depth:,require-start:,require-end: 89 LONGOPTS=$LONGOPTS,reject-start:,reject-end:,oom-kill-allocating-task:,help 162 --require-start) 163 echo $2 > $FAULTATTR/require-start 170 --reject-start) 171 echo $2 > $FAULTATTR/reject-start
|
/kernel/linux/linux-6.6/virt/lib/ |
H A D | irqbypass.c | 49 if (cons->start) in __connect() 50 cons->start(cons); in __connect() 51 if (prod->start) in __connect() 52 prod->start(prod); in __connect() 71 if (cons->start) in __disconnect() 72 cons->start(cons); in __disconnect() 73 if (prod->start) in __disconnect() 74 prod->start(prod); in __disconnect()
|
/kernel/linux/linux-6.6/mm/ |
H A D | percpu-stats.c | 56 int i, last_alloc, as_len, start, end; in chunk_map_stats() local 65 * find_last_bit returns the start value if nothing found. in chunk_map_stats() 76 start = chunk->start_offset / PCPU_MIN_ALLOC_SIZE; in chunk_map_stats() 87 while (start < last_alloc) { in chunk_map_stats() 88 if (test_bit(start, chunk->alloc_map)) { in chunk_map_stats() 90 start + 1); in chunk_map_stats() 94 start + 1); in chunk_map_stats() 98 alloc_sizes[as_len++] *= (end - start) * PCPU_MIN_ALLOC_SIZE; in chunk_map_stats() 100 start = end; in chunk_map_stats()
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm_crb.c | 114 ktime_t start; in crb_wait_for_reg_32() local 117 start = ktime_get(); in crb_wait_for_reg_32() 118 stop = ktime_add(start, ms_to_ktime(timeout)); in crb_wait_for_reg_32() 141 * The function does nothing for devices with ACPI-start method 142 * or SMC-start method. 184 * The function does nothing for devices with ACPI-start method 185 * or SMC-start method. 332 * This is a TPM Command Response Buffer start method that invokes a 353 dev_err(dev, FW_BUG "tpm_crb: incorrect start method\n"); in tpm_crb_smc_start() 376 /* Make sure that cmd is populated before issuing start in crb_send() 456 crb_map_res(struct device *dev, struct resource *iores, void __iomem **iobase_ptr, u64 start, u32 size) crb_map_res() argument 486 crb_fixup_cmd_size(struct device *dev, struct resource *io_res, u64 start, u64 size) crb_fixup_cmd_size() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 32 unsigned alignment, u64 start, u64 end) in i915_gem_stolen_insert_node_in_range() 40 if (INTEL_GEN(i915) >= 8 && start < 4096) in i915_gem_stolen_insert_node_in_range() 41 start = 4096; in i915_gem_stolen_insert_node_in_range() 46 start, end, DRM_MM_INSERT_BEST); in i915_gem_stolen_insert_node_in_range() 77 if (dsm->start == 0 || dsm->end <= dsm->start) in i915_adjust_stolen() 103 if (ggtt_res.start >= stolen[0].start && ggtt_res.start < stolen[0].end) in i915_adjust_stolen() 104 stolen[0].end = ggtt_res.start; in i915_adjust_stolen() 30 i915_gem_stolen_insert_node_in_range(struct drm_i915_private *i915, struct drm_mm_node *node, u64 size, unsigned alignment, u64 start, u64 end) i915_gem_stolen_insert_node_in_range() argument [all...] |
/kernel/linux/linux-5.10/fs/hpfs/ |
H A D | alloc.c | 100 int hpfs_chk_sectors(struct super_block *s, secno start, int len, char *msg) in hpfs_chk_sectors() argument 102 if (start + len < start || start < 0x12 || in hpfs_chk_sectors() 103 start + len > hpfs_sb(s)->sb_fs_size) { in hpfs_chk_sectors() 104 hpfs_error(s, "sector(s) '%s' badly placed at %08x", msg, start); in hpfs_chk_sectors() 110 if (chk_if_allocated(s, start + i, msg)) return 1; in hpfs_chk_sectors() 503 static int do_trim(struct super_block *s, secno start, unsigned len, secno limit_start, secno limit_end, unsigned minlen, unsigned *result) in do_trim() argument 509 end = start + len; in do_trim() 510 if (start < limit_star in do_trim() 525 hpfs_trim_fs(struct super_block *s, u64 start, u64 end, u64 minlen, unsigned *result) hpfs_trim_fs() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | g_NCR5380.c | 523 int start = 0; in generic_NCR5380_precv() local 529 if (start == len - 128) { in generic_NCR5380_precv() 546 dst + start, 64); in generic_NCR5380_precv() 549 dst + start, 128); in generic_NCR5380_precv() 551 memcpy_fromio(dst + start, in generic_NCR5380_precv() 553 start += 128; in generic_NCR5380_precv() 554 } while (start < len); in generic_NCR5380_precv() 556 residual = len - start; in generic_NCR5380_precv() 590 int start = 0; in generic_NCR5380_psend() local 603 if (start > in generic_NCR5380_psend() [all...] |
/kernel/linux/linux-6.6/fs/hpfs/ |
H A D | alloc.c | 100 int hpfs_chk_sectors(struct super_block *s, secno start, int len, char *msg) in hpfs_chk_sectors() argument 102 if (start + len < start || start < 0x12 || in hpfs_chk_sectors() 103 start + len > hpfs_sb(s)->sb_fs_size) { in hpfs_chk_sectors() 104 hpfs_error(s, "sector(s) '%s' badly placed at %08x", msg, start); in hpfs_chk_sectors() 110 if (chk_if_allocated(s, start + i, msg)) return 1; in hpfs_chk_sectors() 503 static int do_trim(struct super_block *s, secno start, unsigned len, secno limit_start, secno limit_end, unsigned minlen, unsigned *result) in do_trim() argument 509 end = start + len; in do_trim() 510 if (start < limit_star in do_trim() 525 hpfs_trim_fs(struct super_block *s, u64 start, u64 end, u64 minlen, unsigned *result) hpfs_trim_fs() argument [all...] |
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm_crb.c | 121 ktime_t start; in crb_wait_for_reg_32() local 124 start = ktime_get(); in crb_wait_for_reg_32() 125 stop = ktime_add(start, ms_to_ktime(timeout)); in crb_wait_for_reg_32() 167 * The function does nothing for devices with ACPI-start method 168 * or SMC-start method. 216 * The function does nothing for devices with ACPI-start method 217 * or SMC-start method. 371 * This is a TPM Command Response Buffer start method that invokes a 392 dev_err(dev, FW_BUG "tpm_crb: incorrect start method\n"); in tpm_crb_smc_start() 419 /* Make sure that cmd is populated before issuing start in crb_send() 502 crb_map_res(struct device *dev, struct resource *iores, void __iomem **iobase_ptr, u64 start, u32 size) crb_map_res() argument 532 crb_fixup_cmd_size(struct device *dev, struct resource *io_res, u64 start, u64 size) crb_fixup_cmd_size() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | g_NCR5380.c | 523 int start = 0; in generic_NCR5380_precv() local 529 if (start == len - 128) { in generic_NCR5380_precv() 546 dst + start, 64); in generic_NCR5380_precv() 549 dst + start, 128); in generic_NCR5380_precv() 551 memcpy_fromio(dst + start, in generic_NCR5380_precv() 553 start += 128; in generic_NCR5380_precv() 554 } while (start < len); in generic_NCR5380_precv() 556 residual = len - start; in generic_NCR5380_precv() 590 int start = 0; in generic_NCR5380_psend() local 603 if (start > in generic_NCR5380_psend() [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | rsrc_nonstatic.c | 274 s->cis_virt = ioremap(res->start, s->map_size); in readable() 301 virt = ioremap(res->start, s->map_size); in checksum() 334 * @base: start address of resource to check 389 * @base: start address of resource to check 590 resource_size_t start) in pcmcia_common_align() 594 * Ensure that we have the correct start address in pcmcia_common_align() 596 ret = (start & ~align_data->mask) + align_data->offset; in pcmcia_common_align() 597 if (ret < start) in pcmcia_common_align() 608 resource_size_t start; in pcmcia_align() local 610 start in pcmcia_align() 589 pcmcia_common_align(struct pcmcia_align_data *align_data, resource_size_t start) pcmcia_common_align() argument 657 unsigned long start = m->base; __nonstatic_adjust_io_region() local 863 adjust_memory(struct pcmcia_socket *s, unsigned int action, unsigned long start, unsigned long end) adjust_memory() argument 889 adjust_io(struct pcmcia_socket *s, unsigned int action, unsigned long start, unsigned long end) adjust_io() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | memblock.c | 196 * @start: start of candidate range 210 __memblock_find_range_bottom_up(phys_addr_t start, phys_addr_t end, in __memblock_find_range_bottom_up() argument 218 this_start = clamp(this_start, start, end); in __memblock_find_range_bottom_up() 219 this_end = clamp(this_end, start, end); in __memblock_find_range_bottom_up() 231 * @start: start of candidate range 245 __memblock_find_range_top_down(phys_addr_t start, phys_addr_t end, in __memblock_find_range_top_down() argument 254 this_start = clamp(this_start, start, end); in __memblock_find_range_top_down() 255 this_end = clamp(this_end, start, en in __memblock_find_range_top_down() 283 memblock_find_in_range_node(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, enum memblock_flags flags) memblock_find_in_range_node() argument 318 memblock_find_in_range(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align) memblock_find_in_range() argument 1323 memblock_alloc_range_nid(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, bool exact_nid) memblock_alloc_range_nid() argument 1389 memblock_phys_alloc_range(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end) memblock_phys_alloc_range() argument 1808 phys_addr_t start, end, orig_start, orig_end; memblock_trim_memory() local 1900 __free_pages_memory(unsigned long start, unsigned long end) __free_pages_memory() argument 1910 memblock_free_pages(pfn_to_page(start), start, order); __free_pages_memory() local 1916 __free_memory_core(phys_addr_t start, phys_addr_t end) __free_memory_core() argument 1934 phys_addr_t start, end; free_low_memory_core_early() local [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | rsrc_nonstatic.c | 274 s->cis_virt = ioremap(res->start, s->map_size); in readable() 301 virt = ioremap(res->start, s->map_size); in checksum() 334 * @base: start address of resource to check 389 * @base: start address of resource to check 590 resource_size_t start) in pcmcia_common_align() 594 * Ensure that we have the correct start address in pcmcia_common_align() 596 ret = (start & ~align_data->mask) + align_data->offset; in pcmcia_common_align() 597 if (ret < start) in pcmcia_common_align() 608 resource_size_t start; in pcmcia_align() local 610 start in pcmcia_align() 589 pcmcia_common_align(struct pcmcia_align_data *align_data, resource_size_t start) pcmcia_common_align() argument 657 unsigned long start = m->base; __nonstatic_adjust_io_region() local 863 adjust_memory(struct pcmcia_socket *s, unsigned int action, unsigned long start, unsigned long end) adjust_memory() argument 889 adjust_io(struct pcmcia_socket *s, unsigned int action, unsigned long start, unsigned long end) adjust_io() argument [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_queryperf_test/src/ |
H A D | medialibrary_queryperf_test.cpp | 125 MEDIA_ERR_LOG("TearDownTestCase start"); in TearDownTestCase() 152 int64_t start = UTCTimeSeconds(); in HWTEST_F() local 161 GTEST_LOG_(INFO) << "QueryALLColumn Cost: " << ((double)(end - start)/50) << "ms"; in HWTEST_F() 181 int64_t start = UTCTimeSeconds(); in HWTEST_F() local 190 GTEST_LOG_(INFO) << "Query10Column Cost: " << ((double)(end - start)/50) << "ms"; in HWTEST_F() 211 int64_t start = UTCTimeSeconds(); in HWTEST_F() local 220 GTEST_LOG_(INFO) << "Query10Columnlimit50 Cost: " << ((double)(end - start)/50) << "ms"; in HWTEST_F() 241 int64_t start = UTCTimeSeconds(); in HWTEST_F() local 267 GTEST_LOG_(INFO) << "GetALLColumn Cost: " << ((double)(end - start)/50) << "ms"; in HWTEST_F() 290 int64_t start in HWTEST_F() local 339 int64_t start = UTCTimeSeconds(); HWTEST_F() local 374 int64_t start = UTCTimeSeconds(); HWTEST_F() local 404 int64_t start = UTCTimeSeconds(); HWTEST_F() local 439 int64_t start = UTCTimeSeconds(); HWTEST_F() local 469 int64_t start = UTCTimeSeconds(); HWTEST_F() local 518 int64_t start = UTCTimeSeconds(); HWTEST_F() local 568 int64_t start = UTCTimeSeconds(); HWTEST_F() local 608 int64_t start = UTCTimeSeconds(); HWTEST_F() local 630 int64_t start = UTCTimeSeconds(); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7724/ |
H A D | setup.c | 78 .start = PA_LED, 98 .start = 0x1a300300, 103 .start = IRQ0_SMC, 144 .start = 0x00000000, 206 .start = 0xfe940000, 211 .start = evt2irq(0xf40), 233 .start = 0xfe910000, 238 .start = evt2irq(0x880), 261 .start = 0xfe914000, 266 .start [all...] |
/kernel/linux/linux-6.6/arch/sh/boards/mach-se/7724/ |
H A D | setup.c | 78 .start = PA_LED, 98 .start = 0x1a300300, 103 .start = IRQ0_SMC, 144 .start = 0x00000000, 206 .start = 0xfe940000, 211 .start = evt2irq(0xf40), 233 .start = 0xfe910000, 238 .start = evt2irq(0x880), 261 .start = 0xfe914000, 266 .start [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 42 unsigned alignment, u64 start, u64 end) in i915_gem_stolen_insert_node_in_range() 50 if (GRAPHICS_VER(i915) >= 8 && start < 4096) in i915_gem_stolen_insert_node_in_range() 51 start = 4096; in i915_gem_stolen_insert_node_in_range() 56 start, end, DRM_MM_INSERT_BEST); in i915_gem_stolen_insert_node_in_range() 82 return (dsm->start != 0 || HAS_LMEMBAR_SMEM_STOLEN(i915)) && dsm->end > dsm->start; in valid_stolen_size() 115 if (ggtt_res.start >= stolen[0].start && ggtt_res.start < stolen[0].end) in adjust_stolen() 116 stolen[0].end = ggtt_res.start; in adjust_stolen() 40 i915_gem_stolen_insert_node_in_range(struct drm_i915_private *i915, struct drm_mm_node *node, u64 size, unsigned alignment, u64 start, u64 end) i915_gem_stolen_insert_node_in_range() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | render_loading_progress.cpp | 399 void RenderLoadingProgress::CalculateValue(int32_t start, int32_t end, double percent) in CalculateValue() argument 401 if (start == end) { in CalculateValue() 402 ringWidth_ = NormalizeToPx(MODE_RING_WIDTH[start]); in CalculateValue() 403 cometRadius_ = NormalizeToPx(MODE_COMET_RADIUS[start]); in CalculateValue() 404 ringBlurRadius_ = NormalizeToPx(MODE_RING_BLUR_RADIUS[start]); in CalculateValue() 405 ringBgWidth_ = NormalizeToPx(MODE_RING_BG_WIDTH[start]); in CalculateValue() 406 ringBgBlurRadius_ = NormalizeToPx(MODE_RING_BG_BLUR_RADIUS[start]); in CalculateValue() 408 ringWidth_ = NormalizeToPx(MODE_RING_WIDTH[start] + in CalculateValue() 409 (MODE_RING_WIDTH[end] - MODE_RING_WIDTH[start]) * percent); in CalculateValue() 410 cometRadius_ = NormalizeToPx(MODE_COMET_RADIUS[start] in CalculateValue() [all...] |
/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | net_vpn_impl.cpp | 354 int32_t start = INVALID_UID; in GenerateUidRangesByAcceptedApps() local 357 if (start == INVALID_UID) { in GenerateUidRangesByAcceptedApps() 358 start = uid; in GenerateUidRangesByAcceptedApps() 360 beginUids.push_back(start); in GenerateUidRangesByAcceptedApps() 362 start = uid; in GenerateUidRangesByAcceptedApps() 366 if (start != INVALID_UID) { in GenerateUidRangesByAcceptedApps() 367 beginUids.push_back(start); in GenerateUidRangesByAcceptedApps() 375 int32_t start = userId * AppExecFwk::Constants::BASE_USER_RANGE; in GenerateUidRangesByRefusedApps() local 378 if (uid == start) { in GenerateUidRangesByRefusedApps() 379 start in GenerateUidRangesByRefusedApps() 439 int32_t start = userId * AppExecFwk::Constants::BASE_USER_RANGE; GenerateUidRanges() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vram_mgr.c | 239 uint64_t start = node->start << PAGE_SHIFT; in amdgpu_vram_mgr_vis_size() local 240 uint64_t end = (node->size + node->start) << PAGE_SHIFT; in amdgpu_vram_mgr_vis_size() 242 if (start >= adev->gmc.visible_vram_size) in amdgpu_vram_mgr_vis_size() 246 adev->gmc.visible_vram_size : end) - start; in amdgpu_vram_mgr_vis_size() 268 if (mem->start >= adev->gmc.visible_vram_size >> PAGE_SHIFT) in amdgpu_vram_mgr_bo_visible_size() 278 * amdgpu_vram_mgr_virt_start - update virtual start address 283 * Calculate a virtual BO start address to easily check if everything is CPU 289 unsigned long start; in amdgpu_vram_mgr_virt_start() local 291 start in amdgpu_vram_mgr_virt_start() [all...] |
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
H A D | setup_tx4939.c | 111 txx9_ce_res[i].start = (unsigned long)TX4939_EBUSC_BA(i); in tx4939_setup() 113 txx9_ce_res[i].start + TX4939_EBUSC_SIZE(i) - 1; in tx4939_setup() 218 tx4939_sdram_resource[i].start = in tx4939_setup() 232 tx4939_sram_resource.start = in tx4939_setup() 236 tx4939_sram_resource.start + TX4939_SRAM_SIZE - 1; in tx4939_setup() 362 unsigned long start = txx9_ce_res[ch].start; in tx4939_mtd_init() local 363 unsigned long size = txx9_ce_res[ch].end - start + 1; in tx4939_mtd_init() 367 txx9_physmap_flash_init(ch, start, size, &pdata); in tx4939_mtd_init() 375 .start in tx4939_ata_init() [all...] |