/linux/kernel/ |
H A D | range.c | 12 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 14 if (start >= end) in add_range() 22 range[nr_range].end = end; in add_range() 30 u64 start, u64 end) in add_range_with_merge() argument 34 if (start >= end) in add_range_with_merge() 37 /* get new start/end: */ in add_range_with_merge() 41 if (!range[i].end) in add_range_with_merge() 45 common_end = min(range[i].end, end); in add_range_with_merge() 49 /* new start/end, will add it back at last */ in add_range_with_merge() 51 end = max(range[i].end, end); in add_range_with_merge() [all …]
|
H A D | resource.c | 38 .end = IO_SPACE_LIMIT, 46 .end = -1, 122 unsigned long long start, end; in r_show() local 123 int width = root->end < 0x10000 ? 4 : 8; in r_show() 132 end = r->end; in r_show() 134 start = end = 0; in r_show() 140 width, end, in r_show() 184 resource_size_t end = new->end; in __request_resource() local 187 if (end < start) in __request_resource() 191 if (end > root->end) in __request_resource() [all …]
|
/linux/include/linux/ceph/ |
H A D | decode.h | 16 * void *end pointer to end of buffer (last byte + 1) 52 static inline bool ceph_has_room(void **p, void *end, size_t n) in ceph_has_room() argument 54 return end >= *p && n <= end - *p; in ceph_has_room() 57 #define ceph_decode_need(p, end, n, bad) \ argument 59 if (!likely(ceph_has_room(p, end, n))) \ 63 #define ceph_decode_64_safe(p, end, v, bad) \ argument 65 ceph_decode_need(p, end, sizeof(u64), bad); \ 68 #define ceph_decode_32_safe(p, end, v, bad) \ argument 70 ceph_decode_need(p, end, sizeof(u32), bad); \ 73 #define ceph_decode_16_safe(p, end, v, bad) \ argument [all …]
|
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ethtool.c | 85 int end; member 96 .end = 24, 103 .end = 16, 110 .end = 8, 117 .end = 0, 125 .end = 27, 132 .end = 26, 139 .end = 25, 146 .end = 24, 153 .end = 23, [all …]
|
/linux/arch/arm64/mm/ |
H A D | cache.S | 18 * caches_clean_inval_pou_macro(start,end) [fixup] 25 * - end - virtual end address of region 46 * caches_clean_inval_pou(start,end) 53 * - end - virtual end address of region 62 * caches_clean_inval_user_pou(start,end) 69 * - end - virtual end address of region 85 * icache_inval_pou(start,end) 90 * - end - virtual end address of region 103 * dcache_clean_inval_poc(start, end) 105 * Ensure that any D-cache lines for the interval [start, end) [all …]
|
/linux/arch/mips/pci/ |
H A D | pci-malta.c | 31 .end = 0x000fffffUL, 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 104 end = GT_READ(GT_PCI0M0HD_OFS); in mips_pcibios_init() 106 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 112 if (end1 - start1 > end - start) { in mips_pcibios_init() 114 end = end1; in mips_pcibios_init() 117 mask = ~(start ^ end); in mips_pcibios_init() 122 gt64120_mem_resource.end = end; in mips_pcibios_init() 126 gt64120_mem_resource.end <<= GT_PCI_DCRM_SHF; in mips_pcibios_init() 127 gt64120_mem_resource.end |= (1 << GT_PCI_DCRM_SHF) - 1; in mips_pcibios_init() [all …]
|
/linux/tools/perf/util/ |
H A D | block-range.c | 22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 24 old = entry->end; in block_range__debug() 41 else if (addr > entry->end) in block_range__find() 73 * @end: branch ending this basic block 77 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 90 else if (start > entry->end) in block_range__create() 97 * Didn't find anything.. there's a hole at @start, however @end might in block_range__create() 108 if (entry->end < start) { in block_range__create() 115 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create() 122 .end = next->start - 1, in block_range__create() [all …]
|
H A D | time-utils.c | 21 char *end; in parse_nsec_time() local 23 time_sec = strtoull(str, &end, 10); in parse_nsec_time() 24 if (*end != '.' && *end != '\0') in parse_nsec_time() 27 if (*end == '.') { in parse_nsec_time() 31 if (strlen(++end) > 9) in parse_nsec_time() 34 strncpy(nsec_buf, end, 9); in parse_nsec_time() 41 time_nsec = strtoull(nsec_buf, &end, 10); in parse_nsec_time() 42 if (*end != '\0') in parse_nsec_time() 60 (parse_nsec_time(end_str, &ptime->end) != 0)) { in parse_timestr_sec_nsec() 67 static int split_start_end(char **start, char **end, const char *ostr, char ch) in split_start_end() argument [all …]
|
/linux/fs/btrfs/ |
H A D | extent-io-tree.c | 47 "state leak: start %llu end %llu state %u in tree %d refs %d", in btrfs_extent_state_leak_debug_check() 48 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check() 57 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument 58 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end)) 61 u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument 70 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range() 73 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range() 198 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset() 199 ret = ulist_add(&changeset->range_changed, state->start, state->end, in add_extent_changeset() 253 else if (offset > entry->end) in tree_search_for_insert() [all …]
|
/linux/fs/ceph/ |
H A D | mdsmap.c | 58 #define __decode_and_drop_type(p, end, type, bad) \ argument 60 if (*p + sizeof(type) > end) \ 65 #define __decode_and_drop_set(p, end, type, bad) \ argument 69 ceph_decode_32_safe(p, end, n, bad); \ 71 ceph_decode_need(p, end, need, bad); \ 75 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 79 ceph_decode_32_safe(p, end, n, bad); \ 81 ceph_decode_need(p, end, need, bad); \ 86 static int __decode_and_drop_compat_set(void **p, void* end) in __decode_and_drop_compat_set() argument 92 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | debug.c | 264 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_reg_get() local 289 p += scnprintf(p, end - p, "get %d bytes at 0x%08x=0x%08x\n", len, in rtw89_debug_priv_read_reg_get() 298 p += scnprintf(p, end - p, "%08xh : ", 0x18600000 + addr); in rtw89_debug_priv_read_reg_get() 301 p += scnprintf(p, end - p, "%08x ", data); in rtw89_debug_priv_read_reg_get() 303 p += scnprintf(p, end - p, "\n"); in rtw89_debug_priv_read_reg_get() 377 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_rf_get() local 387 p += scnprintf(p, end - p, "path %d, rf register 0x%08x=0x%08x\n", in rtw89_debug_priv_read_rf_get() 426 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_rf_reg_dump_get() local 431 p += scnprintf(p, end - p, "RF path %d:\n\n", path); in rtw89_debug_priv_rf_reg_dump_get() 433 p += scnprintf(p, end - p, "0x%08x: ", addr); in rtw89_debug_priv_rf_reg_dump_get() [all …]
|
/linux/Documentation/admin-guide/kdump/ |
H A D | gdbmacros.txt | 32 end 34 end 46 end 48 end 50 end 52 end 53 end 56 end 75 end 76 end [all …]
|
/linux/arch/microblaze/kernel/cpu/ |
H A D | cache.c | 89 * End address can be unaligned which is OK for C implementation. 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 96 end = min(start + cache_size, end); \ 121 * end address is not aligned, if end is aligned then I have to subtract 125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument 130 end = ((end & align) == end) ? end - line_length : end & align; \ 131 count = end - start; \ 142 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ argument 146 end = ((end & align) == end) ? end - line_length : end & align; \ 147 WARN_ON(end < start); \ [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | frontend.json | 7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 56 …ed instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the … 94 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 100 … an interval where the front-end delivered no uops for a period of at least 1 cycle which was not … 105 …ter an interval where the front-end delivered no uops for a period of 128 cycles which was not int… 111 …ter an interval where the front-end delivered no uops for a period of 128 cycles which was not int… 116 …fter an interval where the front-end delivered no uops for a period of 16 cycles which was not int… 122 …ons that are delivered to the back-end after a front-end stall of at least 16 cycles. During this … 127 "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles", 133 … an interval where the front-end delivered no uops for a period of at least 2 cycles which was not… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | frontend.json | 7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 56 …ed instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the … 94 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 100 … an interval where the front-end delivered no uops for a period of at least 1 cycle which was not … 105 …ter an interval where the front-end delivered no uops for a period of 128 cycles which was not int… 111 …ter an interval where the front-end delivered no uops for a period of 128 cycles which was not int… 116 …fter an interval where the front-end delivered no uops for a period of 16 cycles which was not int… 122 …ons that are delivered to the back-end after a front-end stall of at least 16 cycles. During this … 127 "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles", 133 … an interval where the front-end delivered no uops for a period of at least 2 cycles which was not… [all …]
|
/linux/lib/ |
H A D | vsprintf.c | 105 * @endp: A pointer to the end of the parsed string will be placed here 120 * @endp: A pointer to the end of the parsed string will be placed here 141 * @endp: A pointer to the end of the parsed string will be placed here 173 * @endp: A pointer to the end of the parsed string will be placed here 465 char *number(char *buf, char *end, unsigned long long num, in number() argument 529 if (buf < end) in number() 536 if (buf < end) in number() 543 if (buf < end) in number() 548 if (buf < end) in number() 558 if (buf < end) in number() [all …]
|
/linux/arch/nios2/mm/ |
H A D | cacheflush.c | 19 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument 24 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache() 25 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache() 27 if (end > start + cpuinfo.dcache_size) in __flush_dcache() 28 end = start + cpuinfo.dcache_size; in __flush_dcache() 30 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache() 38 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument 43 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 44 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache() [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | cacheflush.h | 26 * Start addresses are inclusive and end addresses are exclusive; start 27 * addresses should be rounded down, end addresses up. 33 * All functions below apply to the interval [start, end) 35 * - end - virtual end address (exclusive) 37 * caches_clean_inval_pou(start, end) 42 * caches_clean_inval_user_pou(start, end) 48 * icache_inval_pou(start, end) 52 * dcache_clean_inval_poc(start, end) 56 * dcache_inval_poc(start, end) 60 * dcache_clean_poc(start, end) [all …]
|
/linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
H A D | frontend.json | 3 "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 58 "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.", 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 102 "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.", 107 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.", 113 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivere [all...] |
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | frontend.json | 3 "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 58 "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.", 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 102 "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.", 107 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.", 113 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivere [all...] |
/linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
H A D | frontend.json | 3 "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 58 "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.", 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 102 "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.", 107 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.", 113 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivere [all...] |
/linux/tools/perf/pmu-events/arch/x86/icelake/ |
H A D | frontend.json | 3 "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 7 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 58 "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.", 96 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 102 "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.", 107 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.", 113 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivere [all...] |
/linux/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 21 static noinline int process_page_range(struct inode *inode, u64 start, u64 end, in process_page_range() argument 27 pgoff_t end_index = end >> PAGE_SHIFT; in process_page_range() 53 "stuck in a loop, start %llu, end %llu, ret %d\n", in process_page_range() 54 start, end, ret); in process_page_range() 104 state->end + 1 - state->start, flags_str); in dump_extent_io_tree() 120 u64 start, end, test_start; in test_find_delalloc() local 181 end = start + PAGE_SIZE - 1; in test_find_delalloc() 183 &end); in test_find_delalloc() 188 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc() 189 test_err("expected start 0 end %u, got start %llu end %llu", in test_find_delalloc() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | frontend.json | 7 …"PublicDescription": "Number of times the front-end is resteered when it finds a branch instructio… 70 …ed instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the … 117 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 123 … an interval where the front-end delivered no uops for a period of at least 1 cycle which was not … 128 …ter an interval where the front-end delivered no uops for a period of 128 cycles which was not int… 134 …ter an interval where the front-end delivered no uops for a period of 128 cycles which was not int… 139 …fter an interval where the front-end delivered no uops for a period of 16 cycles which was not int… 145 …ons that are delivered to the back-end after a front-end stall of at least 16 cycles. During this … 150 "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles", 156 … an interval where the front-end delivered no uops for a period of at least 2 cycles which was not… [all …]
|
/linux/mm/ |
H A D | numa_memblks.c | 27 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo() 133 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() argument 137 if (start == end) in numa_add_memblk_to() 141 if (start > end || nid < 0 || nid >= MAX_NUMNODES) { in numa_add_memblk_to() 143 nid, start, end - 1); in numa_add_memblk_to() 153 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 191 * @end: End address of the new memblk 198 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() argument 200 return numa_add_memblk_to(nid, start, end, &numa_meminfo); in numa_add_memblk() 207 * @end: End address of the new memblk [all …]
|