Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 2469) sorted by relevance

12345678910>>...99

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c51 static ssize_t fd2name(int fd, char *buf, size_t bufsize) in fd2name()
57 size = snprintf(buf1, PATH_MAX, "/proc/self/fd/%d", fd); in fd2name()
59 printf("snprintf(%d) failed on %m\n", fd); in fd2name()
77 int r, fd; in mfd_assert_new()
79 fd = sys_memfd_create(name, flags); in mfd_assert_new()
80 if (fd < 0) { in mfd_assert_new()
86 r = ftruncate(fd, sz); in mfd_assert_new()
92 return fd; in mfd_assert_new()
97 int fd in sysctl_assert_write()
50 fd2name(int fd,char * buf,size_t bufsize) fd2name() argument
76 int r, fd; mfd_assert_new() local
96 int fd = open("/proc/sys/vm/memfd_noexec", O_WRONLY | O_CLOEXEC); sysctl_assert_write() local
111 int fd = open("/proc/sys/vm/memfd_noexec", O_WRONLY | O_CLOEXEC); sysctl_fail_write() local
128 int fd = open("/proc/sys/vm/memfd_noexec", O_RDONLY | O_CLOEXEC); sysctl_assert_equal() local
154 int fd; mfd_assert_reopen_fd() local
181 mfd_assert_get_seals(int fd) mfd_assert_get_seals() argument
194 mfd_assert_has_seals(int fd,unsigned int seals) mfd_assert_has_seals() argument
208 mfd_assert_add_seals(int fd,unsigned int seals) mfd_assert_add_seals() argument
221 mfd_fail_add_seals(int fd,unsigned int seals) mfd_fail_add_seals() argument
240 mfd_assert_size(int fd,size_t size) mfd_assert_size() argument
256 mfd_assert_dup(int fd) mfd_assert_dup() argument
269 mfd_assert_mmap_shared(int fd) mfd_assert_mmap_shared() argument
287 mfd_assert_mmap_private(int fd) mfd_assert_mmap_private() argument
305 mfd_assert_open(int fd,int flags,mode_t mode) mfd_assert_open() argument
320 mfd_fail_open(int fd,int flags,mode_t mode) mfd_fail_open() argument
333 mfd_assert_read(int fd) mfd_assert_read() argument
373 mfd_assert_read_shared(int fd) mfd_assert_read_shared() argument
391 mfd_assert_fork_private_write(int fd) mfd_assert_fork_private_write() argument
425 mfd_assert_write(int fd) mfd_assert_write() argument
505 mfd_fail_write(int fd) mfd_fail_write() argument
570 mfd_assert_shrink(int fd) mfd_assert_shrink() argument
590 mfd_fail_shrink(int fd) mfd_fail_shrink() argument
605 mfd_assert_grow(int fd) mfd_assert_grow() argument
629 mfd_fail_grow(int fd) mfd_fail_grow() argument
649 mfd_assert_grow_write(int fd) mfd_assert_grow_write() argument
673 mfd_fail_grow_write(int fd) mfd_fail_grow_write() argument
695 mfd_assert_mode(int fd,int mode) mfd_assert_mode() argument
715 mfd_assert_chmod(int fd,int mode) mfd_assert_chmod() argument
730 mfd_fail_chmod(int fd,int mode) mfd_fail_chmod() argument
827 int fd; test_create() local
876 int fd; test_basic() local
928 int fd; test_seal_write() local
954 int fd, fd2; test_seal_future_write() local
994 int fd; test_seal_shrink() local
1020 int fd; test_seal_grow() local
1046 int fd; test_seal_resize() local
1073 int fd; test_exec_seal() local
1123 int fd; test_exec_no_seal() local
1142 int fd; test_noexec_seal() local
1167 int fd; test_sysctl_sysctl0() local
1188 int fd; test_sysctl_sysctl1() local
1225 int fd; test_sysctl_sysctl2() local
1257 int fd; sysctl_simple_child() local
1324 int fd; sysctl_nested_child() local
1427 int fd, fd2; test_share_dup() local
1468 int fd; test_share_mmap() local
1503 int fd, fd2; test_share_open() local
1545 int fd; test_share_fork() local
[all...]
/openbmc/qemu/target/loongarch/tcg/
H A Dfpu_helper.c88 uint64_t fd; in helper_fadd_s() local
90 fd = nanbox_s(float32_add((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fadd_s()
92 return fd; in helper_fadd_s()
97 uint64_t fd; in helper_fadd_d() local
99 fd = float64_add(fj, fk, &env->fp_status); in helper_fadd_d()
101 return fd; in helper_fadd_d()
106 uint64_t fd; in helper_fsub_s() local
108 fd = nanbox_s(float32_sub((uint32_t)fj, (uint32_t)fk, &env->fp_status)); in helper_fsub_s()
110 return fd; in helper_fsub_s()
115 uint64_t fd; in helper_fsub_d() local
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-fractional-divider.c53 static inline u32 clk_fd_readl(struct clk_fractional_divider *fd) in clk_fd_readl() argument
55 if (fd->flags & CLK_FRAC_DIVIDER_BIG_ENDIAN) in clk_fd_readl()
56 return ioread32be(fd->reg); in clk_fd_readl()
58 return readl(fd->reg); in clk_fd_readl()
61 static inline void clk_fd_writel(struct clk_fractional_divider *fd, u32 val) in clk_fd_writel() argument
63 if (fd->flags & CLK_FRAC_DIVIDER_BIG_ENDIAN) in clk_fd_writel()
64 iowrite32be(val, fd->reg); in clk_fd_writel()
66 writel(val, fd->reg); in clk_fd_writel()
71 struct clk_fractional_divider *fd = to_clk_fd(hw); in clk_fd_get_div() local
77 if (fd->lock) in clk_fd_get_div()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-util-sockets.c30 int fd = mkstemp(tmp); in test_fd_is_socket_bad() local
31 if (fd != 0) { in test_fd_is_socket_bad()
36 g_assert(fd >= 0); in test_fd_is_socket_bad()
38 g_assert(!fd_is_socket(fd)); in test_fd_is_socket_bad()
39 close(fd); in test_fd_is_socket_bad()
44 int fd = qemu_socket(PF_INET, SOCK_STREAM, 0); in test_fd_is_socket_good() local
46 g_assert(fd >= 0); in test_fd_is_socket_good()
48 g_assert(fd_is_socket(fd)); in test_fd_is_socket_good()
49 close(fd); in test_fd_is_socket_good()
82 int fd; in test_socket_fd_pass_name_good() local
[all …]
/openbmc/linux/tools/perf/tests/
H A Dwp.c16 #define WP_TEST_ASSERT_VAL(fd, text, val) \ argument
19 wp_read(fd, &count, sizeof(long long)); \
27 static int wp_read(int fd, long long *count, int size) in wp_read() argument
29 int ret = read(fd, count, size); in wp_read()
56 int fd; in __event() local
60 fd = sys_perf_event_open(&attr, 0, -1, -1, in __event()
62 if (fd < 0) { in __event()
63 fd = -errno; in __event()
67 return fd; in __event()
77 int fd; in test__wp_ro()
[all …]
/openbmc/linux/fs/hfsplus/
H A Dbfind.c15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init() argument
19 fd->tree = tree; in hfs_find_init()
20 fd->bnode = NULL; in hfs_find_init()
24 fd->search_key = ptr; in hfs_find_init()
25 fd->key = ptr + tree->max_key_len + 2; in hfs_find_init()
33 void hfs_find_exit(struct hfs_find_data *fd) in hfs_find_exit() argument
35 hfs_bnode_put(fd->bnode); in hfs_find_exit()
36 kfree(fd->search_key); in hfs_find_exit()
38 fd->tree->cnid, __builtin_return_address(0)); in hfs_find_exit()
39 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
[all …]
/openbmc/linux/fs/hfs/
H A Dbfind.c15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init() argument
19 fd->tree = tree; in hfs_find_init()
20 fd->bnode = NULL; in hfs_find_init()
24 fd->search_key = ptr; in hfs_find_init()
25 fd->key = ptr + tree->max_key_len + 2; in hfs_find_init()
44 void hfs_find_exit(struct hfs_find_data *fd) in hfs_find_exit() argument
46 hfs_bnode_put(fd->bnode); in hfs_find_exit()
47 kfree(fd->search_key); in hfs_find_exit()
49 fd->tree->cnid, __builtin_return_address(0)); in hfs_find_exit()
50 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
[all …]
/openbmc/phosphor-power/test/
H A Dfile_descriptor_tests.cpp36 bool isValid(int fd) in isValid() argument
38 return (fcntl(fd, F_GETFL) != -1) || (errno != EBADF); in isValid()
50 int fd = open("/etc/hosts", O_RDONLY); in createOpenFileDescriptor() local
51 EXPECT_NE(fd, -1); in createOpenFileDescriptor()
52 EXPECT_TRUE(isValid(fd)); in createOpenFileDescriptor()
53 return fd; in createOpenFileDescriptor()
65 int fd = createOpenFileDescriptor(); in TEST() local
66 FileDescriptor descriptor{fd}; in TEST()
67 EXPECT_EQ(descriptor(), fd); in TEST()
69 EXPECT_TRUE(isValid(fd)); in TEST()
[all …]
/openbmc/linux/tools/testing/vsock/
H A Dvsock_test.c40 int fd; in test_stream_connection_reset() local
42 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_stream_connection_reset()
46 ret = connect(fd, &addr.sa, sizeof(addr.svm)); in test_stream_connection_reset()
60 close(fd); in test_stream_connection_reset()
76 int fd; in test_stream_bind_only_client() local
81 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_stream_bind_only_client()
85 ret = connect(fd, &addr.sa, sizeof(addr.svm)); in test_stream_bind_only_client()
102 close(fd); in test_stream_bind_only_client()
117 int fd; in test_stream_bind_only_server() local
119 fd = socket(AF_VSOCK, SOCK_STREAM, 0); in test_stream_bind_only_server()
[all …]
/openbmc/linux/include/linux/
H A Dfile.h36 struct fd { struct
43 static inline void fdput(struct fd fd) in fdput() argument
45 if (fd.flags & FDPUT_FPUT) in fdput()
46 fput(fd.file); in fdput()
49 extern struct file *fget(unsigned int fd);
50 extern struct file *fget_raw(unsigned int fd);
51 extern struct file *fget_task(struct task_struct *task, unsigned int fd);
52 extern unsigned long __fdget(unsigned int fd);
53 extern unsigned long __fdget_raw(unsigned int fd);
54 extern unsigned long __fdget_pos(unsigned int fd);
[all …]
/openbmc/linux/drivers/scsi/
H A Dfdomain.c123 static inline void fdomain_make_bus_idle(struct fdomain *fd) in fdomain_make_bus_idle() argument
125 outb(0, fd->base + REG_BCTL); in fdomain_make_bus_idle()
126 outb(0, fd->base + REG_MCTL); in fdomain_make_bus_idle()
127 if (fd->chip == tmc18c50 || fd->chip == tmc18c30) in fdomain_make_bus_idle()
130 fd->base + REG_ACTL); in fdomain_make_bus_idle()
132 outb(ACTL_RESET | PARITY_MASK, fd->base + REG_ACTL); in fdomain_make_bus_idle()
186 struct fdomain *fd = shost_priv(sh); in fdomain_select() local
188 outb(BCTL_BUSEN | BCTL_SEL, fd->base + REG_BCTL); in fdomain_select()
189 outb(BIT(sh->this_id) | BIT(target), fd->base + REG_SCSI_DATA_NOACK); in fdomain_select()
192 outb(PARITY_MASK, fd->base + REG_ACTL); in fdomain_select()
[all …]
/openbmc/linux/tools/testing/selftests/wireguard/qemu/
H A Dinit.c61 int bits = 256, fd; in seed_rng() local
66 fd = open("/dev/random", O_WRONLY); in seed_rng()
67 if (fd < 0) in seed_rng()
69 if (ioctl(fd, RNDADDTOENTCNT, &bits) < 0) in seed_rng()
71 close(fd); in seed_rng()
112 int fd; in enable_logging() local
114 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging()
115 if (fd >= 0) { in enable_logging()
116 if (write(fd, "9\n", 2) != 2) in enable_logging()
118 close(fd); in enable_logging()
[all …]
/openbmc/qemu/net/
H A Dtap-bsd.c41 int fd; in tap_open() local
59 fd = RETRY_ON_EINTR(open(dname, O_RDWR)); in tap_open()
60 if (fd >= 0) { in tap_open()
70 if (fd < 0) { in tap_open()
76 if (ioctl(fd, TAPGIFNAME, (void *)&ifr) < 0) { in tap_open()
82 if (fstat(fd, &s) < 0) { in tap_open()
97 close(fd); in tap_open()
101 g_unix_set_fd_nonblocking(fd, true, NULL); in tap_open()
102 return fd; in tap_open()
111 int fd, s, ret; in tap_open_clone() local
[all …]
H A Dsocket.c39 int fd; member
53 qemu_set_fd_handler(s->fd, in net_socket_update_fd_handler()
97 ret = iov_send(s->fd, iov, 2, s->send_index, remaining); in net_socket_receive()
122 sendto(s->fd, buf, size, 0, in net_socket_receive_dgram()
125 send(s->fd, buf, size, 0) in net_socket_receive_dgram()
163 size = recv(s->fd, buf1, sizeof(buf1), 0); in net_socket_send()
175 close(s->fd); in net_socket_send()
177 s->fd = -1; in net_socket_send()
198 size = recv(s->fd, s->rs.buf, sizeof(s->rs.buf), 0); in net_socket_send_dgram()
218 int fd; in net_socket_mcast_create() local
[all …]
H A Dtap-linux.c44 int fd, ret; in tap_open() local
48 fd = RETRY_ON_EINTR(open(PATH_NET_TUN, O_RDWR)); in tap_open()
49 if (fd < 0) { in tap_open()
56 if (ioctl(fd, TUNGETFEATURES, &features) == -1) { in tap_open()
76 close(fd); in tap_open()
85 ioctl(fd, TUNSETVNETHDRSZ, &len); in tap_open()
92 close(fd); in tap_open()
103 ret = ioctl(fd, TUNSETIFF, (void *) &ifr); in tap_open()
112 close(fd); in tap_open()
116 g_unix_set_fd_nonblocking(fd, true, NULL); in tap_open()
[all …]
/openbmc/linux/fs/
H A Dfile.c36 kvfree(fdt->fd); in __free_fdtable()
80 memcpy(nfdt->fd, ofdt->fd, cpy); in copy_fdtable()
81 memset((char *)nfdt->fd + cpy, 0, set); in copy_fdtable()
135 fdt->fd = data; in alloc_fdtable()
151 kvfree(fdt->fd); in alloc_fdtable()
245 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec() argument
247 __set_bit(fd, fdt->close_on_exec); in __set_close_on_exec()
250 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec() argument
252 if (test_bit(fd, fdt->close_on_exec)) in __clear_close_on_exec()
253 __clear_bit(fd, fdt->close_on_exec); in __clear_close_on_exec()
[all …]
/openbmc/qemu/linux-user/
H A Dfd-trans.h39 static inline TargetFdDataFunc fd_trans_target_to_host_data(int fd) in fd_trans_target_to_host_data() argument
41 if (fd < 0) { in fd_trans_target_to_host_data()
46 if (fd < target_fd_max && target_fd_trans[fd]) { in fd_trans_target_to_host_data()
47 return target_fd_trans[fd]->target_to_host_data; in fd_trans_target_to_host_data()
52 static inline TargetFdDataFunc fd_trans_host_to_target_data(int fd) in fd_trans_host_to_target_data() argument
54 if (fd < 0) { in fd_trans_host_to_target_data()
59 if (fd < target_fd_max && target_fd_trans[fd]) { in fd_trans_host_to_target_data()
60 return target_fd_trans[fd]->host_to_target_data; in fd_trans_host_to_target_data()
65 static inline TargetFdAddrFunc fd_trans_target_to_host_addr(int fd) in fd_trans_target_to_host_addr() argument
67 if (fd < 0) { in fd_trans_target_to_host_addr()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_maps.c40 int fd; in test_hashmap() local
42 fd = bpf_map_create(BPF_MAP_TYPE_HASH, NULL, sizeof(key), sizeof(value), 2, &map_opts); in test_hashmap()
43 if (fd < 0) { in test_hashmap()
51 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); in test_hashmap()
55 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) < 0 && in test_hashmap()
60 assert(bpf_map_update_elem(fd, &key, &value, -1) < 0 && in test_hashmap()
64 assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && value == 1234); in test_hashmap()
69 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); in test_hashmap()
72 assert(bpf_map_lookup_and_delete_elem(fd, &key, &value) == 0 && value == 1234); in test_hashmap()
75 assert(bpf_map_lookup_elem(fd, &key, &value) < 0 && errno == ENOENT); in test_hashmap()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel_mgr.c48 static int flowlabel_get(int fd, uint32_t label, uint8_t share, uint16_t flags) in flowlabel_get() argument
61 return setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req)); in flowlabel_get()
64 static int flowlabel_put(int fd, uint32_t label) in flowlabel_put() argument
71 return setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req)); in flowlabel_put()
74 static void run_tests(int fd) in run_tests() argument
80 expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY, 0)); in run_tests()
83 expect_fail(flowlabel_put(fd, 1)); in run_tests()
86 expect_fail(flowlabel_get(fd, 0x1FFFFF, IPV6_FL_S_ANY, in run_tests()
90 expect_pass(flowlabel_get(fd, 1, IPV6_FL_S_ANY, IPV6_FL_F_CREATE)); in run_tests()
92 expect_pass(flowlabel_get(fd, 1, IPV6_FL_S_ANY, 0)); in run_tests()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dgup_longterm.c38 static __fsword_t get_fs_type(int fd) in get_fs_type() argument
44 ret = fstatfs(fd, &fs); in get_fs_type()
91 static void do_test(int fd, size_t size, enum test_type type, bool shared) in do_test() argument
93 __fsword_t fs_type = get_fs_type(fd); in do_test()
98 if (ftruncate(fd, size)) { in do_test()
103 if (fallocate(fd, 0, 0, size)) { in do_test()
112 shared ? MAP_SHARED : MAP_PRIVATE, fd, 0); in do_test()
234 typedef void (*test_fn)(int fd, size_t size);
238 int fd; in run_with_memfd() local
242 fd = memfd_create("test", 0); in run_with_memfd()
[all …]
/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c31 int fd; in writeat() local
33 fd = openat(dfd, fn, O_WRONLY); in writeat()
34 if (fd == -1) in writeat()
36 res = write(fd, val, val_len); in writeat()
38 close(fd); in writeat()
207 int fd; in FIXTURE() local
213 self->fd = -1; in FIXTURE_SETUP()
226 teardown_iommufd(self->fd, _metadata); in FIXTURE_TEARDOWN()
238 self->fd = open("/dev/iommu", O_RDWR); in TEST_FAIL_NTH()
239 if (self->fd == -1) in TEST_FAIL_NTH()
[all …]
/openbmc/linux/fs/jffs2/
H A Dbuild.c56 struct jffs2_full_dirent *fd; in jffs2_build_inode_pass1() local
61 for(fd = ic->scan_dents; fd; fd = fd->next) { in jffs2_build_inode_pass1()
63 if (!fd->ino) in jffs2_build_inode_pass1()
68 child_ic = jffs2_get_ino_cache(c, fd->ino); in jffs2_build_inode_pass1()
71 fd->name, fd->ino, ic->ino); in jffs2_build_inode_pass1()
72 jffs2_mark_node_obsolete(c, fd->raw); in jffs2_build_inode_pass1()
74 fd->ic = NULL; in jffs2_build_inode_pass1()
79 fd->ic = child_ic; in jffs2_build_inode_pass1()
83 if (fd->type == DT_DIR) { in jffs2_build_inode_pass1()
89 dbg_fsbuild("increased nlink for child \"%s\" (ino #%u)\n", fd->name, fd->ino); in jffs2_build_inode_pass1()
[all …]
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c43 int os_stat_fd(const int fd, struct uml_stat *ubuf) in os_stat_fd() argument
48 CATCH_EINTR(err = fstat64(fd, &sbuf)); in os_stat_fd()
88 int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg) in os_ioctl_generic() argument
92 err = ioctl(fd, cmd, arg); in os_ioctl_generic()
100 int os_get_ifname(int fd, char* namebuf) in os_get_ifname() argument
102 if (ioctl(fd, SIOCGIFNAME, namebuf) < 0) in os_get_ifname()
108 int os_set_slip(int fd) in os_set_slip() argument
113 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
117 if (ioctl(fd, SIOCSIFENCAP, &sencap) < 0) in os_set_slip()
123 int os_mode_fd(int fd, int mode) in os_mode_fd() argument
[all …]
/openbmc/gpioplus/src/gpioplus/internal/
H A Dfd.cpp16 sys(sys), fd(sys->open(pathname, flags)) in Fd()
18 if (fd < 0) in Fd()
26 int fd = sys->dup(oldfd); in dup() local
27 if (fd < 0) in dup()
31 return fd; in dup()
34 Fd::Fd(int fd, const Sys* sys) : sys(sys), fd(dup(fd, sys)) {} in Fd() argument
36 Fd::Fd(int fd, std::false_type, const Sys* sys) : sys(sys), fd(fd) {} in Fd() argument
50 Fd::Fd(const Fd& other) : sys(other.sys), fd(dup(other.fd, sys)) {} in Fd()
58 fd = dup(other.fd, sys); in operator =()
63 Fd::Fd(Fd&& other) : sys(other.sys), fd(std::move(other.fd)) in Fd()
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86hvf.c80 if (hv_vcpu_write_fpstate(cs->accel->fd, xsave, xsave_len)) { in hvf_put_xsave()
90 wvmcs(cs->accel->fd, VMCS_GUEST_IDTR_LIMIT, env->idt.limit); in hvf_put_segments()
91 wvmcs(cs->accel->fd, VMCS_GUEST_IDTR_BASE, env->idt.base); in hvf_put_segments()
93 wvmcs(cs->accel->fd, VMCS_GUEST_GDTR_LIMIT, env->gdt.limit); in hvf_put_segments()
94 wvmcs(cs->accel->fd, VMCS_GUEST_GDTR_BASE, env->gdt.base); in hvf_put_segments()
97 wvmcs(cs->accel->fd, VMCS_GUEST_CR3, env->cr[3]); in hvf_put_segments()
99 wvmcs(cs->accel->fd, VMCS_GUEST_IA32_EFER, env->efer); in hvf_put_segments()
101 macvm_set_cr4(cs->accel->fd, env->cr[4]); in hvf_put_segments()
102 macvm_set_cr0(cs->accel->fd, env->cr[0]); in hvf_put_segments()
133 hv_vcpu_write_msr(cs->accel->fd, MSR_IA32_SYSENTER_CS, in hvf_put_msrs()
[all …]

12345678910>>...99