Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/arch/x86/kernel/
Ddumpstack_32.c40 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 …]
Ddumpstack_64.c90 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 = end - (IRQ_STACK_SIZE / sizeof(long)); in in_irq_stack() local
[all …]
Dsys_x86_64.c101 unsigned long *begin, unsigned long *end) in find_start_end() argument
111 *begin = 0x40000000; in find_start_end()
114 *begin = randomize_page(*begin, 0x02000000); in find_start_end()
119 *begin = get_mmap_base(1); in find_start_end()
133 unsigned long begin, end; in arch_get_unmapped_area() local
138 find_start_end(addr, flags, &begin, &end); in arch_get_unmapped_area()
153 info.low_limit = begin; in arch_get_unmapped_area()
Ddumpstack.c35 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()
/kernel/linux/linux-5.10/fs/ufs/
Dutil.h323 #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 …]
/kernel/linux/linux-5.10/arch/sh/mm/
Dcache-sh2a.c53 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 …]
Dcache-sh2.c21 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()
Dcache-sh3.c35 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()
/kernel/linux/linux-5.10/samples/seccomp/
Dbpf-helper.c66 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()
/kernel/linux/linux-5.10/arch/mips/mm/
Dsc-rm7k.c189 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()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-space-map-metadata.c96 unsigned begin; member
103 brb->begin = 0; in brb_init()
109 return brb->begin == brb->end; in brb_empty()
128 if (next == brb->begin) in brb_push()
147 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
312 for (i = smm->uncommitted.begin; in sm_metadata_get_count()
352 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one()
454 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 …]
Ddm-space-map-common.c168 static int sm_find_free(void *addr, unsigned begin, unsigned end, in sm_find_free() argument
171 while (begin < end) { in sm_find_free()
172 if (!(begin & (ENTRIES_PER_WORD - 1)) && in sm_find_free()
173 dm_bitmap_word_used(addr, begin)) { in sm_find_free()
174 begin += ENTRIES_PER_WORD; in sm_find_free()
178 if (!sm_lookup_bitmap(addr, begin)) { in sm_find_free()
179 *result = begin; in sm_find_free()
183 begin++; in sm_find_free()
334 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block() argument
339 dm_block_t i, index_begin = begin; in sm_ll_find_free_block()
[all …]
/kernel/linux/linux-5.10/arch/mips/ath25/
Dboard.c61 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()
/kernel/linux/linux-5.10/kernel/printk/
Dprintk_ringbuffer.c325 #define BLK_DATALESS(blk) (LPOS_DATALESS((blk)->begin) && \
601 if (blk_lpos->begin != lpos_begin) in data_make_reusable()
610 if (blk_lpos->begin != lpos_begin) in data_make_reusable()
1032 blk_lpos->begin = NO_LPOS; in data_alloc()
1046 blk_lpos->begin = FAILED_LPOS; in data_alloc()
1085 blk_lpos->begin = begin_lpos; in data_alloc()
1118 wrapped = (DATA_WRAPS(data_ring, blk_lpos->begin) != DATA_WRAPS(data_ring, blk_lpos->next)); in data_realloc()
1122 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1129 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
1142 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dstacktrace.h28 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()
/kernel/linux/linux-5.10/lib/
Dratelimit.c50 if (!rs->begin) in ___ratelimit()
51 rs->begin = jiffies; in ___ratelimit()
53 if (time_is_before_jiffies(rs->begin + interval)) { in ___ratelimit()
62 rs->begin = jiffies; in ___ratelimit()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit.c850 void free_init_pages(const char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
855 begin_aligned = PAGE_ALIGN(begin); in free_init_pages()
858 if (WARN_ON(begin_aligned != begin || end_aligned != end)) { in free_init_pages()
859 begin = begin_aligned; in free_init_pages()
863 if (begin >= end) in free_init_pages()
873 begin, end - 1); in free_init_pages()
878 kmemleak_free_part((void *)begin, end - begin); in free_init_pages()
879 set_memory_np(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
886 set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
887 set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
[all …]
/kernel/linux/linux-5.10/include/asm-generic/
Dsections.h108 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 if (virt < end && vend > begin) in memory_intersects()
/kernel/linux/linux-5.10/fs/epfs/
Dfile.c57 if (range->range[0].begin >= range->range[0].end) { in check_range()
58 epfs_err("Invalid range: [%llu, %llu)", range->range[0].begin, in check_range()
64 if ((range->range[index].begin >= range->range[index].end) || in check_range()
65 (range->range[index].begin < range->range[index - 1].end)) { in check_range()
67 range->range[index - 1].begin, in check_range()
69 range->range[index].begin, in check_range()
78 range->range[index].begin, in check_range()
247 current_begin = range->range[current_range_index].begin; in epfs_read()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c291 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()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_exc.S72 .begin literal_prefix .DebugExceptionHandler
83 .begin literal_prefix .NMIExceptionHandler
94 .begin literal_prefix .DoubleExceptionHandler
105 .begin literal_prefix .KernelExceptionHandler
126 .begin literal_prefix .UserExceptionHandler
187 .begin literal_prefix .InterruptEntry2
201 .begin literal_prefix .InterruptEntry3
215 .begin literal_prefix .InterruptEntry4
229 .begin literal_prefix .InterruptEntry5
/kernel/linux/linux-5.10/scripts/gdb/linux/
Ddmesg.py114 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
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dalternative.c29 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()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dwsm.c893 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 …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_lpit.c130 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()

12345678910>>...13