/arch/mips/vdso/ |
D | Makefile | 2 obj-vdso-y := elf.o gettimeofday.o sigreturn.o 5 ccflags-vdso := \ 10 cflags-vdso := $(ccflags-vdso) \ 15 aflags-vdso := $(ccflags-vdso) \ 31 obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y)) 32 ccflags-vdso += -DDISABLE_MIPS_VDSO 38 -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-soname=linux-vdso.so.1 \ 72 targets += $(obj-vdso-y) 73 targets += vdso.lds 74 targets += vdso.so.dbg.raw vdso.so.raw [all …]
|
D | genvdso.c | 187 static bool patch_vdso(const char *path, void *vdso) in patch_vdso() argument 190 return patch_vdso64(path, vdso); in patch_vdso() 192 return patch_vdso32(path, vdso); in patch_vdso() 195 static bool get_symbols(const char *path, void *vdso) in get_symbols() argument 198 return get_symbols64(path, vdso); in get_symbols() 200 return get_symbols32(path, vdso); in get_symbols() 206 void *dbg_vdso, *vdso; in main() local 227 vdso = map_vdso(vdso_path, &vdso_size); in main() 228 if (!vdso) in main() 234 if (!patch_vdso(vdso_path, vdso)) in main() [all …]
|
D | genvdso.h | 11 static inline bool FUNC(patch_vdso)(const char *path, void *vdso) in FUNC() 13 const ELF(Ehdr) *ehdr = vdso; in FUNC() 21 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 26 shstrtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 45 dyn = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 113 static inline bool FUNC(get_symbols)(const char *path, void *vdso) in FUNC() 115 const ELF(Ehdr) *ehdr = vdso; in FUNC() 124 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC() 151 symtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 157 strtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC()
|
D | .gitignore | 2 vdso-*image.c 4 vdso*.lds
|
/arch/tile/kernel/vdso/ |
D | vgettimeofday.c | 59 static inline u64 vgetsns(struct vdso_data *vdso) in vgetsns() argument 61 return ((get_cycles() - vdso->cycle_last) & vdso->mask) * vdso->mult; in vgetsns() 64 static inline int do_realtime(struct vdso_data *vdso, struct timespec *ts) in do_realtime() argument 70 count = raw_read_seqcount_begin(&vdso->tb_seq); in do_realtime() 71 ts->tv_sec = vdso->wall_time_sec; in do_realtime() 72 ns = vdso->wall_time_snsec; in do_realtime() 73 ns += vgetsns(vdso); in do_realtime() 74 ns >>= vdso->shift; in do_realtime() 75 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); in do_realtime() 83 static inline int do_monotonic(struct vdso_data *vdso, struct timespec *ts) in do_monotonic() argument [all …]
|
D | Makefile | 2 vdso-syms = rt_sigreturn gettimeofday 5 obj-vdso = $(patsubst %, v%.o, $(vdso-syms)) 8 targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.lds 9 obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) 14 obj-y += vdso.o 16 extra-y += vdso.lds 41 $(obj)/vdso.o: $(obj)/vdso.so 45 $(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) 52 extra-y += vdso-syms.o 53 $(obj)/built-in.o: $(obj)/vdso-syms.o [all …]
|
/arch/arm64/kernel/vdso/ |
D | Makefile | 8 obj-vdso := gettimeofday.o note.o sigreturn.o 11 targets := $(obj-vdso) vdso.so vdso.so.dbg 12 obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) 15 ccflags-y += -nostdlib -Wl,-soname=linux-vdso.so.1 \ 26 obj-y += vdso.o 27 extra-y += vdso.lds 31 $(obj)/vdso.o : $(obj)/vdso.so 34 $(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) 49 include/generated/vdso-offsets.h: $(obj)/vdso.so.dbg FORCE 53 $(obj-vdso): %.o: %.S FORCE [all …]
|
D | .gitignore | 1 vdso.lds 2 vdso-offsets.h
|
/arch/arm/vdso/ |
D | Makefile | 3 obj-vdso := vgettimeofday.o datapage.o 6 targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.so.raw vdso.lds 7 obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) 12 VDSO_LDFLAGS := -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-soname=linux-vdso.so.1 19 obj-$(CONFIG_VDSO) += vdso.o 20 extra-$(CONFIG_VDSO) += vdso.lds 33 $(obj)/vdso.o : $(obj)/vdso.so 36 $(obj)/vdso.so.raw: $(src)/vdso.lds $(obj-vdso) FORCE 39 $(obj)/vdso.so.dbg: $(obj)/vdso.so.raw $(obj)/vdsomunge FORCE 73 $(MODLIB)/vdso: FORCE [all …]
|
D | .gitignore | 1 vdso.lds 2 vdso.so.raw
|
/arch/x86/um/vdso/ |
D | Makefile | 10 vdso-install-$(VDSO64-y) += vdso.so 14 vobjs-y := vdso-note.o um_vdso.o 17 obj-$(VDSO64-y) += vdso.o vma.o 21 $(obj)/vdso.o: $(obj)/vdso.so 23 targets += vdso.so vdso.so.dbg vdso.lds $(vobjs-y) 27 VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ 30 $(obj)/vdso.o: $(src)/vdso.S $(obj)/vdso.so 32 $(obj)/vdso.so.dbg: $(src)/vdso.lds $(vobjs) FORCE 33 $(call if_changed,vdso) 55 targets += vdso-syms.lds [all …]
|
D | .gitignore | 1 vdso-syms.lds 2 vdso.lds
|
/arch/hexagon/kernel/ |
D | vdso.c | 35 struct hexagon_vdso *vdso; in vdso_init() local 41 vdso = vmap(&vdso_page, 1, 0, PAGE_KERNEL); in vdso_init() 42 if (!vdso) in vdso_init() 44 clear_page(vdso); in vdso_init() 50 vdso->rt_signal_trampoline[0] = __rt_sigtramp_template[0]; in vdso_init() 51 vdso->rt_signal_trampoline[1] = __rt_sigtramp_template[1]; in vdso_init() 53 vunmap(vdso); in vdso_init() 89 mm->context.vdso = (void *)vdso_base; in arch_setup_additional_pages() 98 if (vma->vm_mm && vma->vm_start == (long)vma->vm_mm->context.vdso) in arch_vma_name()
|
/arch/x86/entry/vdso/ |
D | Makefile | 19 vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o 34 $(obj)/vdso.o: $(obj)/vdso.so 36 targets += vdso.lds $(vobjs-y) 39 vdso_img_objs := $(vdso_img-y:%=vdso-image-%.o) 40 vdso_img_cfiles := $(vdso_img-y:%=vdso-image-%.c) 41 vdso_img_sodbg := $(vdso_img-y:%=vdso%.so.dbg) 45 .SECONDARY: $(vdso_img-y:%=$(obj)/vdso-image-%.c) \ 46 $(vdso_img-y:%=$(obj)/vdso%.so) 50 VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ 55 $(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE [all …]
|
D | .gitignore | 1 vdso.lds 6 vdso-image-*.c
|
/arch/sh/kernel/vsyscall/ |
D | vsyscall.c | 83 current->mm->context.vdso = (void *)addr; in arch_setup_additional_pages() 92 if (vma->vm_mm && vma->vm_start == (long)vma->vm_mm->context.vdso) in arch_vma_name()
|
/arch/powerpc/kernel/vdso64/ |
D | Makefile | 40 cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@ 43 @mkdir -p $(MODLIB)/vdso
|
/arch/hexagon/include/asm/ |
D | mmu.h | 32 struct hexagon_vdso *vdso; member
|
/arch/mips/include/asm/ |
D | mmu.h | 10 void *vdso; member
|
D | abi.h | 27 struct mips_vdso_image *vdso; member
|
/arch/tile/kernel/ |
D | Makefile | 9 sysfs.o time.o traps.o unaligned.o vdso.o \ 37 obj-y += vdso/
|
/arch/powerpc/kernel/vdso32/ |
D | Makefile | 53 cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@ 56 @mkdir -p $(MODLIB)/vdso
|
/arch/s390/kernel/vdso64/ |
D | Makefile | 55 cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@ 58 @mkdir -p $(MODLIB)/vdso
|
/arch/s390/kernel/vdso32/ |
D | Makefile | 55 cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@ 58 @mkdir -p $(MODLIB)/vdso
|
/arch/x86/include/asm/ |
D | elf.h | 306 (unsigned long __force)current->mm->context.vdso); \ 314 (unsigned long __force)current->mm->context.vdso); \ 329 #define VDSO_CURRENT_BASE ((unsigned long)current->mm->context.vdso) 332 ((unsigned long)current->mm->context.vdso + \
|