/linux/include/trace/events/ |
H A D | osnoise.h | 11 TP_PROTO(struct task_struct *t, u64 start, u64 duration), 13 TP_ARGS(t, start, duration), 17 __field( u64, start ) 25 __entry->start = start; 29 TP_printk("%8s:%d start %llu.%09u duration %llu ns", 32 __print_ns_to_secs(__entry->start), 33 __print_ns_without_secs(__entry->start), 39 TP_PROTO(int vector, u64 start, u64 duration), 41 TP_ARGS(vector, start, duratio [all...] |
/linux/arch/mips/pci/ |
H A D | pci-malta.c | 30 .start = 0x00000000UL, 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 103 start = GT_READ(GT_PCI0M0LD_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() 113 start = start1; in mips_pcibios_init() 117 mask = ~(start ^ end); in mips_pcibios_init() 119 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && in mips_pcibios_init() 121 gt64120_mem_resource.start = start; in mips_pcibios_init() 123 gt64120_controller.mem_offset = (start & mask) - (map & mask); in mips_pcibios_init() [all …]
|
/linux/fs/btrfs/ |
H A D | extent-io-tree.c | 46 pr_err("BTRFS: state leak: start %llu end %llu state %u in tree %d refs %d\n", in btrfs_extent_state_leak_debug_check() 47 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check() 56 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument 57 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end)) 60 u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument 73 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range() 215 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset() 216 ret = ulist_add(&changeset->range_changed, state->start, state->end, in add_extent_changeset() 243 * entry->start <= offset && entry->end >= offset. 272 if (offset < entry->start) in tree_search_for_insert() [all …]
|
H A D | extent-io-tree.h | 119 u64 start; member 140 int __lock_extent(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, 142 bool __try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, 145 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, in lock_extent() argument 148 return __lock_extent(tree, start, end, EXTENT_LOCKED, cached); in lock_extent() 151 static inline bool try_lock_extent(struct extent_io_tree *tree, u64 start, in try_lock_extent() argument 154 return __try_lock_extent(tree, start, end, EXTENT_LOCKED, cached); in try_lock_extent() 161 u64 *start, u64 search_end, 166 bool test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bit, 168 bool test_range_bit_exists(struct extent_io_tree *tree, u64 start, u64 end, u32 bit); [all …]
|
H A D | extent_map.c | 73 static u64 range_end(u64 start, u64 len) in range_end() argument 75 if (start + len < start) in range_end() 77 return start + len; in range_end() 94 u64 end = range_end(em->start, em->len); in tree_insert() 100 if (em->start < entry->start) in tree_insert() 102 else if (em->start >= extent_map_end(entry)) in tree_insert() 109 while (parent && em->start >= extent_map_end(entry)) { in tree_insert() 114 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert() 119 while (parent && em->start < entry->start) { in tree_insert() 124 if (end > entry->start && em->start < extent_map_end(entry)) in tree_insert() [all …]
|
/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() 21 range[nr_range].start = start; 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() 44 common_start = max(range[i].start, start); in add_range_with_merge() 49 /* new start/end, will add it back at last */ in add_range_with_merge() 50 start = min(range[i].start, start); in add_range_with_merge() 55 range[nr_range - 1].start = 0; in add_range_with_merge() [all …]
|
H A D | resource.c | 37 .start = 0, 45 .start = 0, 104 unsigned long long start, end; in r_show() local 113 start = r->start; in r_show() 116 start = end = 0; in r_show() 121 width, start, in r_show() 128 .start = r_start, 165 resource_size_t start = new->start; in __request_resource() local 169 if (end < start) in __request_resource() 171 if (start < root->start) in __request_resource() [all …]
|
H A D | resource_kunit.c | 24 static struct resource r0 = { .start = R0_START, .end = R0_END }; 25 static struct resource r1 = { .start = R1_START, .end = R1_END }; 26 static struct resource r2 = { .start = R2_START, .end = R2_END }; 27 static struct resource r3 = { .start = R3_START, .end = R3_END }; 28 static struct resource r4 = { .start = R4_START, .end = R4_END }; 39 .r1 = &r1, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true, 41 .r1 = &r2, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true, 43 .r1 = &r3, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true, 45 .r1 = &r4, .r2 = &r0, .r.start = R0_START, .r.end = R0_END, .ret = true, 51 .r1 = &r4, .r2 = &r1, .r.start = R1_START, .r.end = R4_END, .ret = true, [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_res_cursor.h | 41 u64 start; member 62 * @start: Start of the range 66 * Start walking over the range of allocations between @start and @size. 69 u64 start, u64 size, in xe_res_first() argument 76 XE_WARN_ON(start + size > res->size); in xe_res_first() 96 while (start >= drm_buddy_block_size(mm, block)) { in xe_res_first() 97 start -= drm_buddy_block_size(mm, block); in xe_res_first() 106 cur->start = drm_buddy_block_offset(block) + start; in xe_res_first() 107 cur->size = min(drm_buddy_block_size(mm, block) - start, in xe_res_first() 120 cur->start = start; in xe_res_first() [all …]
|
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_ethtool.c | 84 int start; member 95 .start = 31, 102 .start = 23, 109 .start = 15, 116 .start = 7, 124 .start = 27, 131 .start = 26, 138 .start = 25, 145 .start = 24, 152 .start = 23, [all …]
|
/linux/tools/perf/util/ |
H A D | block-range.c | 21 assert(old < entry->start); in block_range__debug() 22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 39 if (addr < entry->start) in block_range__find() 72 * @start: branch target starting this basic block 77 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 88 if (start < entry->start) in block_range__create() 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() [all …]
|
/linux/arch/arm64/mm/ |
H A D | cache.S | 18 * caches_clean_inval_pou_macro(start,end) [fixup] 24 * - start - virtual start address of region 46 * caches_clean_inval_pou(start,end) 52 * - start - virtual start address of region 62 * caches_clean_inval_user_pou(start,end) 68 * - start - virtual start address of region 85 * icache_inval_pou(start,end) 89 * - start - virtual start address of region 103 * dcache_clean_inval_poc(start, end) 105 * Ensure that any D-cache lines for the interval [start, end) [all …]
|
/linux/drivers/gpu/drm/exynos/ |
H A D | regs-fimc.h | 24 /* Y 1st frame start address for output DMA */ 26 /* Y 2nd frame start address for output DMA */ 28 /* Y 3rd frame start address for output DMA */ 30 /* Y 4th frame start address for output DMA */ 32 /* Cb 1st frame start address for output DMA */ 34 /* Cb 2nd frame start address for output DMA */ 36 /* Cb 3rd frame start address for output DMA */ 38 /* Cb 4th frame start address for output DMA */ 40 /* Cr 1st frame start address for output DMA */ 42 /* Cr 2nd frame start address for output DMA */ [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 23 start &= ~(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 42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache() 54 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument 58 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache() [all …]
|
/linux/drivers/usb/core/ |
H A D | devices.c | 142 static char *usb_dump_endpoint_descriptor(int speed, char *start, char *end, in usb_dump_endpoint_descriptor() argument 148 if (start > end) in usb_dump_endpoint_descriptor() 149 return start; in usb_dump_endpoint_descriptor() 172 return start; in usb_dump_endpoint_descriptor() 183 start += sprintf(start, format_endpt, desc->bEndpointAddress, dir, in usb_dump_endpoint_descriptor() 188 return start; in usb_dump_endpoint_descriptor() 191 static char *usb_dump_interface_descriptor(char *start, char *end, in usb_dump_interface_descriptor() argument 200 if (start > end) in usb_dump_interface_descriptor() 201 return start; in usb_dump_interface_descriptor() 209 start += sprintf(start, format_iface, in usb_dump_interface_descriptor() [all …]
|
/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 31 "em leak: em (start %llu len %llu disk_bytenr %llu disk_num_bytes %llu offset %llu) refs %d", in free_extent_map_tree() 32 em->start, em->len, em->disk_bytenr, in free_extent_map_tree() 66 u64 start = 0; in test_case_1() local 78 em->start = 0; in test_case_1() 84 ret = btrfs_add_extent_mapping(inode, &em, em->start, em->len); in test_case_1() 100 em->start = SZ_16K; in test_case_1() 106 ret = btrfs_add_extent_mapping(inode, &em, em->start, em->len); in test_case_1() 122 em->start = start; in test_case_1() 124 em->disk_bytenr = start; in test_case_1() 128 ret = btrfs_add_extent_mapping(inode, &em, em->start, em->len); in test_case_1() [all …]
|
H A D | inode-tests.c | 16 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() argument 35 key.offset = start; in insert_extent() 301 if (em->start != 0 || em->len != sectorsize) { in test_btrfs_get_extent() 303 "unexpected extent wanted start 0 len %u, got start %llu len %llu", in test_btrfs_get_extent() 304 sectorsize, em->start, em->len); in test_btrfs_get_extent() 316 offset = em->start + em->len; in test_btrfs_get_extent() 328 if (em->start != offset || em->len != 4) { in test_btrfs_get_extent() 330 "unexpected extent wanted start %llu len 4, got start %llu len %llu", in test_btrfs_get_extent() 331 offset, em->start, em->len); in test_btrfs_get_extent() 338 offset = em->start + em->len; in test_btrfs_get_extent() [all …]
|
/linux/drivers/nvdimm/ |
H A D | badrange.c | 30 bre->start = addr; in append_badrange_entry() 69 if (bre->start == addr) { in add_badrange() 101 void badrange_forget(struct badrange *badrange, phys_addr_t start, in badrange_forget() argument 105 u64 clr_end = start + len - 1; in badrange_forget() 111 * [start, clr_end] is the badrange interval being cleared. in badrange_forget() 112 * [bre->start, bre_end] is the badrange_list entry we're comparing in badrange_forget() 114 * to be modified (update either start or length), deleted, or in badrange_forget() 119 u64 bre_end = bre->start + bre->length - 1; in badrange_forget() 122 if (bre_end < start) in badrange_forget() 124 if (bre->start > clr_end) in badrange_forget() [all …]
|
/linux/arch/arm/mm/ |
H A D | cache-feroceon-l2.c | 30 * Cache range operations are initiated by writing the start and 33 * [start:end]. 70 static inline void l2_clean_pa_range(unsigned long start, unsigned long end) in l2_clean_pa_range() argument 75 * Make sure 'start' and 'end' reference the same page, as in l2_clean_pa_range() 77 * the start address. in l2_clean_pa_range() 79 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_clean_pa_range() 81 va_start = l2_get_va(start); in l2_clean_pa_range() 82 va_end = va_start + (end - start); in l2_clean_pa_range() 101 static inline void l2_inv_pa_range(unsigned long start, unsigned long end) in l2_inv_pa_range() argument 106 * Make sure 'start' and 'end' reference the same page, as in l2_inv_pa_range() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v2.c | 41 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_SRC_L2_OUT_0, .start = 0, .end = 31, 44 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_SRC_L2_OUT_1, .start = 16, .end = 31, 47 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 0, .end = 15, 50 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_0, .start = 0, .end = 31, 53 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 16, .end = 31, 56 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 18, .end = 23, 59 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_1, .start = 16, .end = 24, 63 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 16, .end = 31, 67 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 0, .end = 15, 71 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15, [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() 152 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to() 190 * @start: Start 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() 225 bi->start, bi->end - bi->start)) { in numa_cleanup_meminfo() [all …]
|
/linux/tools/testing/nvdimm/test/ |
H A D | iomap.c | 69 - nfit_res->res.start \ 81 - nfit_res->res.start; in __wrap_devm_ioremap() 92 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_devm_memremap() 119 resource_size_t offset = pgmap->range.start; in __wrap_devm_memremap_pages() 134 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_devm_memremap_pages() 154 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_memremap() 201 struct resource *parent, resource_size_t start, 208 WARN_ON(!nfit_test_release_region(NULL, &iomem_resource, res->start, in nfit_devres_release() 215 resource_size_t start = *((resource_size_t *) match_data); in match() local 217 return res->start == start; in match() [all …]
|
/linux/arch/x86/kernel/ |
H A D | probe_roms.c | 28 .start = 0xf0000, 35 .start = 0xe0000, 42 .start = 0xc8000, 47 .start = 0, 52 .start = 0, 57 .start = 0, 62 .start = 0, 67 .start = 0, 74 .start = 0xc0000, 128 rom = isa_bus_to_virt(res->start); in find_oprom() [all …]
|
/linux/include/linux/ |
H A D | ioport.h | 22 resource_size_t start; member 53 #define IORESOURCE_STARTALIGN 0x00080000 /* start field is alignment */ 159 .start = (_start), \ 201 * Return: Start address for the resource. 213 * @align: Alignment for the start address of the empty space 236 resource_size_t start, resource_size_t end, 248 struct resource *lookup_resource(struct resource *root, resource_size_t start); 249 int adjust_resource(struct resource *res, resource_size_t start, 254 return res->end - res->start + 1; in resource_size() 271 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains() [all …]
|
/linux/arch/mips/bcm63xx/ |
H A D | dev-enet.c | 48 .start = -1, /* filled at runtime */ 53 .start = -1, /* filled at runtime */ 58 .start = -1, /* filled at runtime */ 77 .start = -1, /* filled at runtime */ 82 .start = -1, /* filled at runtime */ 86 .start = -1, /* filled at runtime */ 90 .start = -1, /* filled at runtime */ 111 .start = -1, /* filled at runtime */ 116 .start = -1, /* filled at runtime */ 120 .start = -1, /* filled at runtime */ [all …]
|