Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/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 …]
/Linux-v5.4/arch/x86/kernel/
Ddumpstack_32.c37 unsigned long *begin = (unsigned long *)this_cpu_read(hardirq_stack_ptr); in in_hardirq_stack() local
38 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_hardirq_stack()
44 if (stack < begin || stack > end) in in_hardirq_stack()
48 info->begin = begin; in in_hardirq_stack()
55 info->next_sp = (unsigned long *)*begin; in in_hardirq_stack()
62 unsigned long *begin = (unsigned long *)this_cpu_read(softirq_stack_ptr); in in_softirq_stack() local
63 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); in in_softirq_stack()
69 if (stack < begin || stack > end) in in_softirq_stack()
73 info->begin = begin; in in_softirq_stack()
80 info->next_sp = (unsigned long *)*begin; in in_softirq_stack()
Ddumpstack_64.c89 unsigned long begin, end, stk = (unsigned long)stack; in in_exception_stack() local
96 begin = (unsigned long)__this_cpu_read(cea_exception_stacks); in in_exception_stack()
101 if (!begin) in in_exception_stack()
104 end = begin + sizeof(struct cea_exception_stacks); in in_exception_stack()
106 if (stk < begin || stk >= end) in in_exception_stack()
110 k = (stk - begin) >> PAGE_SHIFT; in in_exception_stack()
117 begin += (unsigned long)ep->offs; in in_exception_stack()
118 end = begin + (unsigned long)ep->size; in in_exception_stack()
122 info->begin = (unsigned long *)begin; in in_exception_stack()
131 unsigned long *begin = end - (IRQ_STACK_SIZE / sizeof(long)); in in_irq_stack() local
[all …]
Dsys_x86_64.c106 unsigned long *begin, unsigned long *end) in find_start_end() argument
116 *begin = 0x40000000; in find_start_end()
119 *begin = randomize_page(*begin, 0x02000000); in find_start_end()
124 *begin = get_mmap_base(1); in find_start_end()
138 unsigned long begin, end; in arch_get_unmapped_area() local
147 find_start_end(addr, flags, &begin, &end); in arch_get_unmapped_area()
162 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()
53 void *begin = ss; in in_entry_stack() local
56 if ((void *)stack < begin || (void *)stack >= end) in in_entry_stack()
60 info->begin = begin; in in_entry_stack()
/Linux-v5.4/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.c37 unsigned long begin, end; in sh3__flush_wback_region() local
40 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh3__flush_wback_region()
44 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh3__flush_wback_region()
76 unsigned long begin, end; in sh3__flush_purge_region() local
78 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh3__flush_purge_region()
82 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh3__flush_purge_region()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
451 r = sm_ll_find_free_block(&smm->old_ll, smm->begin, smm->old_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()
329 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block() argument
334 dm_block_t i, index_begin = begin; in sm_ll_find_free_block()
[all …]
Ddm-space-map-disk.c30 dm_block_t begin; member
171 r = sm_ll_find_free_block(&smd->old_ll, smd->begin, smd->old_ll.nr_blocks, b); in sm_disk_new_block()
175 smd->begin = *b + 1; in sm_disk_new_block()
200 smd->begin = 0; in sm_disk_commit()
264 smd->begin = 0; in dm_sm_disk_create()
298 smd->begin = 0; in dm_sm_disk_open()
/Linux-v5.4/include/asm-generic/
Dsections.h105 static inline bool memory_contains(void *begin, void *end, void *virt, in memory_contains() argument
108 return virt >= begin && virt + size <= end; in memory_contains()
122 static inline bool memory_intersects(void *begin, void *end, void *virt, in memory_intersects() argument
127 return (virt >= begin && virt < end) || (vend >= begin && vend < end); in memory_intersects()
/Linux-v5.4/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()
/Linux-v5.4/arch/x86/include/asm/
Dstacktrace.h28 unsigned long *begin, *end, *next_sp; member
43 void *begin = info->begin; in on_stack() local
47 addr >= begin && addr < end && in on_stack()
48 addr + len > begin && addr + len <= end); in on_stack()
/Linux-v5.4/lib/
Dratelimit.c44 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-v5.4/arch/x86/mm/
Dinit.c783 void free_init_pages(const char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
788 begin_aligned = PAGE_ALIGN(begin); in free_init_pages()
791 if (WARN_ON(begin_aligned != begin || end_aligned != end)) { in free_init_pages()
792 begin = begin_aligned; in free_init_pages()
796 if (begin >= end) in free_init_pages()
806 begin, end - 1); in free_init_pages()
811 kmemleak_free_part((void *)begin, end - begin); in free_init_pages()
812 set_memory_np(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
819 set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
820 set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
[all …]
/Linux-v5.4/arch/arm64/kernel/
Dalternative.c29 struct alt_instr *begin; member
155 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
214 .begin = (struct alt_instr *)__alt_instructions, in __apply_alternatives_multi_stop()
252 .begin = (struct alt_instr *)__alt_instructions, in apply_boot_alternatives()
266 .begin = start, in apply_alternatives_module()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/ath/wcn36xx/
Ddebug.c118 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()
/Linux-v5.4/arch/mips/mti-malta/
Dmalta-memory.c27 static void free_init_pages_eva_malta(void *begin, void *end) in free_init_pages_eva_malta() argument
29 free_init_pages("unused kernel", __pa_symbol((unsigned long *)begin), in free_init_pages_eva_malta()
/Linux-v5.4/drivers/net/wireless/st/cw1200/
Dwsm.c893 hdr_len = buf->data - buf->begin; in wsm_receive_indication()
1078 size_t buf_len = buf->data - buf->begin; in wsm_cmd_send()
1099 cmd, __le16_to_cpu(((__le16 *)buf->begin)[2]), in wsm_cmd_send()
1112 ((__le16 *)buf->begin)[0] = __cpu_to_le16(buf_len); in wsm_cmd_send()
1113 ((__le16 *)buf->begin)[1] = __cpu_to_le16(cmd); in wsm_cmd_send()
1117 priv->wsm_cmd.ptr = buf->begin; in wsm_cmd_send()
1140 buf->begin, buf_len); in wsm_cmd_send()
1256 buf.begin = buf.data = data; in wsm_handle_exception()
1257 buf.end = &buf.begin[len]; in wsm_handle_exception()
1307 wsm_buf.begin = (u8 *)&wsm[0]; in wsm_handle_rx()
[all …]
/Linux-v5.4/drivers/hwmon/
Dapplesmc.c365 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound() local
368 while (begin != end) { in applesmc_get_lower_bound()
369 int middle = begin + (end - begin) / 2; in applesmc_get_lower_bound()
376 begin = middle + 1; in applesmc_get_lower_bound()
381 *lo = begin; in applesmc_get_lower_bound()
387 int begin = 0, end = smcreg.key_count; in applesmc_get_upper_bound() local
390 while (begin != end) { in applesmc_get_upper_bound()
391 int middle = begin + (end - begin) / 2; in applesmc_get_upper_bound()
400 begin = middle + 1; in applesmc_get_upper_bound()
403 *hi = begin; in applesmc_get_upper_bound()
[all …]
/Linux-v5.4/Documentation/RCU/
Drculist_nulls.txt16 begin:
20 goto begin;
28 goto begin;
130 begin:
134 goto begin;
137 goto begin;
147 goto begin;

1234567891011