Home
last modified time | relevance | path

Searched refs:target_rusage (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/bsd-user/
H A Dbsd-proc.c52 struct target_freebsd_rusage *target_rusage) in h2g_rusage() argument
54 __put_user(rusage->ru_utime.tv_sec, &target_rusage->ru_utime.tv_sec); in h2g_rusage()
55 __put_user(rusage->ru_utime.tv_usec, &target_rusage->ru_utime.tv_usec); in h2g_rusage()
57 __put_user(rusage->ru_stime.tv_sec, &target_rusage->ru_stime.tv_sec); in h2g_rusage()
58 __put_user(rusage->ru_stime.tv_usec, &target_rusage->ru_stime.tv_usec); in h2g_rusage()
60 __put_user(rusage->ru_maxrss, &target_rusage->ru_maxrss); in h2g_rusage()
61 __put_user(rusage->ru_idrss, &target_rusage->ru_idrss); in h2g_rusage()
62 __put_user(rusage->ru_idrss, &target_rusage->ru_idrss); in h2g_rusage()
63 __put_user(rusage->ru_isrss, &target_rusage->ru_isrss); in h2g_rusage()
64 __put_user(rusage->ru_minflt, &target_rusage->ru_minflt); in h2g_rusage()
[all …]
H A Dqemu-bsd.h46 struct target_freebsd_rusage *target_rusage);
/openbmc/qemu/bsd-user/freebsd/
H A Dos-proc.h57 abi_long arg3, abi_ulong target_rusage) in do_freebsd_wait4() argument
63 if (target_rusage) { in do_freebsd_wait4()
77 if (target_rusage != 0) { in do_freebsd_wait4()
78 host_to_target_rusage(target_rusage, &rusage); in do_freebsd_wait4()
/openbmc/qemu/linux-user/
H A Dsyscall.c987 struct target_rusage *target_rusage; in host_to_target_rusage() local
989 if (!lock_user_struct(VERIFY_WRITE, target_rusage, target_addr, 0)) in host_to_target_rusage()
991 target_rusage->ru_utime.tv_sec = tswapal(rusage->ru_utime.tv_sec); in host_to_target_rusage()
992 target_rusage->ru_utime.tv_usec = tswapal(rusage->ru_utime.tv_usec); in host_to_target_rusage()
993 target_rusage->ru_stime.tv_sec = tswapal(rusage->ru_stime.tv_sec); in host_to_target_rusage()
994 target_rusage->ru_stime.tv_usec = tswapal(rusage->ru_stime.tv_usec); in host_to_target_rusage()
995 target_rusage->ru_maxrss = tswapal(rusage->ru_maxrss); in host_to_target_rusage()
996 target_rusage->ru_ixrss = tswapal(rusage->ru_ixrss); in host_to_target_rusage()
997 target_rusage->ru_idrss = tswapal(rusage->ru_idrss); in host_to_target_rusage()
998 target_rusage->ru_isrss = tswapal(rusage->ru_isrss); in host_to_target_rusage()
[all …]
H A Dsyscall_defs.h409 struct target_rusage { struct