Home
last modified time | relevance | path

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

1234567891011

/linux/scripts/dtc/
H A Dof_unittest_expect313 $begin = pop @exp_found_or_begin;
314 if (compare($data, $begin)) {
318 } elsif (@begin > 0) {
319 $begin = pop @exp_begin_stack;
340 } elsif (! compare($data, $begin) and ($data ne $begin)) {
344 print " begin -> $begin\n";
387 $begin = pop @expnot_found_or_begin;
388 if (compare($data, $begin)) {
421 $begin = pop @expnot_begin_stack;
423 if (! compare($data, $begin) and ($data ne $begin)) {
[all …]
/linux/arch/sh/mm/
H A 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 …]
H A 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()
H A 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()
/linux/fs/ufs/
H A Dutil.h310 #define ubh_get_addr8(ubh,begin) \ argument
311 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \
312 ((begin) & ~uspi->s_fmask))
314 #define ubh_get_addr16(ubh,begin) \ argument
315 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \
316 ((begin) & ((uspi->fsize>>1) - 1)))
318 #define ubh_get_addr32(ubh,begin) \ argument
319 (((__fs32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \
320 ((begin) & ((uspi->s_fsize>>2) - 1)))
322 #define ubh_get_addr64(ubh,begin) \ argument
[all …]
/linux/samples/seccomp/
H A 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/arch/mips/mm/
H A 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/drivers/md/persistent-data/
H A Ddm-space-map-metadata.c98 unsigned int begin; member
105 brb->begin = 0; in brb_init()
111 return brb->begin == brb->end; in brb_empty()
131 if (next == brb->begin) in brb_push()
151 bop = brb->bops + brb->begin; in brb_peek()
161 brb->begin = brb_next(brb, brb->begin); in brb_pop()
174 dm_block_t begin; member
314 for (i = smm->uncommitted.begin; in sm_metadata_get_count()
354 for (i = smm->uncommitted.begin; in sm_metadata_count_is_more_than_one()
458 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 Ddm-space-map-disk.c31 dm_block_t begin; member
139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block()
150 smd->begin = *b + 1; in sm_disk_new_block()
227 smd->begin = 0; in dm_sm_disk_create()
261 smd->begin = 0; in dm_sm_disk_open()
/linux/arch/riscv/include/asm/
H A Dalternative.h48 void andes_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,
51 void mips_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,
54 void sifive_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,
57 void thead_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,
61 void riscv_cpufeature_patch_func(struct alt_entry *begin, struct alt_entry *end,
/linux/arch/mips/ath25/
H A 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/arch/riscv/kernel/
H A Dalternative.c27 void (*patch_func)(struct alt_entry *begin, struct alt_entry *end,
157 static void __init_or_module _apply_alternatives(struct alt_entry *begin, in _apply_alternatives() argument
165 riscv_cpufeature_patch_func(begin, end, stage); in _apply_alternatives()
170 cpu_mfr_info.patch_func(begin, end, in _apply_alternatives()
182 struct alt_entry *begin, *end; in apply_vdso_alternatives() local
190 begin = (void *)hdr + alt->sh_offset, in apply_vdso_alternatives()
193 _apply_alternatives((struct alt_entry *)begin, in apply_vdso_alternatives()
/linux/kernel/printk/
H A Dprintk_ringbuffer.c330 #define BLK_DATALESS(blk) (LPOS_DATALESS((blk)->begin) && \
623 if (blk_lpos->begin != lpos_begin) in data_make_reusable()
632 if (blk_lpos->begin != lpos_begin) in data_make_reusable()
1067 blk_lpos->begin = EMPTY_LINE_LPOS; in data_alloc()
1090 blk_lpos->begin = FAILED_LPOS; in data_alloc()
1129 blk_lpos->begin = begin_lpos; in data_alloc()
1162 wrapped = is_blk_wrapped(data_ring, blk_lpos->begin, blk_lpos->next); in data_realloc()
1166 next_lpos = get_next_lpos(data_ring, blk_lpos->begin, size); in data_realloc()
1180 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
1192 if (WARN_ON_ONCE(next_lpos - blk_lpos->begin > DATA_SIZE(data_ring)) || in data_realloc()
[all …]
/linux/arch/x86/include/asm/
H A Dstacktrace.h28 unsigned long *begin, *end, *next_sp; member
55 void *begin = info->begin; in on_stack() local
59 addr >= begin && addr < end && in on_stack()
60 addr + len > begin && addr + len <= end); in on_stack()
/linux/arch/loongarch/kernel/
H A Dprocess.c261 unsigned long begin = (unsigned long)this_cpu_read(irq_stack); in in_irq_stack() local
262 unsigned long end = begin + IRQ_STACK_START; in in_irq_stack()
264 if (stack < begin || stack >= end) in in_irq_stack()
271 info->begin = begin; in in_irq_stack()
282 unsigned long begin = (unsigned long)task_stack_page(task); in in_task_stack() local
283 unsigned long end = begin + THREAD_SIZE; in in_task_stack()
285 if (stack < begin || stack >= end) in in_task_stack()
288 info->begin = begin; in in_task_stack()
/linux/drivers/platform/surface/aggregator/
H A Dssh_msgb.h25 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/arch/x86/mm/
H A Dinit.c898 void free_init_pages(const char *what, unsigned long begin, unsigned long end) in free_init_pages() argument
903 begin_aligned = PAGE_ALIGN(begin); in free_init_pages()
906 if (WARN_ON(begin_aligned != begin || end_aligned != end)) { in free_init_pages()
907 begin = begin_aligned; in free_init_pages()
911 if (begin >= end) in free_init_pages()
921 begin, end - 1); in free_init_pages()
926 kmemleak_free_part((void *)begin, end - begin); in free_init_pages()
927 set_memory_np(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
934 set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
935 set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); in free_init_pages()
[all …]
/linux/tools/testing/selftests/powerpc/nx-gzip/
H A 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()
/linux/drivers/net/wireless/st/cw1200/
H A 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 …]
/linux/scripts/gdb/linux/
H A Ddmesg.py109 begin = utils.read_ulong(desc, begin_off) % text_data_sz
115 if begin & 1 == 1:
119 if begin > end:
120 begin = 0
123 text_start = begin + utils.get_long_type().sizeof
/linux/sound/soc/codecs/
H A Drt5677-spi.c212 u32 begin, u32 end) in rt5677_spi_copy_block() argument
219 if (begin > end || runtime->dma_bytes < 2 * bytes_per_frame) { in rt5677_spi_copy_block()
222 begin, end, runtime->dma_bytes); in rt5677_spi_copy_block()
227 if (begin == end) in rt5677_spi_copy_block()
233 if (end - begin > runtime->dma_bytes - bytes_per_frame) in rt5677_spi_copy_block()
234 begin = end - (runtime->dma_bytes - bytes_per_frame); in rt5677_spi_copy_block()
237 first_chunk_len = end - begin; in rt5677_spi_copy_block()
247 ret = rt5677_spi_read(RT5677_MIC_BUF_ADDR + sizeof(u32) + begin, in rt5677_spi_copy_block()
259 begin + first_chunk_len, runtime->dma_area, in rt5677_spi_copy_block()
/linux/lib/
H A Dratelimit.c68 rs->begin = jiffies; in ___ratelimit()
73 if (time_is_before_jiffies(rs->begin + interval)) { in ___ratelimit()
81 rs->begin = jiffies; in ___ratelimit()
/linux/arch/arm64/kernel/
H A Dalternative.c36 struct alt_instr *begin; member
150 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
220 .begin = (void *)hdr + alt->sh_offset, in apply_alternatives_vdso()
228 .begin = (struct alt_instr *)__alt_instructions,
288 .begin = start, in apply_alternatives_module()
/linux/drivers/md/
H A Ddm-thin-metadata.c328 uint64_t b, begin, end; in with_runs() local
341 fn(sm, begin, end); in with_runs()
342 begin = b; in with_runs()
347 begin = b; in with_runs()
353 fn(sm, begin, end); in with_runs()
1602 dm_block_t begin, dm_block_t end, in __find_mapped_range() argument
1610 if (end < begin) in __find_mapped_range()
1613 r = __find_next_mapped_block(td, begin, &begin, &lookup); in __find_mapped_range()
1617 if (begin >= end) in __find_mapped_range()
1620 *thin_begin = begin; in __find_mapped_range()
[all …]
/linux/drivers/hwmon/
H A Dapplesmc.c405 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound() local
408 while (begin != end) { in applesmc_get_lower_bound()
409 int middle = begin + (end - begin) / 2; in applesmc_get_lower_bound()
416 begin = middle + 1; in applesmc_get_lower_bound()
421 *lo = begin; in applesmc_get_lower_bound()
427 int begin = 0, end = smcreg.key_count; in applesmc_get_upper_bound() local
430 while (begin != end) { in applesmc_get_upper_bound()
431 int middle = begin + (end - begin) / 2; in applesmc_get_upper_bound()
440 begin = middle + 1; in applesmc_get_upper_bound()
443 *hi = begin; in applesmc_get_upper_bound()
[all …]

1234567891011