Home
last modified time | relevance | path

Searched refs:unlock_user (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/qemu/bsd-user/freebsd/
H A Dos-misc.h55 unlock_user(upath, pathptr, 0); in do_freebsd_shm_open2()
64 unlock_user(upath, pathptr, 0); in do_freebsd_shm_open2()
67 unlock_user(uname, nameptr, 0); in do_freebsd_shm_open2()
87 unlock_user(ufrom, fromptr, 0); in do_freebsd_shm_rename()
91 unlock_user(ufrom, fromptr, 0); in do_freebsd_shm_rename()
92 unlock_user(uto, toptr, 0); in do_freebsd_shm_rename()
H A Dos-proc.h130 unlock_user(p, target_infop, sizeof(target_siginfo_t)); in do_freebsd_wait6()
146 unlock_user(p, arg1, 0); in do_freebsd_setloginclass()
162 unlock_user(p, arg1, arg2); in do_freebsd_getloginclass()
H A Dos-sys.c534 unlock_user(snamep, namep, 0); in do_freebsd_sysctlbyname()
535 unlock_user(holdp, oldp, ret == 0 ? holdlen : 0); in do_freebsd_sysctlbyname()
536 unlock_user(hnewp, newp, 0); in do_freebsd_sysctlbyname()
588 unlock_user(hnamep, namep, 0); in do_freebsd_sysctl()
589 unlock_user(holdp, oldp, ret == 0 ? holdlen : 0); in do_freebsd_sysctl()
H A Dos-proc.c122 unlock_user(p, path_or_fd, 0); in freebsd_exec_common()
130 unlock_user(*q, addr, 0); in freebsd_exec_common()
137 unlock_user(*q, addr, 0); in freebsd_exec_common()
H A Dos-stat.h513 unlock_user(dirp, arg2, ret); in do_freebsd11_getdirentries()
554 unlock_user(dirp, arg2, ret); in do_freebsd_getdirentries()
657 unlock_user(b, arg3, ret); in do_freebsd_realpathat()
/openbmc/qemu/linux-user/
H A Duaccess.c28 void unlock_user(void *host_ptr, abi_ulong guest_addr, ssize_t len) in unlock_user() function
66 unlock_user(ghptr, gaddr, 0); in copy_from_user()
80 unlock_user(ghptr, gaddr, len); in copy_to_user()
103 unlock_user(ptr, guest_addr, 0); in target_strlen()
H A Dsyscall.c4646 unlock_user(argptr, arg, 0); in do_ioctl_fs_ioc_fiemap()
4730 unlock_user(argptr, arg, 0); in do_ioctl_ifconf()
4947 unlock_user(argptr, arg, 0); in do_ioctl_usbdevfs_submiturb()
4998 unlock_user(argptr, arg, 0); in do_ioctl_dm()
5228 unlock_user(argptr, arg, 0); in do_ioctl_blkpg()
5250 unlock_user(argptr, arg, 0); in do_ioctl_blkpg()
5313 unlock_user(argptr, arg, 0); in do_ioctl_rt()
5960 unlock_user(p, ptr, size); in read_ldt()
8562 unlock_user(p, pathname, 0); in do_execv()
9191 unlock_user(p, arg2, 0); in _syscall2()
[all …]
H A Dqemu.h265 unlock_user(__hptr, __gaddr, sizeof(target_type)); \
278 unlock_user(__hptr, __gaddr, 0); \
330 static inline void unlock_user(void *host_ptr, abi_ulong guest_addr, in unlock_user() function
336 void unlock_user(void *host_ptr, abi_ulong guest_addr, ssize_t len);
350 unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
H A Dlinuxload.c22 unlock_user(host_ptr, dest, 1); in memcpy_to_target()
257 unlock_user(haddr, start, len); in imgsrc_mmap()
H A Dstrace.c435 unlock_user(sa, addr, 0); in print_sockaddr()
1621 unlock_user(s, addr, 0); in print_string()
1652 unlock_user(s, addr, 0); in print_buf()
1724 unlock_user(tv, tv_addr, 0); in print_timeval()
1743 unlock_user(ts, ts_addr, 0); in print_timespec()
1762 unlock_user(ts, ts_addr, 0); in print_timespec64()
1781 unlock_user(tz, tz_addr, 0); in print_timezone()
3287 unlock_user(p, arg2, 0); in print_rt_sigqueueinfo()
3313 unlock_user(p, arg3, 0); in print_rt_tgsigqueueinfo()
3504 unlock_user(p, arg2, 0); in print_pidfd_send_signal()
[all …]
/openbmc/qemu/bsd-user/
H A Duaccess.c18 unlock_user(ghptr, gaddr, 0); in copy_from_user()
33 unlock_user(ghptr, gaddr, len); in copy_to_user()
55 unlock_user(ptr, guest_addr, 0); in target_strlen()
H A Dstrace.c68 unlock_user(namep, arg1, 0); in print_sysctl()
87 unlock_user(s, arg1, 0); in print_execve()
97 unlock_user(arg_ptr, arg_ptr_addr, 0); in print_execve()
103 unlock_user(s, arg_addr, 0); in print_execve()
H A Dbsd-file.h33 #define UNLOCK_PATH(p, arg) unlock_user(p, arg, 0)
43 unlock_user(p1, arg1, 0); \
50 unlock_user(p2, arg2, 0); \
51 unlock_user(p1, arg1, 0); \
81 unlock_user(p, arg2, ret); in do_bsd_read()
102 unlock_user(p, arg2, ret); in do_bsd_pread()
160 unlock_user(p, arg2, 0); in do_bsd_write()
181 unlock_user(p, arg2, 0); in do_bsd_pwrite()
481 unlock_user(p, arg1, ret == 0 ? strlen(p) + 1 : 0); in do_bsd___getcwd()
650 unlock_user(p2, arg2, ret); in do_bsd_readlink()
[all …]
H A Dbsd-proc.h61 unlock_user(target_grouplist, arg2, gidsetsize * 2); in do_bsd_getgroups()
82 unlock_user(target_grouplist, arg2, 0); in do_bsd_setgroups()
103 unlock_user(p, arg1, 0); in do_bsd_setlogin()
119 unlock_user(p, arg1, arg2); in do_bsd_getlogin()
H A Dbsd-mem.h211 unlock_user(p, target_vec, vec_len); in do_bsd_mincore()
280 unlock_user(p, arg1, 0); in do_bsd_shm_open()
297 unlock_user(p, arg1, 0); in do_bsd_shm_unlink()
H A Dqemu.h368 unlock_user(__hptr, __gaddr, sizeof(target_type)); \
382 unlock_user(__hptr, __gaddr, 0); \
458 static inline void unlock_user(void *host_ptr, abi_ulong guest_addr, in unlock_user() function
497 unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
/openbmc/qemu/target/mips/tcg/sysemu/
H A Dmips-semi.c196 unlock_user(dst, addr, sizeof(UHIStat)); in uhi_fstat_cb()
230 unlock_user(p, fname, 0); in mips_semihosting()
287 unlock_user(p, addr, len); in mips_semihosting()
309 unlock_user(p, addr, 0); in mips_semihosting()
316 unlock_user(p, addr, 0); in mips_semihosting()
329 unlock_user(p, addr, str->len); in mips_semihosting()
/openbmc/qemu/semihosting/
H A Dsyscalls.c296 unlock_user(p, fname, 0); in host_open()
329 unlock_user(ptr, buf, 0); in host_read()
349 unlock_user(ptr, buf, 0); in host_write()
436 unlock_user(name, fname, 0); in host_stat()
454 unlock_user(p, fname, 0); in host_remove()
479 unlock_user(ostr, oname, 0); in host_rename()
480 unlock_user(nstr, nname, 0); in host_rename()
498 unlock_user(p, cmd, 0); in host_system()
564 unlock_user(ptr, buf, len); in staticfile_read()
618 unlock_user(ptr, buf, ret); in console_read()
[all …]
H A Darm-compat-semi.c389 unlock_user(s, arg0, 0); in do_common_semihosting()
421 unlock_user(s, arg0, 0); in do_common_semihosting()
426 unlock_user(s, arg0, 0); in do_common_semihosting()
527 unlock_user(p, arg0, len); in do_common_semihosting()
644 unlock_user(output_buffer, arg0, 0); in do_common_semihosting()
657 unlock_user(output_buffer, arg0, output_size); in do_common_semihosting()
/openbmc/qemu/linux-user/aarch64/
H A Dsignal.c504 unlock_user(extra, extra_datap, 0); in target_restore_sigframe()
508 unlock_user(extra, extra_datap, 0); in target_restore_sigframe()
678 unlock_user(frame, frame_addr, layout.total_size); in target_setup_frame()
682 unlock_user(frame, frame_addr, layout.total_size); in target_setup_frame()
747 unlock_user(tramp, sigtramp_page, 8); in setup_sigtramp()
/openbmc/qemu/linux-user/i386/
H A Dsignal.c487 unlock_user(frame, frame_addr, total_size); in setup_frame()
589 unlock_user(frame, frame_addr, total_size); in setup_rt_frame()
661 unlock_user(xstate, fxstate_addr, 0); in xrstor_sigcontext()
666 unlock_user(xstate, fxstate_addr, 0); in xrstor_sigcontext()
788 unlock_user(fpstate, fpstate_addr, 0); in restore_sigcontext()
865 unlock_user(tramp, sigtramp_page, 2 * 8); in setup_sigtramp()
/openbmc/qemu/linux-user/hppa/
H A Dsignal.c164 unlock_user(fdesc, haddr, 0); in setup_rt_frame()
217 unlock_user(tramp, sigtramp_page, 6*4); in setup_sigtramp()
/openbmc/qemu/include/semihosting/
H A Duaccess.h61 #define unlock_user(s, args, len) uaccess_unlock_user(env, s, args, len) macro
/openbmc/qemu/
H A Dcpu-target.c405 unlock_user(p, addr, l); in cpu_memory_rw_debug()
438 unlock_user(p, addr, 0); in cpu_memory_rw_debug()
/openbmc/qemu/linux-user/loongarch64/
H A Dsignal.c398 unlock_user(frame, frame_addr, sizeof(*frame) + extctx.size); in setup_rt_frame()
436 unlock_user(frame, frame_addr, 0); in do_rt_sigreturn()
453 unlock_user(tramp, sigtramp_page, 8); in setup_sigtramp()

12