Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 1370) sorted by relevance

12345678910>>...55

/Linux-v4.19/arch/um/drivers/
Dharddog_user.c24 close(data->stdin_fd); in pre_exec()
25 close(data->stdout_fd); in pre_exec()
26 close(data->close_me[0]); in pre_exec()
27 close(data->close_me[1]); in pre_exec()
69 close(out_fds[0]); in start_watchdog()
70 close(in_fds[1]); in start_watchdog()
97 close(in_fds[0]); in start_watchdog()
98 close(in_fds[1]); in start_watchdog()
100 close(out_fds[0]); in start_watchdog()
101 close(out_fds[1]); in start_watchdog()
[all …]
Dslip_user.c71 close(data->close_me); in slip_pre_exec()
106 close(fds[1]); in slip_tramp()
111 close(fds[0]); in slip_tramp()
117 close(fds[0]); in slip_tramp()
118 close(fds[1]); in slip_tramp()
183 close(sfd); in slip_open()
185 close(mfd); in slip_open()
207 close(fd); in slip_close()
208 close(pri->slave); in slip_close()
245 .close = slip_close,
Dport_user.c102 .close = port_close,
145 close(fd); in port_listen_fd()
161 close(data->sock_fd); in port_pre_exec()
164 close(data->pipe_fd); in port_pre_exec()
195 close(socket[0]); in port_connection()
197 close(socket[1]); in port_connection()
199 close(new); in port_connection()
Dslirp_user.c72 close(fds[0]); in slirp_open()
73 close(fds[1]); in slirp_open()
82 close(fd); in slirp_close()
83 close(pri->slave); in slirp_close()
119 .close = slirp_close,
/Linux-v4.19/tools/lib/subcmd/
Drun-command.c18 close(fd[0]); in close_pair()
19 close(fd[1]); in close_pair()
26 close(fd); in dup_devnull()
44 close(cmd->out); in start_command()
58 close(cmd->in); in start_command()
70 close(cmd->in); in start_command()
74 close(cmd->out); in start_command()
90 close(cmd->in); in start_command()
109 close(cmd->out); in start_command()
138 close(cmd->in); in start_command()
[all …]
/Linux-v4.19/Documentation/media/uapi/cec/
Dcec-func-close.rst3 .. _cec-func-close:
6 cec close()
12 cec-close - Close a cec device
23 .. c:function:: int close( int fd )
24 :name: cec-close
43 :c:func:`close() <cec-close>` returns 0 on success. On error, -1 is returned, and
/Linux-v4.19/Documentation/media/uapi/mediactl/
Dmedia-func-close.rst3 .. _media-func-close:
6 media close()
12 media-close - Close a media device
23 .. c:function:: int close( int fd )
24 :name: mc-close
43 :ref:`close() <media-func-close>` returns 0 on success. On error, -1 is returned, and
/Linux-v4.19/arch/um/os-Linux/drivers/
Dethertap_user.c87 close(data->data_me); in etap_pre_exec()
88 close(data->control_me); in etap_pre_exec()
121 close(data_remote); in etap_tramp()
122 close(control_remote); in etap_tramp()
188 close(control_fds[0]); in etap_open()
189 close(control_fds[1]); in etap_open()
191 close(data_fds[0]); in etap_open()
192 close(data_fds[1]); in etap_open()
201 close(fd); in etap_close()
211 close(pri->data_fd); in etap_close()
[all …]
/Linux-v4.19/samples/bpf/
Dtest_overhead_user.c51 close(fd); in test_task_rename()
57 close(fd); in test_task_rename()
75 close(fd); in test_urandom_read()
81 close(fd); in test_urandom_read()
123 close(prog_fd[0]); in unload_progs()
124 close(prog_fd[1]); in unload_progs()
125 close(event_fd[0]); in unload_progs()
126 close(event_fd[1]); in unload_progs()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dfunc-close.rst3 .. _func-close:
6 V4L2 close()
12 v4l2-close - Close a V4L2 device
23 .. c:function:: int close( int fd )
24 :name: v4l2-close
/Linux-v4.19/tools/testing/selftests/net/
Dreuseport_dualstack.c99 close(fd); in send_from_v4()
117 close(fd); in receive_once()
155 close(epfd); in test()
167 close(rcv_fds[i]); in main()
174 close(rcv_fds[i]); in main()
184 close(rcv_fds[i]); in main()
191 close(rcv_fds[i]); in main()
198 close(rcv_fds[i]); in main()
205 close(rcv_fds[i]); in main()
Dpsock_fanout.c102 if (close(fd)) { in sock_fanout_open()
184 if (close(pfd)) { in sock_fanout_set_ebpf()
297 if (close(fds[1]) || close(fds[0])) { in test_control_group()
352 if (close(fds[0]) || close(fds[1]) || close(fds[2])) { in test_unique_fanout_group_ids()
401 if (close(fds_udp[1][1]) || close(fds_udp[1][0]) || in test_datapath()
402 close(fds_udp[0][1]) || close(fds_udp[0][0]) || in test_datapath()
403 close(fds[1]) || close(fds[0])) { in test_datapath()
/Linux-v4.19/tools/testing/selftests/memfd/
Dmemfd_test.c65 close(r); in mfd_fail_new()
417 close(fd2); in mfd_assert_shrink()
595 close(fd); in test_create()
606 close(fd); in test_create()
610 close(fd); in test_create()
614 close(fd); in test_create()
655 close(fd); in test_basic()
666 close(fd); in test_basic()
692 close(fd); in test_seal_write()
718 close(fd); in test_seal_shrink()
[all …]
/Linux-v4.19/tools/bpf/bpftool/
Dcgroup.c73 close(prog_fd); in show_bpf_prog()
94 close(prog_fd); in show_bpf_prog()
191 close(cgroup_fd); in do_show()
225 close(cgroup_fd); in do_show_tree_fn()
235 close(cgroup_fd); in do_show_tree_fn()
256 close(cgroup_fd); in do_show_tree_fn()
386 close(prog_fd); in do_attach()
388 close(cgroup_fd); in do_attach()
433 close(prog_fd); in do_detach()
435 close(cgroup_fd); in do_detach()
/Linux-v4.19/tools/testing/selftests/efivarfs/
Dopen-unlink.c27 close(fd); in set_immutable()
39 close(fd); in set_immutable()
58 close(fd); in get_immutable()
62 close(fd); in get_immutable()
101 close(fd); in main()
/Linux-v4.19/Documentation/media/uapi/dvb/
Daudio-fclose.rst6 Digital TV audio close()
12 Digital TV audio close()
19 .. c:function:: int close(int fd)
20 :name: dvb-audio-close
Dca-fclose.rst6 Digital TV CA close()
12 Digital TV CA close()
18 .. c:function:: int close(int fd)
19 :name: dvb-ca-close
Ddmx-fclose.rst6 Digital TV demux close()
12 Digital TV demux close()
18 .. c:function:: int close(int fd)
19 :name: dvb-dmx-close
Dfrontend_f_close.rst6 Digital TV frontend close()
12 fe-close - Close a frontend device
23 .. c:function:: int close( int fd )
24 :name: dvb-fe-close
/Linux-v4.19/tools/testing/selftests/android/ion/
Dionmap_test.c51 close(fd); in open_vgem()
78 struct drm_gem_close close = { 0 }; in close_handle() local
80 close.handle = handle; in close_handle()
81 ioctl(vgem_fd, DRM_IOCTL_GEM_CLOSE, &close); in close_handle()
131 close(vgem_fd); in main()
/Linux-v4.19/tools/power/cpupower/utils/helpers/
Dmsr.c40 close(fd); in read_msr()
43 close(fd); in read_msr()
69 close(fd); in write_msr()
72 close(fd); in write_msr()
Dsysfs.c30 close(fd); in sysfs_read_file()
35 close(fd); in sysfs_read_file()
77 close(fd); in sysfs_is_cpu_online()
81 close(fd); in sysfs_is_cpu_online()
141 close(fd); in sysfs_idlestate_read_file()
146 close(fd); in sysfs_idlestate_read_file()
176 close(fd); in sysfs_idlestate_write_file()
180 close(fd); in sysfs_idlestate_write_file()
/Linux-v4.19/arch/um/os-Linux/
Dsigio.c159 close(sigio_private[0]); in update_thread()
160 close(sigio_private[1]); in update_thread()
161 close(write_sigio_fds[0]); in update_thread()
162 close(write_sigio_fds[1]); in update_thread()
332 close(l_sigio_private[0]); in write_sigio_workaround()
333 close(l_sigio_private[1]); in write_sigio_workaround()
335 close(l_write_sigio_fds[0]); in write_sigio_workaround()
336 close(l_write_sigio_fds[1]); in write_sigio_workaround()
483 close(master); in check_one_sigio()
484 close(slave); in check_one_sigio()
[all …]
Dmem.c134 goto close; in make_tempfile()
138 close: in make_tempfile()
139 close(fd); in make_tempfile()
201 close(fd); in check_tmpexec()
209 close(fd); in check_tmpexec()
/Linux-v4.19/tools/testing/selftests/nsfs/
Downer.c44 close(pfd[0]); in main()
45 close(pfd[1]); in main()
50 close(pfd[1]); in main()
53 close(pfd[0]); in main()

12345678910>>...55