/linux/fs/ufs/ |
A D | util.h | 325 ((begin) & ~uspi->s_fmask)) 388 #define ubh_isclr(ubh,begin,bit) (!ubh_isset(ubh,begin,bit)) argument 390 #define ubh_find_first_zero_bit(ubh,begin,size) _ubh_find_next_zero_bit_(uspi,ubh,begin,size,0) argument 400 begin <<= 3; in _ubh_find_next_zero_bit_() 401 offset += begin; in _ubh_find_next_zero_bit_() 447 begin <<= 3; in _ubh_find_last_zero_bit_() 448 start += begin; in _ubh_find_last_zero_bit_() 466 #define ubh_isblockclear(ubh,begin,block) (!_ubh_isblockset_(uspi,ubh,begin,block)) argument 468 #define ubh_isblockset(ubh,begin,block) _ubh_isblockset_(uspi,ubh,begin,block) argument 489 #define ubh_clrblock(ubh,begin,block) _ubh_clrblock_(uspi,ubh,begin,block) argument [all …]
|
/linux/arch/x86/kernel/ |
A D | dumpstack_32.c | 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() 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() 93 void *begin = ss->stack; in in_doublefault_stack() local 94 void *end = begin + sizeof(ss->stack); in in_doublefault_stack() 96 if ((void *)stack < begin || (void *)stack >= end) in in_doublefault_stack() [all …]
|
A D | dumpstack_64.c | 108 if (!begin) in in_exception_stack() 111 end = begin + sizeof(struct cea_exception_stacks); in in_exception_stack() 113 if (stk < begin || stk >= end) in in_exception_stack() 117 k = (stk - begin) >> PAGE_SHIFT; in in_exception_stack() 124 begin += (unsigned long)ep->offs; in in_exception_stack() 125 end = begin + (unsigned long)ep->size; in in_exception_stack() 129 info->begin = (unsigned long *)begin; in in_exception_stack() 138 unsigned long *begin; in in_irq_stack() local 146 begin = end - (IRQ_STACK_SIZE / sizeof(long)); in in_irq_stack() 153 if (stack < begin || stack >= end) in in_irq_stack() [all …]
|
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()
|
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/arch/sh/mm/ |
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() 67 begin = CACHE_OC_ADDRESS_ARRAY; 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() 124 unsigned long begin, end; in sh2a__flush_invalidate_region() local 127 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_invalidate_region() [all …]
|
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()
|
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/samples/seccomp/ |
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/arch/mips/mm/ |
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/drivers/md/persistent-data/ |
A D | dm-space-map-metadata.c | 97 unsigned begin; member 104 brb->begin = 0; in brb_init() 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 467 smm->begin = *b + 1; in sm_metadata_new_block_() 647 *b = smm->begin++; in sm_bootstrap_new_block() 724 smm->begin = old_len; in sm_metadata_extend() 743 old_len = smm->begin; in sm_metadata_extend() [all …]
|
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/kernel/printk/ |
A D | printk_ringbuffer.c | 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() 1128 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1141 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1182 DATA_INDEX(data_ring, blk_lpos->begin)); in space_used() 1219 blk_lpos->begin < blk_lpos->next) { in get_data() 1220 db = to_block(data_ring, blk_lpos->begin); in get_data() [all …]
|
/linux/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/arch/x86/mm/ |
A D | init.c | 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() 897 free_reserved_area((void *)begin, (void *)end, in free_init_pages() [all …]
|
/linux/include/asm-generic/ |
A D | sections.h | 78 static inline bool memory_contains(void *begin, void *end, void *virt, in memory_contains() argument 81 return virt >= begin && virt + size <= end; in memory_contains() 95 static inline bool memory_intersects(void *begin, void *end, void *virt, in memory_intersects() argument 100 return (virt >= begin && virt < end) || (vend >= begin && vend < end); in memory_intersects()
|
/linux/arch/x86/include/asm/ |
A D | stacktrace.h | 28 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/lib/ |
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/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/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/drivers/net/wireless/st/cw1200/ |
A D | wsm.c | 1254 buf.begin = buf.data = data; in wsm_handle_exception() 1255 buf.end = &buf.begin[len]; in wsm_handle_exception() 1777 BUG_ON(buf->begin); in wsm_buf_init() 1779 buf->end = buf->begin ? &buf->begin[FWLOAD_BLOCK_SIZE] : buf->begin; in wsm_buf_init() 1785 kfree(buf->begin); in wsm_buf_deinit() 1791 if (buf->begin) { in wsm_buf_reset() 1792 buf->data = &buf->begin[4]; in wsm_buf_reset() 1793 *(u32 *)buf->begin = 0; in wsm_buf_reset() 1795 buf->data = buf->begin; in wsm_buf_reset() 1813 buf->begin = tmp; in wsm_buf_reserve() [all …]
|
/linux/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/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/sound/soc/codecs/ |
A D | rt5677-spi.c | 212 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/drivers/md/ |
A D | dm-thin-metadata.c | 337 begin = b; in with_runs() 342 begin = b; in with_runs() 348 fn(sm, begin, end); in with_runs() 1577 if (end < begin) in __find_mapped_range() 1580 r = __find_next_mapped_block(td, begin, &begin, &lookup); in __find_mapped_range() 1584 if (begin >= end) in __find_mapped_range() 1587 *thin_begin = begin; in __find_mapped_range() 1591 begin++; in __find_mapped_range() 1607 begin++; in __find_mapped_range() 1610 *thin_end = begin; in __find_mapped_range() [all …]
|