| /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...] |
| /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...] |
| /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()
|
| /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()
|
| /base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/ |
| H A D | array_string_serializer.cpp | 38 std::sort(data.begin(), data.end()); in SetUnionPolicyData() 39 std::sort(currentData.begin(), currentData.end()); in SetUnionPolicyData() 40 std::set_union(data.begin(), data.end(), currentData.begin(), currentData.end(), back_inserter(mergeData)); in SetUnionPolicyData() 48 std::sort(data.begin(), data.end()); in SetDifferencePolicyData() 49 std::sort(currentData.begin(), currentData.end()); in SetDifferencePolicyData() 50 std::set_difference(currentData.begin(), currentData.end(), data.begin(), data.end(), back_inserter(mergeData)); in SetDifferencePolicyData()
|
| /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()
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
| H A D | dfx_map.h | 38 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap() argument 40 : begin(begin), end(end), offset(offset), perms(perms), name(name) {} in DfxMap() 41 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap() argument 43 : begin(begin), end(end), offset(offset), prots(prots), name(name) {} in DfxMap() 55 uint64_t begin = 0; member in OHOS::HiviewDFX::DfxMap 87 return (pc >= begin && pc < end); in Contain() 94 return vaddr < a.begin; in ValueLessThen() 98 return vaddr <= a.begin; in ValueLessEqual() [all...] |
| /base/telephony/call_manager/interfaces/innerkits/ |
| H A D | call_manager_info.h | 416 std::copy(std::begin(temp.phoneNumber), std::end(temp.phoneNumber), std::begin(phoneNumber)); in operator =() 417 std::copy(std::begin(temp.formattedNumberToE164), std::end(temp.formattedNumberToE164), in operator =() 418 std::begin(formattedNumberToE164)); in operator =() 419 std::copy(std::begin(temp.formattedNumber), std::end(temp.formattedNumber), in operator =() 420 std::begin(formattedNumber)); in operator =() 421 std::copy(std::begin(temp.numberLocation), std::end(temp.numberLocation), in operator =() 422 std::begin(numberLocation)); in operator =() 436 std::copy(std::begin(temp.numberMarkInfo.markContent), std::end(temp.numberMarkInfo.markContent), in operator =() 437 std::begin(numberMarkInf in operator =() [all...] |
| /base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/ |
| H A D | border_rule.cpp | 61 int begin = match->start(); in Handle() local 64 int beginSubTen = begin - 10 < 0 ? 0 : begin - 10; in Handle() 76 if (type == PhoneNumberMatched::CONTAIN && borderBegin <= begin && end <= borderEnd) { in Handle() 78 } else if (type == PhoneNumberMatched::CONTAIN_OR_INTERSECT && ((borderBegin <= begin && in Handle() 79 end <= borderEnd) || (borderBegin < begin && begin < borderEnd && borderEnd < end) || in Handle() 80 (begin < borderBegin && borderBegin < end && end < borderEnd))) { in Handle()
|
| /base/print/print_fwk/frameworks/models/print_models/src/ |
| H A D | printer_capability.cpp | 58 pageSizeList_.assign(right.pageSizeList_.begin(), right.pageSizeList_.end()); in operator =() 60 resolutionList_.assign(right.resolutionList_.begin(), right.resolutionList_.end()); in operator =() 70 supportedPageSizeList_.assign(right.supportedPageSizeList_.begin(), right.supportedPageSizeList_.end()); in operator =() 71 supportedColorModeList_.assign(right.supportedColorModeList_.begin(), right.supportedColorModeList_.end()); in operator =() 72 supportedDuplexModeList_.assign(right.supportedDuplexModeList_.begin(), right.supportedDuplexModeList_.end()); in operator =() 73 supportedMediaTypeList_.assign(right.supportedMediaTypeList_.begin(), right.supportedMediaTypeList_.end()); in operator =() 74 supportedQualityList_.assign(right.supportedQualityList_.begin(), right.supportedQualityList_.end()); in operator =() 75 supportedOrientationList_.assign(right.supportedOrientationList_.begin(), in operator =() 114 resolutionList_.assign(resolutionList.begin(), resolutionList.end()); in SetResolution() 145 pageSizeList.assign(pageSizeList_.begin(), pageSizeList in GetPageSize() [all...] |
| /base/telephony/call_manager/services/call/src/ |
| H A D | call_object_manager.cpp | 47 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in ~CallObjectManager() 60 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in AddOneCallObject() 95 TELEPHONY_LOGI("delayed disconnect callback begin"); in DelayedDisconnectCallConnectAbility() 110 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in DeleteOneCallObject() 149 std::list<sptr<CallBase>>::iterator it = CallObjectManager::callObjectPtrList_.begin(); in GetOneCallObject() 167 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in GetOneCallObject() 184 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in HasNewCall() 202 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in IsNewCallAllowedCreate() 264 for (it = callObjectPtrList_.begin(); it != callObjectPtrList_.end(); ++it) { in GetCarrierCallList() 278 for (it = callObjectPtrList_.begin(); i in GetVoipCallNum() [all...] |
| /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...] |
| /base/location/services/location_locator/locator/source/ |
| H A D | work_record.cpp | 221 for (auto iterUid = uids_.begin(); iterUid != uids_.end(); iterUid++, i++) { in Remove() 231 uids_.erase(uids_.begin() + i); in Remove() 232 pids_.erase(pids_.begin() + i); in Remove() 233 names_.erase(names_.begin() + i); in Remove() 234 timeInterval_.erase(timeInterval_.begin() + i); in Remove() 235 uuid_.erase(uuid_.begin() + i); in Remove() 236 nlpRequestType_.erase(nlpRequestType_.begin() + i); in Remove() 248 for (auto iter = names_.begin(); iter != names_.end(); iter++, i++) { in Remove() 256 uids_.erase(uids_.begin() + i); in Remove() 257 pids_.erase(pids_.begin() in Remove() [all...] |
| /base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
| H A D | thermal_policy.cpp | 80 for (auto clusterPolicy = clusterPolicyMap_.begin(); clusterPolicy != clusterPolicyMap_.end(); clusterPolicy++) { in SortLevel() 81 sort(clusterPolicy->second.begin(), clusterPolicy->second.end(), LevelCompare); in SortLevel() 94 for (auto cluster = sensorClusterMap_.begin(); cluster != sensorClusterMap_.end(); cluster++) { in LevelDecision() 111 for (auto iter = clusterLevelMap_.begin(); iter != clusterLevelMap_.end(); iter++) { in WriteLevel() 114 auto level = *max_element(levelList.begin(), levelList.end()); in WriteLevel() 129 for (auto clusterPolicy = clusterPolicyMap_.begin(); clusterPolicy != clusterPolicyMap_.end(); clusterPolicy++) { in PolicyDecision() 162 for (auto action = actionList.begin(); action != actionList.end(); action++) { in ActionDecision() 199 for (auto prop = stateMap.begin(); prop != stateMap.end(); prop++) { in StateMachineDecision() 224 for (auto iter = actionMap.begin(); iter != actionMap.end(); iter++) { in ActionExecution() 237 for (auto clusterIter = clusterLevelMap_.begin(); clusterIte in PrintPolicyState() [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);
|