Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/shared/
Dlibmount-util.h21 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in libmount_parse() local
28 iter = mnt_new_iter(MNT_ITER_FORWARD); in libmount_parse()
29 if (!table || !iter) in libmount_parse()
45 *ret_iter = TAKE_PTR(iter); in libmount_parse()
Dmount-util.c95 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in umount_recursive() local
99 r = libmount_parse("/proc/self/mountinfo", NULL, &table, &iter); in umount_recursive()
107 r = mnt_table_next_fs(table, iter, &fs); in umount_recursive()
226 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in bind_remount_recursive_with_mountinfo() local
235 r = libmount_parse("/proc/self/mountinfo", proc_self_mountinfo, &table, &iter); in bind_remount_recursive_with_mountinfo()
245 r = mnt_table_next_fs(table, iter, &fs); in bind_remount_recursive_with_mountinfo()
Dinstall.c3259 STRV_FOREACH(iter, rule.instances) { in pattern_match_multiple_instances()
3262 r = unit_name_replace_instance(unit_name, *iter, &name); in pattern_match_multiple_instances()
/systemd-251/src/test/
Dtest-libmount.c21 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in test_libmount_unescaping_one() local
27 assert_se(libmount_parse(title, f, &table, &iter) >= 0); in test_libmount_unescaping_one()
35 r = mnt_table_next_fs(table, iter, &fs); in test_libmount_unescaping_one()
66 assert_se(mnt_table_next_fs(table, iter, &fs) == 1); in test_libmount_unescaping_one()
/systemd-251/src/login/
Dlogind-seat.c489 LIST_FOREACH(sessions_by_seat, iter, s->sessions) in seat_evict_position()
490 if (iter->position == pos && session_get_state(iter) != SESSION_CLOSING) { in seat_evict_position()
491 s->positions[pos] = iter; in seat_evict_position()
Dlogind-session-device.c406 SessionDevice *iter; in session_device_complete_pause() local
414 HASHMAP_FOREACH(iter, sd->session->devices) in session_device_complete_pause()
415 if (iter->active) in session_device_complete_pause()
Dlogind.c738 LIST_FOREACH(sessions_by_seat, iter, m->seat0->sessions) in manager_vt_switch()
739 if (iter->vtnr == active->vtnr && iter->vtfd >= 0) { in manager_vt_switch()
740 session_leave_vt(iter); in manager_vt_switch()
/systemd-251/src/shutdown/
Dumount.c65 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in mount_points_list_get() local
70 r = libmount_parse(mountinfo, NULL, &table, &iter); in mount_points_list_get()
83 r = mnt_table_next_fs(table, iter, &fs); in mount_points_list_get()
/systemd-251/src/mount/
Dmount-tool.c728 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in find_mount_points() local
739 r = libmount_parse(NULL, NULL, &table, &iter); in find_mount_points()
747 r = mnt_table_next_fs(table, iter, &fs); in find_mount_points()
/systemd-251/src/machine/
Dmachinectl.c101 const char *k, *v, *iter, **query_res = NULL; in call_get_os_release() local
110 NULSTR_FOREACH(iter, query) in call_get_os_release()
124 NULSTR_FOREACH(iter, query) { in call_get_os_release()
125 if (streq(k, iter)) { in call_get_os_release()
/systemd-251/src/core/
Dmount.c1748 _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; in mount_load_proc_self_mountinfo() local
1753 r = libmount_parse(NULL, NULL, &table, &iter); in mount_load_proc_self_mountinfo()
1761 r = mnt_table_next_fs(table, iter, &fs); in mount_load_proc_self_mountinfo()
/systemd-251/src/basic/
Dhashmap.c1958 Iterator iter; in iterated_cache_get() local
1961 HASHMAP_FOREACH_IDX(idx, cache->hashmap, iter) { in iterated_cache_get()
/systemd-251/src/shared/linux/
Dbpf.h5704 } iter; member
/systemd-251/
DTODO647 * make cryptsetup lower --iter-time