| /kernel/linux/common_modules/memory_security/src/ |
| H A D | jit_space_list.c | 9 inline struct jit_space_node *init_jit_space_node(unsigned long begin, unsigned long end) in init_jit_space_node() argument 16 new->begin = begin; in init_jit_space_node() 21 const void find_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err) in find_jit_space() argument 23 unsigned long end = begin + size; in find_jit_space() 30 if (node->begin <= begin && node->end >= end) { in find_jit_space() 38 void update_jit_space(struct list_head *head, unsigned long begin, unsigned long size) in update_jit_space() argument 40 unsigned long end = begin + size; in update_jit_space() 42 struct jit_space_node *new = init_jit_space_node(begin, en in update_jit_space() 50 delete_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err) delete_jit_space() argument [all...] |
| /kernel/linux/linux-6.6/scripts/dtc/ |
| H A D | of_unittest_expect | 106 --verbose do not suppress EXPECT begin and end lines 116 to occur with an 'EXPECT \\ : text' (begin) before triggering the 121 For each expected message, the 'EXPECT \\ : text' (begin) and 124 If 'EXPECT \\' (begin) and 'EXPECT /' (end) lines do not contain 128 reverse order of the corresponding 'EXPECT \\' (begin) lines. 130 'EXPECT \\ : text' (begin) and 'EXPECT / : text' (end) lines can 137 'EXPECT \\' (begin) and 'EXPECT /' (end) lines are suppressed. 141 'ok ' Line matches an enclosing EXPECT begin/end pair 235 # Patterns to match 'EXPECT \ : ' (begin) and 'EXPECT / : ' (end) 279 # ----- find EXPECT begin [all...] |
| /kernel/linux/linux-5.10/fs/ufs/ |
| H A D | util.h | 323 #define ubh_get_addr8(ubh,begin) \ 324 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \ 325 ((begin) & ~uspi->s_fmask)) 327 #define ubh_get_addr16(ubh,begin) \ 328 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \ 329 ((begin) & ((uspi->fsize>>1) - 1))) 331 #define ubh_get_addr32(ubh,begin) \ 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) \ 393 _ubh_find_next_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned size, unsigned offset) _ubh_find_next_zero_bit_() argument 440 _ubh_find_last_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned start, unsigned end) _ubh_find_last_zero_bit_() argument 469 _ubh_isblockset_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_isblockset_() argument 490 _ubh_clrblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_clrblock_() argument 510 _ubh_setblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_setblock_() argument [all...] |
| /kernel/linux/linux-6.6/fs/ufs/ |
| H A D | util.h | 317 #define ubh_get_addr8(ubh,begin) \ 318 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \ 319 ((begin) & ~uspi->s_fmask)) 321 #define ubh_get_addr16(ubh,begin) \ 322 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \ 323 ((begin) & ((uspi->fsize>>1) - 1))) 325 #define ubh_get_addr32(ubh,begin) \ 326 (((__fs32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \ 327 ((begin) & ((uspi->s_fsize>>2) - 1))) 329 #define ubh_get_addr64(ubh,begin) \ 387 _ubh_find_next_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned size, unsigned offset) _ubh_find_next_zero_bit_() argument 434 _ubh_find_last_zero_bit_( struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned start, unsigned end) _ubh_find_last_zero_bit_() argument 463 _ubh_isblockset_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_isblockset_() argument 484 _ubh_clrblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_clrblock_() argument 504 _ubh_setblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) _ubh_setblock_() argument [all...] |
| /kernel/linux/linux-5.10/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 in in_softirq_stack() 93 void *begin = ss->stack; in_doublefault_stack() local [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 = end - (IRQ_STACK_SIZE / sizeof(long)); in_irq_stack() local [all...] |
| H A D | sys_x86_64.c | 101 unsigned long *begin, unsigned long *end) in find_start_end() 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() 100 find_start_end(unsigned long addr, unsigned long flags, unsigned long *begin, unsigned long *end) find_start_end() argument
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| H A D | dumpstack_32.c | 40 unsigned long *begin = (unsigned long *)this_cpu_read(pcpu_hot.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(pcpu_hot.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 in in_softirq_stack() 93 void *begin = ss->stack; in_doublefault_stack() local [all...] |
| H A D | dumpstack_64.c | 96 unsigned long begin, end, stk = (unsigned long)stack; in in_exception_stack() local 103 begin = (unsigned long)__this_cpu_read(cea_exception_stacks); in in_exception_stack() 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_irq_stack() local [all...] |
| H A D | sys_x86_64.c | 97 unsigned long *begin, unsigned long *end) in find_start_end() 107 *begin = 0x40000000; in find_start_end() 110 *begin = randomize_page(*begin, 0x02000000); in find_start_end() 115 *begin = get_mmap_base(1); in find_start_end() 129 unsigned long begin, end; in arch_get_unmapped_area() local 134 find_start_end(addr, flags, &begin, &end); in arch_get_unmapped_area() 149 info.low_limit = begin; in arch_get_unmapped_area() 96 find_start_end(unsigned long addr, unsigned long flags, unsigned long *begin, unsigned long *end) find_start_end() argument
|
| /kernel/linux/linux-5.10/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; in sh2a__flush_purge_region() 124 unsigned long begin, end; sh2a__flush_invalidate_region() local [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()
|
| /kernel/linux/linux-6.6/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; in sh2a__flush_purge_region() 124 unsigned long begin, end; sh2a__flush_invalidate_region() local [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()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/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() [all...] |
| /kernel/linux/linux-6.6/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() [all...] |
| /kernel/linux/common_modules/memory_security/include/ |
| H A D | jit_space_list.h | 26 unsigned long begin, end; member 30 inline struct jit_space_node *init_jit_space_node(unsigned long begin, unsigned long end); 32 const void find_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err); 33 void update_jit_space(struct list_head *head, unsigned long begin, unsigned long size); 34 void delete_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err);
|
| /kernel/linux/linux-5.10/net/core/ |
| H A D | lowpower_protocol.c | 169 static uid_t parse_single_uid(char *begin, char *end) in parse_single_uid() argument 173 u32 len = end - begin; in parse_single_uid() 181 cur = begin; in parse_single_uid() 190 uid = simple_strtoul(begin, &begin, TO_DECIMAL); in parse_single_uid() 191 if (!begin || !uid) { in parse_single_uid() 202 char *begin = args; in parse_uids() local 209 len += end - begin + 1; in parse_uids() 216 uid = parse_single_uid(begin, end); in parse_uids() 220 begin in parse_uids() [all...] |
| /kernel/linux/linux-5.10/drivers/md/persistent-data/ |
| H A D | dm-space-map-metadata.c | 96 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() [all...] |
| /kernel/linux/linux-6.6/drivers/md/persistent-data/ |
| H A D | dm-space-map-metadata.c | 98 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() [all...] |
| /kernel/linux/linux-5.10/arch/loongarch/kernel/ |
| H A D | process.c | 194 unsigned long begin = (unsigned long)task_stack_page(task); in in_task_stack() local 195 unsigned long end = begin + THREAD_SIZE; in in_task_stack() 197 if (stack < begin || stack >= end) in in_task_stack() 201 info->begin = begin; in in_task_stack() 211 unsigned long begin = (unsigned long)this_cpu_read(irq_stack); in in_irq_stack() local 212 unsigned long end = begin + IRQ_STACK_START; in in_irq_stack() 214 if (stack < begin || stack >= end) in in_irq_stack() 222 info->begin = begin; in in_irq_stack() [all...] |