Home
last modified time | relevance | path

Searched refs:target_st (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/bsd-user/freebsd/
H A Dos-stat.c29 struct target_freebsd11_stat *target_st; in h2t_freebsd11_stat() local
31 if (!lock_user_struct(VERIFY_WRITE, target_st, target_addr, 0)) { in h2t_freebsd11_stat()
34 memset(target_st, 0, sizeof(*target_st)); in h2t_freebsd11_stat()
35 __put_user(host_st->st_dev, &target_st->st_dev); in h2t_freebsd11_stat()
36 __put_user(host_st->st_ino, &target_st->st_ino); in h2t_freebsd11_stat()
37 __put_user(host_st->st_mode, &target_st->st_mode); in h2t_freebsd11_stat()
38 __put_user(host_st->st_nlink, &target_st->st_nlink); in h2t_freebsd11_stat()
39 __put_user(host_st->st_uid, &target_st->st_uid); in h2t_freebsd11_stat()
40 __put_user(host_st->st_gid, &target_st->st_gid); in h2t_freebsd11_stat()
41 __put_user(host_st->st_rdev, &target_st->st_rdev); in h2t_freebsd11_stat()
[all …]
/openbmc/qemu/linux-user/
H A Dsyscall.c7626 struct target_eabi_stat64 *target_st; in host_to_target_stat64() local
7628 if (!lock_user_struct(VERIFY_WRITE, target_st, target_addr, 0)) in host_to_target_stat64()
7630 memset(target_st, 0, sizeof(struct target_eabi_stat64)); in host_to_target_stat64()
7631 __put_user(host_st->st_dev, &target_st->st_dev); in host_to_target_stat64()
7632 __put_user(host_st->st_ino, &target_st->st_ino); in host_to_target_stat64()
7634 __put_user(host_st->st_ino, &target_st->__st_ino); in host_to_target_stat64()
7636 __put_user(host_st->st_mode, &target_st->st_mode); in host_to_target_stat64()
7637 __put_user(host_st->st_nlink, &target_st->st_nlink); in host_to_target_stat64()
7638 __put_user(host_st->st_uid, &target_st->st_uid); in host_to_target_stat64()
7639 __put_user(host_st->st_gid, &target_st->st_gid); in host_to_target_stat64()
[all …]