| /linux-5.15/arch/x86/kernel/ |
| H A D | dumpstack_32.c | 40 unsigned long *begin = (unsigned long *)this_cpu_read(hardirq_stack_ptr); in in_hardirq_stack() local 41 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_hardirq_stack() 47 if (stack < begin || stack > end) in in_hardirq_stack() 51 info->begin = begin; in in_hardirq_stack() 58 info->next_sp = (unsigned long *)*begin; in in_hardirq_stack() 65 unsigned long *begin = (unsigned long *)this_cpu_read(softirq_stack_ptr); in in_softirq_stack() local 66 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_softirq_stack() 72 if (stack < begin || stack > end) in in_softirq_stack() 76 info->begin = begin; in in_softirq_stack() 83 info->next_sp = (unsigned long *)*begin; in in_softirq_stack() [all …]
|
| H A D | dumpstack_64.c | 90 unsigned long begin, end, stk = (unsigned long)stack; in in_exception_stack() local 97 begin = (unsigned long)__this_cpu_read(cea_exception_stacks); in in_exception_stack() 102 if (!begin) in in_exception_stack() 105 end = begin + sizeof(struct cea_exception_stacks); in in_exception_stack() 107 if (stk < begin || stk >= end) in in_exception_stack() 111 k = (stk - begin) >> PAGE_SHIFT; in in_exception_stack() 118 begin += (unsigned long)ep->offs; in in_exception_stack() 119 end = begin + (unsigned long)ep->size; in in_exception_stack() 123 info->begin = (unsigned long *)begin; in in_exception_stack() 132 unsigned long *begin; in in_irq_stack() local [all …]
|
| H A D | sys_x86_64.c | 100 unsigned long *begin, unsigned long *end) in find_start_end() argument 110 *begin = 0x40000000; in find_start_end() 113 *begin = randomize_page(*begin, 0x02000000); in find_start_end() 118 *begin = get_mmap_base(1); in find_start_end() 132 unsigned long begin, end; in arch_get_unmapped_area() local 137 find_start_end(addr, flags, &begin, &end); in arch_get_unmapped_area() 152 info.low_limit = begin; in arch_get_unmapped_area()
|
| H A D | dumpstack.c | 35 unsigned long *begin = task_stack_page(task); in in_task_stack() local 38 if (stack < begin || stack >= end) in in_task_stack() 42 info->begin = begin; in in_task_stack() 54 void *begin = ss; in in_entry_stack() local 57 if ((void *)stack < begin || (void *)stack >= end) in in_entry_stack() 61 info->begin = begin; in in_entry_stack()
|
| /linux-5.15/fs/ufs/ |
| H A D | util.h | 323 #define ubh_get_addr8(ubh,begin) \ argument 324 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \ 325 ((begin) & ~uspi->s_fmask)) 327 #define ubh_get_addr16(ubh,begin) \ argument 328 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \ 329 ((begin) & ((uspi->fsize>>1) - 1))) 331 #define ubh_get_addr32(ubh,begin) \ argument 332 (((__fs32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \ 333 ((begin) & ((uspi->s_fsize>>2) - 1))) 335 #define ubh_get_addr64(ubh,begin) \ argument [all …]
|
| /linux-5.15/arch/sh/mm/ |
| H A D | cache-sh2a.c | 53 unsigned long begin, end; in sh2a__flush_wback_region() local 57 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_wback_region() 66 if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { in sh2a__flush_wback_region() 67 begin = CACHE_OC_ADDRESS_ARRAY; in sh2a__flush_wback_region() 68 end = begin + (nr_ways * current_cpu_data.dcache.way_size); in sh2a__flush_wback_region() 70 for (v = begin; v < end; v += L1_CACHE_BYTES) { in sh2a__flush_wback_region() 78 for (v = begin; v < end; v += L1_CACHE_BYTES) in sh2a__flush_wback_region() 94 unsigned long begin, end; in sh2a__flush_purge_region() local 97 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_purge_region() 104 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh2a__flush_purge_region() [all …]
|
| H A D | cache-sh2.c | 21 unsigned long begin, end; in sh2__flush_wback_region() local 23 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2__flush_wback_region() 26 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh2__flush_wback_region() 42 unsigned long begin, end; in sh2__flush_purge_region() local 44 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2__flush_purge_region() 48 for (v = begin; v < end; v+=L1_CACHE_BYTES) in sh2__flush_purge_region() 73 unsigned long begin, end; in sh2__flush_invalidate_region() 75 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2__flush_invalidate_region() 79 for (v = begin; v < end; v+=L1_CACHE_BYTES) in sh2__flush_invalidate_region()
|
| H A D | cache-sh3.c | 35 unsigned long begin, end; in sh3__flush_wback_region() local 38 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh3__flush_wback_region() 42 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh3__flush_wback_region() 74 unsigned long begin, end; in sh3__flush_purge_region() local 76 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh3__flush_purge_region() 80 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh3__flush_purge_region()
|
| /linux-5.15/samples/seccomp/ |
| H A D | bpf-helper.c | 66 struct __bpf_label *begin = labels->labels, *end; in seccomp_bpf_label() local 74 begin->label = label; in seccomp_bpf_label() 75 begin->location = 0xffffffff; in seccomp_bpf_label() 79 end = begin + labels->count; in seccomp_bpf_label() 80 for (id = 0; begin < end; ++begin, ++id) { in seccomp_bpf_label() 81 if (!strcmp(label, begin->label)) in seccomp_bpf_label() 84 begin->label = label; in seccomp_bpf_label() 85 begin->location = 0xffffffff; in seccomp_bpf_label()
|
| /linux-5.15/arch/mips/mm/ |
| H A D | sc-rm7k.c | 189 unsigned long flags, addr, begin, end, pow2; in __probe_tcache() local 191 begin = (unsigned long) &_stext; in __probe_tcache() 192 begin &= ~((8 * 1024 * 1024) - 1); in __probe_tcache() 193 end = begin + (8 * 1024 * 1024); in __probe_tcache() 201 for (addr = begin; addr <= end; addr = (begin + pow2)) { in __probe_tcache() 210 cache_op(Index_Store_Tag_T, begin); in __probe_tcache() 214 for (addr = begin + (512 * 1024); addr <= end; addr = begin + pow2) { in __probe_tcache() 221 addr -= begin; in __probe_tcache()
|
| /linux-5.15/drivers/md/persistent-data/ |
| H A D | dm-space-map-metadata.c | 97 unsigned begin; member 104 brb->begin = 0; in brb_init() 110 return brb->begin == brb->end; in brb_empty() 129 if (next == brb->begin) in brb_push() 149 bop = brb->bops + brb->begin; in brb_peek() 159 brb->begin = brb_next(brb, brb->begin); in brb_pop() 172 dm_block_t begin; member 311 for (i = smm->uncommitted.begin; in sm_metadata_get_count() 351 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one() 455 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_() [all …]
|
| H A D | dm-space-map-disk.c | 30 dm_block_t begin; member 136 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block() 142 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block() 148 smd->begin = *b + 1; in sm_disk_new_block() 226 smd->begin = 0; in dm_sm_disk_create() 260 smd->begin = 0; in dm_sm_disk_open()
|
| /linux-5.15/include/asm-generic/ |
| H A D | sections.h | 108 static inline bool memory_contains(void *begin, void *end, void *virt, in memory_contains() argument 111 return virt >= begin && virt + size <= end; in memory_contains() 125 static inline bool memory_intersects(void *begin, void *end, void *virt, in memory_intersects() argument 130 return (virt >= begin && virt < end) || (vend >= begin && vend < end); in memory_intersects()
|
| /linux-5.15/kernel/printk/ |
| A D | printk_ringbuffer.c | 325 #define BLK_DATALESS(blk) (LPOS_DATALESS((blk)->begin) && \ 602 if (blk_lpos->begin != lpos_begin) in data_make_reusable() 611 if (blk_lpos->begin != lpos_begin) in data_make_reusable() 1031 blk_lpos->begin = NO_LPOS; in data_alloc() 1045 blk_lpos->begin = FAILED_LPOS; in data_alloc() 1084 blk_lpos->begin = begin_lpos; in data_alloc() 1117 wrapped = (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, blk_lpos->next)); in data_realloc() 1121 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc() 1128 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1141 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() [all …]
|
| /linux-5.15/arch/mips/ath25/ |
| A D | board.c | 61 const void __iomem *begin = limit - 0x1000; in find_board_config() local 64 for (addr = begin; addr >= end; addr -= 0x1000) in find_board_config() 74 const void __iomem *rcfg, *begin, *end; in find_radio_config() local 81 begin = bcfg + 0x1000; in find_radio_config() 83 for (rcfg = begin; rcfg < end; rcfg += 0x1000) in find_radio_config() 88 begin = bcfg + 0xf8; in find_radio_config() 90 for (rcfg = begin; rcfg < end; rcfg += 0x1000) in find_radio_config()
|
| /linux-5.15/arch/x86/include/asm/ |
| H A D | stacktrace.h | 28 unsigned long *begin, *end, *next_sp; member 45 void *begin = info->begin; in on_stack() local 49 addr >= begin && addr < end && in on_stack() 50 addr + len > begin && addr + len <= end); in on_stack()
|
| /linux-5.15/lib/ |
| H A D | ratelimit.c | 44 if (!rs->begin) in ___ratelimit() 45 rs->begin = jiffies; in ___ratelimit() 47 if (time_is_before_jiffies(rs->begin + rs->interval)) { in ___ratelimit() 56 rs->begin = jiffies; in ___ratelimit()
|
| /linux-5.15/arch/x86/mm/ |
| H A D | init.c | 858 void free_init_pages(const char *what, unsigned long begin, unsigned long end) in free_init_pages() argument 863 begin_aligned = PAGE_ALIGN(begin); in free_init_pages() 866 if (WARN_ON(begin_aligned != begin || end_aligned != end)) { in free_init_pages() 867 begin = begin_aligned; in free_init_pages() 871 if (begin >= end) in free_init_pages() 881 begin, end - 1); in free_init_pages() 886 kmemleak_free_part((void *)begin, end - begin); in free_init_pages() 887 set_memory_np(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages() 894 set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages() 895 set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages() [all …]
|
| /linux-5.15/drivers/platform/surface/aggregator/ |
| A D | ssh_msgb.h | 25 u8 *begin; member 41 msgb->begin = ptr; in msgb_init() 52 return msgb->ptr - msgb->begin; in msgb_bytes_used() 120 u8 *const begin = msgb->ptr; in msgb_push_frame() local 129 msgb_push_crc(msgb, begin, msgb->ptr - begin); in msgb_push_frame()
|
| /linux-5.15/tools/testing/selftests/powerpc/nx-gzip/ |
| A D | gzip_vas.c | 291 char *begin = buf; in nxu_touch_pages() local 304 t = *begin; in nxu_touch_pages() 306 *begin = t; in nxu_touch_pages() 307 begin = begin + page_len; in nxu_touch_pages() 308 } while (begin < end); in nxu_touch_pages()
|
| /linux-5.15/arch/arm64/kernel/ |
| A D | alternative.c | 30 struct alt_instr *begin; member 143 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives() 202 .begin = (struct alt_instr *)__alt_instructions, in __apply_alternatives_multi_stop() 240 .begin = (struct alt_instr *)__alt_instructions, in apply_boot_alternatives() 254 .begin = start, in apply_alternatives_module()
|
| /linux-5.15/scripts/gdb/linux/ |
| A D | dmesg.py | 114 begin = utils.read_ulong(descs, desc_off + begin_off) % text_data_sz 118 if begin & 1 == 1: 122 if begin > end: 123 begin = 0 126 text_start = begin + utils.get_long_type().sizeof
|
| /linux-5.15/drivers/net/wireless/st/cw1200/ |
| A D | wsm.c | 893 hdr_len = buf->data - buf->begin; in wsm_receive_indication() 1076 size_t buf_len = buf->data - buf->begin; in wsm_cmd_send() 1097 cmd, __le16_to_cpu(((__le16 *)buf->begin)[2]), in wsm_cmd_send() 1110 ((__le16 *)buf->begin)[0] = __cpu_to_le16(buf_len); in wsm_cmd_send() 1111 ((__le16 *)buf->begin)[1] = __cpu_to_le16(cmd); in wsm_cmd_send() 1115 priv->wsm_cmd.ptr = buf->begin; in wsm_cmd_send() 1138 buf->begin, buf_len); in wsm_cmd_send() 1254 buf.begin = buf.data = data; in wsm_handle_exception() 1255 buf.end = &buf.begin[len]; in wsm_handle_exception() 1305 wsm_buf.begin = (u8 *)&wsm[0]; in wsm_handle_rx() [all …]
|
| /linux-5.15/drivers/acpi/ |
| A D | acpi_lpit.c | 130 static void lpit_process(u64 begin, u64 end) in lpit_process() argument 132 while (begin + sizeof(struct acpi_lpit_native) <= end) { in lpit_process() 133 struct acpi_lpit_native *lpit_native = (struct acpi_lpit_native *)begin; in lpit_process() 144 begin += lpit_native->header.length; in lpit_process()
|
| /linux-5.15/drivers/net/wireless/ath/wcn36xx/ |
| A D | debug.c | 118 char *begin; in write_file_dump() local 119 begin = strsep(&tmp, " "); in write_file_dump() 120 if (begin == NULL) in write_file_dump() 123 if (kstrtou32(begin, 0, &arg[i]) != 0) in write_file_dump()
|