Lines Matching +full:non +full:- +full:armv7

1 // SPDX-License-Identifier: GPL-2.0-only
51 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
55 vdso_size = (vdso_total_pages - 1) << PAGE_SHIFT; in vdso_mremap()
58 return -EINVAL; in vdso_mremap()
60 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
77 /* Cached result of boot-time check for whether the arch timer exists,
94 np = of_find_compatible_node(NULL, NULL, "arm,armv7-timer"); in cntvct_functional()
98 if (of_property_read_bool(np, "arm,cpu-registers-not-fw-configured")) in cntvct_functional()
117 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section()
118 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
121 for (i = 1; i < ehdr->e_shnum; i++) { in find_section()
138 for (i = 0; i < (lib->dynsymsize / sizeof(Elf32_Sym)); i++) { in find_symbol()
141 if (lib->dynsym[i].st_name == 0) in find_symbol()
143 strlcpy(name, lib->dynstr + lib->dynsym[i].st_name, in find_symbol()
149 return &lib->dynsym[i]; in find_symbol()
162 sym->st_name = 0; in vdso_nullpatch_one()
176 /* If the virtual counter is absent or non-functional we don't in patch_vdso()
193 return -ENOEXEC; in vdso_init()
196 text_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; in vdso_init()
202 return -ENOMEM; in vdso_init()
239 /* assumes mmap_sem is write-locked */
245 mm->context.vdso = 0; in arm_install_vdso()
255 len = (vdso_total_pages - 1) << PAGE_SHIFT; in arm_install_vdso()
262 mm->context.vdso = addr; in arm_install_vdso()
267 ++vdso_data->seq_count; in vdso_write_begin()
274 ++vdso_data->seq_count; in vdso_write_end()
282 if (!tk->tkr_mono.clock->archdata.vdso_direct) in tk_is_cntvct()
289 * update_vsyscall - update the vdso data page
308 struct timespec64 *wtm = &tk->wall_to_monotonic; in update_vsyscall()
319 vdso_data->tk_is_cntvct = tk_is_cntvct(tk); in update_vsyscall()
320 vdso_data->xtime_coarse_sec = tk->xtime_sec; in update_vsyscall()
321 vdso_data->xtime_coarse_nsec = (u32)(tk->tkr_mono.xtime_nsec >> in update_vsyscall()
322 tk->tkr_mono.shift); in update_vsyscall()
323 vdso_data->wtm_clock_sec = wtm->tv_sec; in update_vsyscall()
324 vdso_data->wtm_clock_nsec = wtm->tv_nsec; in update_vsyscall()
326 if (vdso_data->tk_is_cntvct) { in update_vsyscall()
327 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
328 vdso_data->xtime_clock_sec = tk->xtime_sec; in update_vsyscall()
329 vdso_data->xtime_clock_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
330 vdso_data->cs_mult = tk->tkr_mono.mult; in update_vsyscall()
331 vdso_data->cs_shift = tk->tkr_mono.shift; in update_vsyscall()
332 vdso_data->cs_mask = tk->tkr_mono.mask; in update_vsyscall()
342 vdso_data->tz_minuteswest = sys_tz.tz_minuteswest; in update_vsyscall_tz()
343 vdso_data->tz_dsttime = sys_tz.tz_dsttime; in update_vsyscall_tz()