Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nathanchance/ee55747c28279897064c0da17fff0f75 to your computer and use it in GitHub Desktop.
Save nathanchance/ee55747c28279897064c0da17fff0f75 to your computer and use it in GitHub Desktop.
include/net/inet_connection_sock.h:227: sk, what, when, current_text_addr());
arch/s390/include/asm/processor.h:80:#define current_text_addr() ({ void *pc; asm("basr %0,0" : "=a" (pc)); pc; })
arch/nds32/include/asm/processor.h:11:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/xtensa/include/asm/processor.h:161:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/powerpc/include/asm/processor.h:75:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/alpha/include/asm/processor.h:16:#define current_text_addr() \
arch/arm64/include/asm/processor.h:33:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/hexagon/include/asm/processor.h:31:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/arc/include/asm/processor.h:107:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/sparc/include/asm/processor_32.h:14:#define current_text_addr() ({ void *pc; __asm__("sethi %%hi(1f), %0; or %0, %%lo(1f), %0;\n1:" : "=r" (pc)); pc; })
arch/sparc/include/asm/processor_64.h:15:#define current_text_addr() ({ void *pc; __asm__("rd %%pc, %0" : "=r" (pc)); pc; })
arch/m68k/include/asm/processor.h:15:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/arm/include/asm/processor.h:18:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/mips/include/asm/processor.h:28:#define current_text_addr() ({ __label__ _l; _l: &&_l;})
arch/sh/include/asm/kexec.h:64: newregs->pc = (unsigned long)current_text_addr();
arch/sh/include/asm/processor_32.h:23:#define current_text_addr() ({ void *pc; __asm__("mova 1f, %0\n.align 2\n1:":"=z" (pc)); pc; })
arch/sh/include/asm/processor_64.h:26:#define current_text_addr() ({ \
arch/sh/kernel/dwarf.c:602: pc = (unsigned long)current_text_addr();
arch/c6x/include/asm/processor.h:24:#define current_text_addr() \
arch/h8300/include/asm/processor.h:19:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/x86/include/asm/kexec.h:135: newregs->ip = (unsigned long)current_text_addr();
arch/x86/include/asm/processor.h:49:static inline void *current_text_addr(void)
arch/x86/um/asm/processor_32.h:55:#define current_text_addr() \
arch/x86/um/asm/processor_64.h:34:#define current_text_addr() \
arch/microblaze/include/asm/processor.h:52:# define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/microblaze/include/asm/processor.h:99:# define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/openrisc/include/asm/processor.h:37:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/riscv/include/asm/processor.h:40:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/parisc/include/asm/processor.h:32:#define current_text_addr() ({ void *pc; current_ia(pc); pc; })
arch/parisc/kernel/unwind.c:442: r.iaoq[0] = (unsigned long) current_text_addr();
arch/unicore32/include/asm/processor.h:20:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/nios2/include/asm/processor.h:45:#define current_text_addr() ({ __label__ _l; _l: &&_l; })
arch/ia64/include/asm/processor.h:608:#define current_text_addr() \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment