本文整理汇总了C++中BTFIXUP_CALL函数的典型用法代码示例。如果您正苦于以下问题:C++ BTFIXUP_CALL函数的具体用法?C++ BTFIXUP_CALL怎么用?C++ BTFIXUP_CALL使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了BTFIXUP_CALL函数的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: smp_flush_page_to_ram
void smp_flush_page_to_ram(unsigned long page)
{
#if 1
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_page_to_ram), page);
#endif
local_flush_page_to_ram(page);
}
开发者ID:DirtyDroidX,项目名称:android_kernel_htc_m8ul,代码行数:7,代码来源:smp_32.c
示例2: smp_flush_cache_mm
void smp_flush_cache_mm(struct mm_struct *mm)
{
if(mm->context != NO_CONTEXT) {
if(mm->cpu_vm_mask != (1 << smp_processor_id()))
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_cache_mm), (unsigned long) mm);
local_flush_cache_mm(mm);
}
}
开发者ID:SimonKagstrom,项目名称:mci500h-linux-2.4.27,代码行数:8,代码来源:smp.c
示例3: smp_flush_sig_insns
void smp_flush_sig_insns(struct mm_struct *mm, unsigned long insn_addr)
{
cpumask_t cpu_mask = mm->cpu_vm_mask;
cpu_clear(smp_processor_id(), cpu_mask);
if (!cpus_empty(cpu_mask))
xc2((smpfunc_t) BTFIXUP_CALL(local_flush_sig_insns), (unsigned long) mm, insn_addr);
local_flush_sig_insns(mm, insn_addr);
}
开发者ID:maliyu,项目名称:SOM2416,代码行数:8,代码来源:smp.c
示例4: arch_send_call_function_ipi_mask
void arch_send_call_function_ipi_mask(const struct cpumask *mask)
{
int cpu;
/* */
for_each_cpu(cpu, mask)
BTFIXUP_CALL(smp_ipi_mask_one)(cpu);
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:8,代码来源:smp_32.c
示例5: smp_send_reschedule
void smp_send_reschedule(int cpu)
{
/*
* CPU model dependent way of implementing IPI generation targeting
* a single CPU. The trap handler needs only to do trap entry/return
* to call schedule.
*/
BTFIXUP_CALL(smp_ipi_resched)(cpu);
}
开发者ID:daeiron,项目名称:LG_G3_Kernel,代码行数:9,代码来源:smp_32.c
示例6: smp_flush_sig_insns
void smp_flush_sig_insns(struct mm_struct *mm, unsigned long insn_addr)
{
cpumask_t cpu_mask;
cpumask_copy(&cpu_mask, mm_cpumask(mm));
cpumask_clear_cpu(smp_processor_id(), &cpu_mask);
if (!cpumask_empty(&cpu_mask))
xc2((smpfunc_t) BTFIXUP_CALL(local_flush_sig_insns), (unsigned long) mm, insn_addr);
local_flush_sig_insns(mm, insn_addr);
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:9,代码来源:smp_32.c
示例7: smp_flush_tlb_range
void smp_flush_tlb_range(struct mm_struct *mm, unsigned long start,
unsigned long end)
{
if(mm->context != NO_CONTEXT) {
if(mm->cpu_vm_mask != (1 << smp_processor_id()))
xc3((smpfunc_t) BTFIXUP_CALL(local_flush_tlb_range), (unsigned long) mm, start, end);
local_flush_tlb_range(mm, start, end);
}
}
开发者ID:SimonKagstrom,项目名称:mci500h-linux-2.4.27,代码行数:9,代码来源:smp.c
示例8: smp_send_reschedule
void smp_send_reschedule(int cpu)
{
/*
*/
BTFIXUP_CALL(smp_ipi_resched)(cpu);
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:9,代码来源:smp_32.c
示例9: smp_flush_tlb_page
void smp_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
{
struct mm_struct *mm = vma->vm_mm;
if(mm->context != NO_CONTEXT) {
if(mm->cpu_vm_mask != (1 << smp_processor_id()))
xc2((smpfunc_t) BTFIXUP_CALL(local_flush_tlb_page), (unsigned long) vma, page);
local_flush_tlb_page(vma, page);
}
}
开发者ID:SimonKagstrom,项目名称:mci500h-linux-2.4.27,代码行数:10,代码来源:smp.c
示例10: smp_flush_cache_mm
void smp_flush_cache_mm(struct mm_struct *mm)
{
if(mm->context != NO_CONTEXT) {
cpumask_t cpu_mask = mm->cpu_vm_mask;
cpu_clear(smp_processor_id(), cpu_mask);
if (!cpus_empty(cpu_mask))
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_cache_mm), (unsigned long) mm);
local_flush_cache_mm(mm);
}
}
开发者ID:maliyu,项目名称:SOM2416,代码行数:10,代码来源:smp.c
示例11: smp_flush_cache_mm
void smp_flush_cache_mm(struct mm_struct *mm)
{
if(mm->context != NO_CONTEXT) {
cpumask_t cpu_mask;
cpumask_copy(&cpu_mask, mm_cpumask(mm));
cpumask_clear_cpu(smp_processor_id(), &cpu_mask);
if (!cpumask_empty(&cpu_mask))
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_cache_mm), (unsigned long) mm);
local_flush_cache_mm(mm);
}
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:11,代码来源:smp_32.c
示例12: smp_flush_tlb_mm
void smp_flush_tlb_mm(struct mm_struct *mm)
{
if(mm->context != NO_CONTEXT) {
if(mm->cpu_vm_mask != (1 << smp_processor_id())) {
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_tlb_mm), (unsigned long) mm);
if(atomic_read(&mm->mm_users) == 1 && current->active_mm == mm)
mm->cpu_vm_mask = (1 << smp_processor_id());
}
local_flush_tlb_mm(mm);
}
}
开发者ID:SimonKagstrom,项目名称:mci500h-linux-2.4.27,代码行数:11,代码来源:smp.c
示例13: smp_flush_tlb_page
void smp_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
{
struct mm_struct *mm = vma->vm_mm;
if(mm->context != NO_CONTEXT) {
cpumask_t cpu_mask = mm->cpu_vm_mask;
cpu_clear(smp_processor_id(), cpu_mask);
if (!cpus_empty(cpu_mask))
xc2((smpfunc_t) BTFIXUP_CALL(local_flush_tlb_page), (unsigned long) vma, page);
local_flush_tlb_page(vma, page);
}
}
开发者ID:maliyu,项目名称:SOM2416,代码行数:12,代码来源:smp.c
示例14: smp_flush_cache_page
void smp_flush_cache_page(struct vm_area_struct *vma, unsigned long page)
{
struct mm_struct *mm = vma->vm_mm;
if(mm->context != NO_CONTEXT) {
cpumask_t cpu_mask;
cpumask_copy(&cpu_mask, mm_cpumask(mm));
cpumask_clear_cpu(smp_processor_id(), &cpu_mask);
if (!cpumask_empty(&cpu_mask))
xc2((smpfunc_t) BTFIXUP_CALL(local_flush_cache_page), (unsigned long) vma, page);
local_flush_cache_page(vma, page);
}
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:13,代码来源:smp_32.c
示例15: smp_flush_page_to_ram
void smp_flush_page_to_ram(unsigned long page)
{
/* Current theory is that those who call this are the one's
* who have just dirtied their cache with the pages contents
* in kernel space, therefore we only run this on local cpu.
*
* XXX This experiment failed, research further... -DaveM
*/
#if 1
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_page_to_ram), page);
#endif
local_flush_page_to_ram(page);
}
开发者ID:daeiron,项目名称:LG_G3_Kernel,代码行数:13,代码来源:smp_32.c
示例16: smp_flush_tlb_mm
void smp_flush_tlb_mm(struct mm_struct *mm)
{
if(mm->context != NO_CONTEXT) {
cpumask_t cpu_mask = mm->cpu_vm_mask;
cpu_clear(smp_processor_id(), cpu_mask);
if (!cpus_empty(cpu_mask)) {
xc1((smpfunc_t) BTFIXUP_CALL(local_flush_tlb_mm), (unsigned long) mm);
if(atomic_read(&mm->mm_users) == 1 && current->active_mm == mm)
mm->cpu_vm_mask = cpumask_of_cpu(smp_processor_id());
}
local_flush_tlb_mm(mm);
}
}
开发者ID:maliyu,项目名称:SOM2416,代码行数:13,代码来源:smp.c
示例17: smp_flush_tlb_all
void smp_flush_tlb_all(void)
{
xc0((smpfunc_t) BTFIXUP_CALL(local_flush_tlb_all));
local_flush_tlb_all();
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:5,代码来源:smp_32.c
示例18: arch_send_call_function_single_ipi
void arch_send_call_function_single_ipi(int cpu)
{
/* */
BTFIXUP_CALL(smp_ipi_single)(cpu);
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:5,代码来源:smp_32.c
示例19: arch_send_call_function_single_ipi
void arch_send_call_function_single_ipi(int cpu)
{
/* trigger one IPI single call on one CPU */
BTFIXUP_CALL(smp_ipi_single)(cpu);
}
开发者ID:daeiron,项目名称:LG_G3_Kernel,代码行数:5,代码来源:smp_32.c
注:本文中的BTFIXUP_CALL函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论