Searched refs:sys_call_table (Results 1 - 89 of 89) sorted by relevance

/linux-4.1.27/arch/x86/um/shared/sysdep/
H A Dsyscalls_32.h11 extern syscall_handler_t *sys_call_table[];
15 (*sys_call_table[syscall]))(SYSCALL_ARGS(&regs->regs))
H A Dsyscalls_64.h15 extern syscall_handler_t *sys_call_table[];
19 (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(&regs->regs), \
/linux-4.1.27/arch/score/kernel/
H A DMakefile9 sys_call_table.o
H A Dsys_call_table.c10 void *sys_call_table[__NR_syscalls] = { variable
H A Dentry.S421 la r11, sys_call_table
/linux-4.1.27/arch/sh/include/asm/
H A Dsyscall.h4 extern const unsigned long sys_call_table[];
/linux-4.1.27/arch/openrisc/kernel/
H A DMakefile9 sys_call_table.o
H A Dsys_call_table.c2 * OpenRISC sys_call_table.c
26 void *sys_call_table[__NR_syscalls] = { variable
H A Dentry.S599 l.movhi r29,hi(sys_call_table)
600 l.ori r29,r29,lo(sys_call_table)
/linux-4.1.27/arch/arc/kernel/
H A Dsys.c13 void *sys_call_table[NR_syscalls] = { variable
H A Dentry.S455 ld.as r9, [sys_call_table, r8]
533 ld.as r9,[sys_call_table, r8]
/linux-4.1.27/arch/x86/um/
H A Dsys_call_table_32.c37 const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
46 int syscall_table_size = sizeof(sys_call_table);
H A Dsys_call_table_64.c50 const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
59 int syscall_table_size = sizeof(sys_call_table);
/linux-4.1.27/arch/x86/kernel/
H A Dsyscall_32.c12 #define ia32_sys_call_table sys_call_table
H A Dsyscall_64.c25 asmlinkage const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { variable
H A Dentry_32.S430 call *sys_call_table(,%eax,4)
505 call *sys_call_table(,%eax,4)
H A Dentry_64.S260 call *sys_call_table(,%rax,8)
345 call *sys_call_table(,%rax,8)
/linux-4.1.27/arch/powerpc/kernel/
H A Dsystbl.S47 .globl sys_call_table
48 sys_call_table: label
H A Dvdso.c691 extern unsigned long *sys_call_table; vdso_setup_syscall_map()
697 if (sys_call_table[i*2] != sys_ni_syscall) vdso_setup_syscall_map()
700 if (sys_call_table[i*2+1] != sys_ni_syscall) vdso_setup_syscall_map()
704 if (sys_call_table[i] != sys_ni_syscall) vdso_setup_syscall_map()
H A Dentry_64.S43 .tc sys_call_table[TC],sys_call_table
153 * Need to vector to 32 Bit or default sys_call_table here,
H A Dftrace.c549 return sys_call_table[nr*2]; arch_syscall_addr()
H A Dentry_32.S338 lis r10,sys_call_table@h
339 ori r10,r10,sys_call_table@l
/linux-4.1.27/arch/arm64/kernel/
H A Dsys.c49 * The sys_call_table array must be 4K aligned to be accessible from
52 void * const sys_call_table[__NR_syscalls] __aligned(4096) = {
H A Dsys32.c46 * The sys_call_table array must be 4K aligned to be accessible from
H A Dentry.S666 adrp stbl, sys_call_table // load syscall table pointer
/linux-4.1.27/arch/unicore32/kernel/
H A Dsys.c37 void *sys_call_table[__NR_syscalls] = { variable
H A Dentry.S618 ldw tbl, =sys_call_table @ load syscall table pointer
/linux-4.1.27/arch/nios2/kernel/
H A Dsyscall_table.c27 void *sys_call_table[__NR_syscalls] = { variable
H A Dentry.S192 movhi r11, %hiadj(sys_call_table)
194 ldw r1, %lo(sys_call_table)(r1)
262 movhi r11,%hiadj(sys_call_table)
264 ldw r1, %lo(sys_call_table)(r1)
/linux-4.1.27/arch/hexagon/kernel/
H A Dsyscalltab.c30 void *sys_call_table[__NR_syscalls] = { variable
H A Dtraps.c399 (sys_call_table[regs->syscall_nr]); do_trap0()
/linux-4.1.27/arch/sparc/include/asm/
H A Dhead_32.h34 sethi %hi(sys_call_table), %l7; \
35 or %l7, %lo(sys_call_table), %l7; \
H A Dsyscall.h15 extern const unsigned int sys_call_table[];
/linux-4.1.27/arch/powerpc/include/asm/
H A Dsyscall.h20 /* ftrace syscalls requires exporting the sys_call_table */
22 extern const unsigned long sys_call_table[];
/linux-4.1.27/arch/s390/include/asm/
H A Delf.h188 current_thread_info()->sys_call_table = \
189 (unsigned long) &sys_call_table; \
199 current_thread_info()->sys_call_table = \
203 current_thread_info()->sys_call_table = \
204 (unsigned long) &sys_call_table; \
H A Dsyscall.h25 extern const unsigned int sys_call_table[];
H A Dthread_info.h33 unsigned long sys_call_table; /* System call table address */ member in struct:thread_info
/linux-4.1.27/arch/m68k/68360/
H A Dentry.S31 .globl sys_call_table
51 lea sys_call_table, %a0
82 lea sys_call_table,%a0
/linux-4.1.27/arch/alpha/kernel/
H A Dsystbls.S11 .globl sys_call_table
12 sys_call_table: label
536 .size sys_call_table, . - sys_call_table
537 .type sys_call_table, @object
540 .ifne (. - sys_call_table) - (NR_SYSCALLS * 8)
H A Dentry.S459 lda $5, sys_call_table
589 lda $2, sys_call_table
/linux-4.1.27/arch/c6x/include/asm/
H A Dsyscalls.h24 extern void *sys_call_table[];
/linux-4.1.27/arch/c6x/kernel/
H A Dsys_c6x.c71 void *sys_call_table[__NR_syscalls] = { variable
H A Dentry.S227 ;; and get syscall handler addr from sys_call_table:
229 || MVKL .S2 sys_call_table,B1
231 || MVKH .S2 sys_call_table,B1
239 ; B0 = sys_call_table[__NR_*]
322 ;; B0 = syscall number (in sys_call_table)
354 ;; Get syscall handler addr from sys_call_table
357 || MVKL .S2 sys_call_table,B1
358 MVKH .S2 sys_call_table,B1
/linux-4.1.27/arch/hexagon/include/asm/
H A Dsyscall.h30 extern void *sys_call_table[];
/linux-4.1.27/arch/arm/include/asm/
H A Dsyscall.h19 extern const unsigned long sys_call_table[];
/linux-4.1.27/arch/mips/kernel/
H A Dscall64-64.S52 ld t2, (sys_call_table - (__NR_64_Linux * 8))(t0)
120 .type sys_call_table, @object
121 EXPORT(sys_call_table)
439 .size sys_call_table,.-sys_call_table
H A Dscall32-o32.S45 la t1, sys_call_table
183 lw t2, sys_call_table(t1) # syscall routine
214 .type sys_call_table, @object
215 EXPORT(sys_call_table)
H A Dftrace.c417 return (unsigned long)sys_call_table[nr - __NR_O32_Linux]; arch_syscall_addr()
430 return (unsigned long)sys_call_table[nr - __NR_64_Linux]; arch_syscall_addr()
/linux-4.1.27/arch/sparc/kernel/
H A Dsystbls_32.S17 .globl sys_call_table
18 sys_call_table: label
H A Dsystbls_64.S98 .globl sys_call_table64, sys_call_table
100 sys_call_table: label
/linux-4.1.27/arch/xtensa/kernel/
H A Dsyscall.c32 syscall_t sys_call_table[__NR_syscall_count] /* FIXME __cacheline_aligned */= { variable
H A Dentry.S1765 /* syscall = sys_call_table[syscall_nr] */
1767 movi a4, sys_call_table;
/linux-4.1.27/arch/tile/include/asm/
H A Dsyscall.h26 extern void *sys_call_table[];
/linux-4.1.27/arch/metag/include/asm/
H A Dsyscall.h102 extern const void *sys_call_table[];
/linux-4.1.27/arch/mn10300/include/asm/
H A Dsyscall.h20 extern const unsigned long sys_call_table[];
/linux-4.1.27/arch/arm64/include/asm/
H A Dsyscall.h23 extern const void *sys_call_table[];
/linux-4.1.27/arch/avr32/kernel/
H A Dsyscall_table.S12 .type sys_call_table,@object
13 .global sys_call_table
15 sys_call_table: label
H A Dentry-avr32b.S245 .long sys_call_table
/linux-4.1.27/arch/m68k/68000/
H A Dentry.S29 .globl sys_call_table
55 lea sys_call_table, %a0
86 lea sys_call_table,%a0
/linux-4.1.27/arch/arm/kernel/
H A Dentry-common.S176 adr tbl, sys_call_table @ load syscall table pointer
273 .type sys_call_table, #object
274 ENTRY(sys_call_table)
/linux-4.1.27/arch/mips/include/asm/
H A Dsyscall.h118 extern const unsigned long sys_call_table[];
/linux-4.1.27/arch/parisc/kernel/
H A Dsyscall.S216 ldil L%sys_call_table, %r1
218 addil L%(sys_call_table64-sys_call_table), %r1
219 ldo R%sys_call_table(%r1), %r19
223 ldil L%sys_call_table, %r1
224 ldo R%sys_call_table(%r1), %r19
327 ldil L%sys_call_table,%r1
328 ldo R%sys_call_table(%r1), %r19
912 ENTRY(sys_call_table)
914 END(sys_call_table)
/linux-4.1.27/arch/sh/kernel/
H A Dsyscalls_64.S21 .globl sys_call_table
22 sys_call_table: label
H A Dentry-common.S357 mov.l 3f, r8 ! Load the address of sys_call_table
391 3: .long sys_call_table
/linux-4.1.27/arch/m68k/coldfire/
H A Dentry.S55 .globl sys_call_table
69 lea sys_call_table,%a0
/linux-4.1.27/arch/x86/include/asm/
H A Dsyscall.h24 extern const sys_call_ptr_t sys_call_table[];
/linux-4.1.27/arch/tile/kernel/
H A Dsys.c120 void *sys_call_table[__NR_syscalls] = { variable
H A Dintvec_64.S1272 moveli r20, hw2(sys_call_table)
1279 shl16insli r20, r20, hw1(sys_call_table)
1283 shl16insli r20, r20, hw0(sys_call_table)
H A Dintvec_32.S1249 moveli r20, lo16(sys_call_table)
1253 auli r20, r20, ha16(sys_call_table)
/linux-4.1.27/arch/metag/kernel/
H A Dsys_metag.c177 const void *sys_call_table[__NR_syscalls] = { variable
H A Dtraps.c672 syscall_entry = (LPSYSCALL) sys_call_table[sysnumber]; switch1_handler()
/linux-4.1.27/arch/m68k/kernel/
H A Dentry.S46 .globl sys_call_table
206 jbsr @(sys_call_table,%d0:l:4)@(0)
H A Dsyscalltable.S22 ENTRY(sys_call_table)
/linux-4.1.27/arch/mn10300/kernel/
H A Dentry.S86 mov (sys_call_table,a1),a0
429 ENTRY(sys_call_table)
772 nr_syscalls=(.-sys_call_table)/4
/linux-4.1.27/arch/m32r/kernel/
H A Dentry.S206 LDIMM (r4, sys_call_table)
552 syscall_table_size=(.-sys_call_table)
/linux-4.1.27/arch/s390/kernel/
H A Dasm-offsets.c38 DEFINE(__TI_sysc_table, offsetof(struct thread_info, sys_call_table)); main()
H A Dsyscalls.S2 * definitions for sys_call_table, each line represents an
H A Dentry.S1047 .globl sys_call_table
1048 sys_call_table: label
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dentry.S48 .globl sys_call_table
177 jsr [$r9+sys_call_table] ; actually do the system call
605 sys_call_table: label
966 .rept NR_syscalls-(.-sys_call_table)/4
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dentry.S41 .globl sys_call_table
209 addo.d +sys_call_table, $r9, $acr
524 sys_call_table: label
886 .rept NR_syscalls - (.-sys_call_table) / 4
/linux-4.1.27/arch/frv/kernel/
H A Dentry.S902 sethi %hi(sys_call_table),gr5
903 setlo %lo(sys_call_table),gr5
1178 .globl sys_call_table
1179 sys_call_table: label
1519 syscall_table_size = (. - sys_call_table)
/linux-4.1.27/arch/microblaze/kernel/
H A Dentry-nommu.S288 lwi r12, r12, sys_call_table /* Get function pointer */
594 syscall_table_size=(.-sys_call_table)
H A Dentry.S372 lwi r12, r12, sys_call_table
977 syscall_table_size=(.-sys_call_table)
/linux-4.1.27/arch/ia64/mm/
H A Dinit.c645 extern unsigned long sys_call_table[NR_syscalls]; mem_init()
649 fsyscall_table[i] = sys_call_table[i] | 1; mem_init()
/linux-4.1.27/arch/ia64/kernel/
H A Dentry.S531 movl r16=sys_call_table
533 shladd r20=r15,3,r16 // r20 = sys_call_table + 8*(syscall-1024)
1462 .globl sys_call_table
1463 sys_call_table: label
1784 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
H A Divt.S747 movl r30=sys_call_table // X
769 shladd r30=r15,3,r30 // A r30 = sys_call_table + 8*(syscall-1024)
H A Dfsys.S393 movl r14=sys_call_table
/linux-4.1.27/kernel/trace/
H A Dtrace_syscalls.c514 return (unsigned long)sys_call_table[nr]; arch_syscall_addr()
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
H A Dentry.S1280 movi sys_call_table, r4

Completed in 3853 milliseconds