Home
last modified time | relevance | path

Searched refs:to_host (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/filesystems/umount_propagation/
H A Dlocked_mount_test.c203 static int automount_child(const char *base, int dfd, int to_host, int from_host) in automount_child() argument
212 if (send_byte(to_host) || wait_byte(from_host)) in automount_child()
223 int to_host[2], from_host[2], dfd, ret; in TEST_F() local
234 ASSERT_EQ(pipe(to_host), 0); in TEST_F()
240 _exit(automount_child(self->base, dfd, to_host[1], from_host[0])); in TEST_F()
242 ASSERT_EQ(wait_byte(to_host[0]), 0); in TEST_F()
398 static int propagation_child(const char *base, int to_host, int from_host) in propagation_child() argument
410 if (send_byte(to_host) || wait_byte(from_host)) in propagation_child()
420 int to_host[2], from_host[2], ret; in TEST_F() local
432 ASSERT_EQ(pipe(to_host), 0); in TEST_F()
[all …]
/linux/drivers/usb/usbip/
H A Dvudc_transfer.c193 int is_short, to_host; in transfer() local
208 to_host = usb_pipein(urb->pipe); in transfer()
247 } else if (to_host) { in transfer()
265 if (req->req.zero && to_host) in transfer()
272 !to_host) in transfer()
/linux/drivers/usb/mtu3/
H A Dmtu3_dr.h96 void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host);
111 static inline void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_switch() argument
/linux/tools/virtio/
H A Dvringh_test.c142 int pipe_ret, fd, mapsize, to_guest[2], to_host[2]; in parallel_test() local
172 pipe_ret = pipe(to_host); in parallel_test()
194 close(to_host[1]); in parallel_test()
251 if (read(to_host[0], buf, sizeof(buf)) < 1) in parallel_test()
315 close(to_host[0]); in parallel_test()
320 gvdev.to_host_fd = to_host[1]; in parallel_test()
/linux/drivers/nvme/target/
H A Dconfigfs.c1224 host = to_host(target); in nvmet_subsys_attr_allow_any_host_store()
1257 struct nvmet_host *host = to_host(target); in nvmet_subsys_attr_version_show()
2241 dhchap_secret = to_host(item)->dhchap_secret;
2253 struct nvmet_host *host = to_host(item); in nvmet_host_release()
2270 u8 *dhchap_secret = to_host(item)->dhchap_ctrl_secret;
2274 dhchap_secret = to_host(item)->dhchap_ctrl_secret;
2286 struct nvmet_host *host = to_host(item); in nvmet_hosts_make_group()
2303 struct nvmet_host *host = to_host(item);
2312 struct nvmet_host *host = to_host(item); in nvmet_root_discovery_nqn_store()
2327 struct nvmet_host *host = to_host(ite in nvmet_root_discovery_nqn_store()
[all...]
H A Dnvmet.h412 static inline struct nvmet_host *to_host(struct config_item *item)
396 static inline struct nvmet_host *to_host(struct config_item *item) to_host() function
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c1399 int to_host; in dummy_perform_transfer()
1405 to_host = usb_urb_dir_in(urb); in dummy_perform_transfer()
1410 if (to_host) in dummy_perform_transfer()
1420 if (to_host) in dummy_perform_transfer()
1439 if (to_host) in transfer()
1472 int is_short, to_host; in transfer()
1493 to_host = usb_urb_dir_in(urb); in transfer()
1538 } else if (to_host) { in transfer()
1558 if (req->req.zero && to_host) in transfer()
1565 !to_host) in transfer()
1371 int to_host; dummy_perform_transfer() local
1444 int is_short, to_host; transfer() local
[all...]
/linux/drivers/iommu/
H A Dfsl_pamu.h277 } to_host; member