/systemd-251/src/test/ |
D | test-bpf-devices.c | 40 _cleanup_close_ int fd, fd2; in test_policy_closed() 77 _cleanup_close_ int fd, fd2; in test_policy_strict() 90 _cleanup_close_ int fd, fd2; in test_policy_strict() 103 _cleanup_close_ int fd, fd2; in test_policy_strict() 116 _cleanup_close_ int fd, fd2; in test_policy_strict() 149 _cleanup_close_ int fd, fd2; in test_policy_allow_list_major() 162 _cleanup_close_ int fd, fd2; in test_policy_allow_list_major() 175 _cleanup_close_ int fd, fd2; in test_policy_allow_list_major() 207 _cleanup_close_ int fd; in test_policy_allow_list_major_star() 240 _cleanup_close_ int fd; in test_policy_empty()
|
D | test-socket-util.c | 241 _cleanup_close_ int tmpfd = open(tmpfile, O_RDONLY); in TEST() 252 _cleanup_close_ int fd = -1; in TEST() 285 _cleanup_close_ int tmpfd = open(tmpfile, O_RDONLY); in TEST() 296 _cleanup_close_ int fd = -1; in TEST() 421 …_cleanup_close_ int listen_stream = -1, listen_dgram = -1, listen_seqpacket = 1, connect_stream = … in TEST() 491 _cleanup_close_ int fd1 = -1, fd2 = -1, fd3 = -1; in TEST()
|
D | test-stat-util.c | 46 _cleanup_close_ int fd = -1; in TEST() 66 _cleanup_close_ int fd = -1; in TEST() 128 _cleanup_close_ int fd = -1; in TEST()
|
D | test-xattr-util.c | 21 _cleanup_close_ int fd = -1; in TEST() 63 _cleanup_close_ int fd = -1; in TEST()
|
D | test-fileio.c | 144 _cleanup_close_ int fd = mkostemp_safe(p); in TEST() 207 _cleanup_close_ int fd = mkostemp_safe(p); in TEST() 431 _cleanup_close_ int fd; in TEST() 444 _cleanup_close_ int fd; in TEST() 529 _cleanup_close_ int fd = -1; in TEST() 577 _cleanup_close_ int fd = -1; in TEST() 614 _cleanup_close_ int fd = -1; in TEST() 881 _cleanup_close_ int listener = -1; in TEST() 908 _cleanup_close_ int rfd = -1; in TEST()
|
/systemd-251/src/basic/ |
D | sync-util.c | 12 _cleanup_close_ int dfd = -1; in fsync_directory_of_file() 89 _cleanup_close_ int opened_fd = -1; in fsync_path_at() 113 _cleanup_close_ int opened_fd = -1; in fsync_parent_at() 134 _cleanup_close_ int opened_fd = -1; in fsync_path_and_parent_at() 150 _cleanup_close_ int fd = -1; in syncfs_path()
|
D | chase-symlinks.c | 68 _cleanup_close_ int fd = -1; in chase_symlinks() 211 _cleanup_close_ int child = -1; in chase_symlinks() 232 _cleanup_close_ int fd_parent = -1; in chase_symlinks() 416 _cleanup_close_ int path_fd = -1; in chase_symlinks_and_open() 454 _cleanup_close_ int path_fd = -1; in chase_symlinks_and_opendir() 498 _cleanup_close_ int path_fd = -1; in chase_symlinks_and_stat() 541 _cleanup_close_ int fd = -1; in chase_symlinks_and_fopen_unlocked()
|
D | terminal-util.c | 57 _cleanup_close_ int fd = -1; in chvt() 304 _cleanup_close_ int fd = -1; in reset_terminal() 318 _cleanup_close_ int fd = -1; in open_terminal() 359 _cleanup_close_ int notify = -1, fd = -1; in acquire_terminal() 487 _cleanup_close_ int fd = -1; in release_terminal() 512 _cleanup_close_ int fd = -1; in terminal_vhangup() 534 _cleanup_close_ int fd = -1; in vt_disallocate() 564 _cleanup_close_ int fd2 = open_terminal(name, O_RDWR|O_NOCTTY|O_CLOEXEC); in vt_disallocate() 1087 _cleanup_close_ int fd = -1; in openpt_allocate() 1133 _cleanup_close_ int pidnsfd = -1, mntnsfd = -1, usernsfd = -1, rootfd = -1, fd = -1; in openpt_allocate_in_namespace() [all …]
|
D | tmpfile-util.c | 25 _cleanup_close_ int fd = -1; in fopen_temporary() 74 _cleanup_close_ int fd = -1; in fmkostemp_safe() 281 _cleanup_close_ int fd = -1; in fopen_tmpfile_linkable()
|
D | chattr-util.c | 23 _cleanup_close_ int fd_will_close = -1; in chattr_full() 152 _cleanup_close_ int fd = -1; in read_attr_path()
|
/systemd-251/src/shared/ |
D | install-file.c | 101 _cleanup_close_ int rofd = -1; in install_file() 121 _cleanup_close_ int pfd = -1; in install_file() 136 _cleanup_close_ int regfd = -1; in install_file() 161 _cleanup_close_ int dfd = -1; in install_file() 206 _cleanup_close_ int dfd = -1; in install_file()
|
D | btrfs-util.c | 89 _cleanup_close_ int fd = -1; in btrfs_is_subvol() 102 _cleanup_close_ int real_fd = -1; in btrfs_subvol_make_fd() 131 _cleanup_close_ int fd = -1; in btrfs_subvol_make() 196 _cleanup_close_ int fd = -1; in btrfs_subvol_set_read_only() 320 _cleanup_close_ int fd = -1; in btrfs_get_block_device() 355 _cleanup_close_ int subvol_fd = -1; in btrfs_subvol_get_id() 640 _cleanup_close_ int fd = -1; in btrfs_qgroup_get_quota() 733 _cleanup_close_ int fd = -1; in btrfs_subvol_get_subtree_quota() 743 _cleanup_close_ int fd = -1; in btrfs_defrag() 770 _cleanup_close_ int fd = -1; in btrfs_quota_enable() [all …]
|
D | loop-util.c | 151 _cleanup_close_ int lock_fd = -1; in loop_configure() 354 _cleanup_close_ int fd = -1; in attach_empty_file() 399 _cleanup_close_ int direct_io_fd = -1; in loop_device_make_internal() 431 _cleanup_close_ int copy = -1; in loop_device_make_internal() 496 _cleanup_close_ int control = -1; in loop_device_make_internal() 516 _cleanup_close_ int loop = -1; in loop_device_make_internal() 667 _cleanup_close_ int fd = -1; in loop_device_make_by_path() 739 _cleanup_close_ int control = -1; in loop_device_unref() 772 _cleanup_close_ int loop_fd = -1; in loop_device_open() 827 _cleanup_close_ int whole_fd = -1; in resize_partition()
|
D | machine-id-setup.c | 32 _cleanup_close_ int fd = -1; in generate_machine_id() 87 _cleanup_close_ int fd = -1; in machine_id_setup() 199 _cleanup_close_ int fd = -1, initial_mntns_fd = -1; in machine_id_commit()
|
D | clock-util.c | 22 _cleanup_close_ int fd = -1; in clock_get_hwclock() 43 _cleanup_close_ int fd = -1; in clock_set_hwclock()
|
D | blockdev-util.c | 89 _cleanup_close_ int fd = -1; in get_block_device() 205 _cleanup_close_ int fd = -1; in get_block_device_harder() 219 _cleanup_close_ int lock_fd = -1; in lock_whole_block_device()
|
/systemd-251/src/core/ |
D | import-creds.c | 160 _cleanup_close_ int source_dir_fd = -1; in import_credentials_boot() 181 _cleanup_close_ int cfd = -1, nfd = -1; in import_credentials_boot() 289 _cleanup_close_ int nfd = -1; in proc_cmdline_callback() 360 _cleanup_close_ int source_dir_fd = -1; in import_credentials_qemu() 384 _cleanup_close_ int vfd = -1, rfd = -1, nfd = -1; in import_credentials_qemu()
|
D | smack-setup.c | 52 _cleanup_close_ int load2_fd = -1, change_fd = -1; in write_access2_rules() 124 _cleanup_close_ int cipso2_fd = -1; in write_cipso2_rules() 242 _cleanup_close_ int onlycap_fd = -1; in write_onlycap_list()
|
D | dynamic-user.c | 214 _cleanup_close_ int lock_fd = -1; in pick_uid() 386 _cleanup_close_ int uid_lock_fd = -1; in dynamic_user_realize() 387 _cleanup_close_ int etc_passwd_lock_fd = -1; in dynamic_user_realize() 528 _cleanup_close_ int lock_fd = -1; in dynamic_user_current() 570 _cleanup_close_ int lock_fd = -1; in dynamic_user_close()
|
/systemd-251/src/udev/ |
D | udevadm-lock.c | 147 _cleanup_close_ int fd = -1; in find_devno() 173 _cleanup_close_ int regfd = -1; in find_devno() 213 _cleanup_close_ int fd = -1; in lock_device() 364 _cleanup_close_ int fd = -1; in lock_main()
|
/systemd-251/src/vconsole/ |
D | vconsole-setup.c | 282 _cleanup_close_ int fd_d = -1; in setup_remaining_vcs() 354 _cleanup_close_ int fd = -1; in find_source_vc() 387 _cleanup_close_ int fd = -1; in verify_source_vc() 420 _cleanup_close_ int fd = -1; in main()
|
/systemd-251/src/resolve/ |
D | test-resolved-stream.c | 110 _cleanup_close_ int bindfd = -1, acceptfd = -1; in tcp_dns_server() 128 _cleanup_close_ int fd_server = -1, fd_tls = -1; in tls_dns_server() 216 _cleanup_close_ int clientfd = -1; in test_dns_stream() 334 _cleanup_close_ int socket_fd = -1; in try_isolate_network()
|
D | resolved-llmnr.c | 145 _cleanup_close_ int s = -1; in manager_llmnr_ipv4_udp_fd() 215 _cleanup_close_ int s = -1; in manager_llmnr_ipv6_udp_fd() 348 _cleanup_close_ int s = -1; in manager_llmnr_ipv4_tcp_fd() 414 _cleanup_close_ int s = -1; in manager_llmnr_ipv6_tcp_fd()
|
/systemd-251/src/machine/ |
D | machine-dbus.c | 241 _cleanup_close_ int netns_fd = -1; in bus_machine_method_get_addresses() 387 _cleanup_close_ int mntns_fd = -1, root_fd = -1, pidns_fd = -1; in bus_machine_method_get_os_release() 453 _cleanup_close_ int master = -1; in bus_machine_method_open_pty() 543 _cleanup_close_ int master = -1; in bus_machine_method_open_login() 607 _cleanup_close_ int master = -1, slave = -1; in bus_machine_method_open_shell() 910 _cleanup_close_ int hostfd = -1; in bus_machine_method_copy() 1054 _cleanup_close_ int fd = -1; in bus_machine_method_open_root_directory() 1091 _cleanup_close_ int mntns_fd = -1, root_fd = -1; in bus_machine_method_open_root_directory() 1107 _cleanup_close_ int dfd = -1; in bus_machine_method_open_root_directory()
|
/systemd-251/src/coredump/ |
D | coredump.c | 345 _cleanup_close_ int fd = -1; in save_external_coredump() 459 _cleanup_close_ int fd_compressed = -1; in save_external_coredump() 585 _cleanup_close_ int proc_fdinfo_fd = -1; in compose_open_fds() 611 _cleanup_close_ int fd = -1; in compose_open_fds() 657 _cleanup_close_ int proc_ns_dir_fd = -1; in get_process_ns() 772 _cleanup_close_ int coredump_fd = -1, coredump_node_fd = -1; in submit_coredump() 960 _cleanup_close_ int input_fd = -1; in process_socket() 1063 _cleanup_close_ int fd = -1; in send_iovec()
|