Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/systemd-251/src/shared/
Dbus-wait-for-jobs.c37 BusWaitForJobs *d = userdata; in match_job_removed() local
43 assert(d); in match_job_removed()
51 found = set_remove(d->jobs, (char*) path); in match_job_removed()
57 (void) free_and_strdup(&d->result, empty_to_null(result)); in match_job_removed()
59 (void) free_and_strdup(&d->name, empty_to_null(unit)); in match_job_removed()
64 BusWaitForJobs* bus_wait_for_jobs_free(BusWaitForJobs *d) { in bus_wait_for_jobs_free() argument
65 if (!d) in bus_wait_for_jobs_free()
68 set_free(d->jobs); in bus_wait_for_jobs_free()
70 sd_bus_slot_unref(d->slot_disconnected); in bus_wait_for_jobs_free()
71 sd_bus_slot_unref(d->slot_job_removed); in bus_wait_for_jobs_free()
[all …]
Dbus-wait-for-units.c84 static void call_unit_callback_and_wait(BusWaitForUnits *d, WaitForItem *item, bool good) { in call_unit_callback_and_wait() argument
85 d->current = item; in call_unit_callback_and_wait()
88 item->unit_callback(d, item->bus_path, good, item->userdata); in call_unit_callback_and_wait()
93 static void bus_wait_for_units_clear(BusWaitForUnits *d) { in bus_wait_for_units_clear() argument
96 assert(d); in bus_wait_for_units_clear()
98 d->slot_disconnected = sd_bus_slot_unref(d->slot_disconnected); in bus_wait_for_units_clear()
99 d->bus = sd_bus_unref(d->bus); in bus_wait_for_units_clear()
101 while ((item = hashmap_first(d->items))) in bus_wait_for_units_clear()
102 call_unit_callback_and_wait(d, item, false); in bus_wait_for_units_clear()
104 d->items = hashmap_free(d->items); in bus_wait_for_units_clear()
[all …]
Dformat-table.c219 static TableData *table_data_free(TableData *d) { in table_data_free() argument
220 assert(d); in table_data_free()
222 free(d->formatted); in table_data_free()
223 free(d->url); in table_data_free()
225 if (IN_SET(d->type, TABLE_STRV, TABLE_STRV_WRAPPED)) in table_data_free()
226 strv_free(d->strv); in table_data_free()
228 return mfree(d); in table_data_free()
333 TableData *d, in table_data_matches() argument
343 assert(d); in table_data_matches()
345 if (d->type != type) in table_data_matches()
[all …]
Dloop-util.c73 static int device_has_block_children(sd_device *d) { in device_has_block_children() argument
79 assert(d); in device_has_block_children()
84 r = sd_device_get_subsystem(d, &main_ss); in device_has_block_children()
91 r = sd_device_get_devtype(d, &main_dt); in device_has_block_children()
106 r = sd_device_enumerator_add_match_parent(e, d); in device_has_block_children()
149 _cleanup_(sd_device_unrefp) sd_device *d = NULL; in loop_configure()
165 r = sd_device_new_from_subsystem_sysname(&d, "block", sysname); in loop_configure()
188 r = device_has_block_children(d); in loop_configure()
403 LoopDevice *d = NULL; in loop_device_make_internal() local
449 d = new(LoopDevice, 1); in loop_device_make_internal()
[all …]
Dgpt.h14 #define GPT_ROOT_ARM64 SD_ID128_MAKE(b9,21,b0,45,1d,f0,41,c3,af,44,4c,6f,28,0d,3f,ae)
15 #define GPT_ROOT_IA64 SD_ID128_MAKE(99,3d,8d,3d,f8,0e,42,25,85,5a,9d,af,8e,d7,ea,97)
18 #define GPT_ROOT_MIPS64_LE SD_ID128_MAKE(70,0b,da,43,7a,34,45,07,b1,79,ee,b9,3d,7a,7c,a3)
19 #define GPT_ROOT_PPC SD_ID128_MAKE(1d,e3,f1,ef,fa,98,47,b5,8d,cd,4a,86,0a,65,4d,78)
20 #define GPT_ROOT_PPC64 SD_ID128_MAKE(91,2a,de,1d,a8,39,49,13,89,64,a1,0e,ee,08,fb,d2)
22 #define GPT_ROOT_RISCV32 SD_ID128_MAKE(60,d5,a7,fe,8e,7d,43,5c,b7,14,3d,d8,16,21,44,e1)
24 #define GPT_ROOT_S390 SD_ID128_MAKE(08,a7,ac,ea,62,4c,4a,20,91,e8,6e,0f,a6,7d,23,f9)
25 #define GPT_ROOT_S390X SD_ID128_MAKE(5e,ea,d9,a9,fe,09,4a,1e,a1,d7,52,0d,00,53,13,06)
28 #define GPT_ROOT_X86_64 SD_ID128_MAKE(4f,68,bc,e3,e8,cd,4d,b1,96,e7,fb,ca,f9,84,b7,09)
29 #define GPT_USR_ALPHA SD_ID128_MAKE(e1,8c,f0,8c,33,ec,4c,0d,82,46,c6,c6,fb,3d,a0,24)
[all …]
Dbond-util.h84 const char *bond_mode_to_string(BondMode d) _const_;
85 BondMode bond_mode_from_string(const char *d) _pure_;
87 const char *bond_xmit_hash_policy_to_string(BondXmitHashPolicy d) _const_;
88 BondXmitHashPolicy bond_xmit_hash_policy_from_string(const char *d) _pure_;
90 const char *bond_lacp_rate_to_string(BondLacpRate d) _const_;
91 BondLacpRate bond_lacp_rate_from_string(const char *d) _pure_;
93 const char *bond_fail_over_mac_to_string(BondFailOverMac d) _const_;
94 BondFailOverMac bond_fail_over_mac_from_string(const char *d) _pure_;
96 const char *bond_ad_select_to_string(BondAdSelect d) _const_;
97 BondAdSelect bond_ad_select_from_string(const char *d) _pure_;
[all …]
/systemd-251/hwdb.d/
D20-pci-classes.hwdb5 pci:v*d*sv*sd*bc00*
8 pci:v*d*sv*sd*bc00sc00*
11 pci:v*d*sv*sd*bc00sc01*
14 pci:v*d*sv*sd*bc00sc05*
17 pci:v*d*sv*sd*bc01*
20 pci:v*d*sv*sd*bc01sc00*
23 pci:v*d*sv*sd*bc01sc01*
26 pci:v*d*sv*sd*bc01sc01i00*
29 pci:v*d*sv*sd*bc01sc01i05*
32 pci:v*d*sv*sd*bc01sc01i0A*
[all …]
D20-usb-classes.hwdb5 usb:v*p*d*dc01*
8 usb:v*p*d*dc01dsc01*
11 usb:v*p*d*dc01dsc02*
14 usb:v*p*d*dc01dsc03*
17 usb:v*p*d*dc02*
20 usb:v*p*d*dc02dsc01*
23 usb:v*p*d*dc02dsc02*
26 usb:v*p*d*dc02dsc02dp01*
29 usb:v*p*d*dc02dsc02dp02*
32 usb:v*p*d*dc02dsc02dp03*
[all …]
D20-sdio-classes.hwdb3 # Data imported from: hwdb.d/sdio.ids
5 sdio:c00v*d*
8 sdio:c01v*d*
11 sdio:c02v*d*
14 sdio:c03v*d*
17 sdio:c04v*d*
20 sdio:c05v*d*
23 sdio:c06v*d*
26 sdio:c07v*d*
29 sdio:c08v*d*
[all …]
/systemd-251/test/
Dsys-script.py12 def d(path, mode): function
33 d('sys', 0o755)
34 d('sys/kernel', 0o775)
41 d('sys/kernel/slab', 0o775)
42 d('sys/kernel/slab/kmalloc-96', 0o775)
126 d('sys/kernel/slab/blkdev_requests', 0o775)
155 d('sys/kernel/slab/tw_sock_TCP', 0o775)
182 d('sys/kernel/slab/Acpi-Parse', 0o775)
209 d('sys/kernel/slab/sgpool-8', 0o775)
236 d('sys/kernel/slab/dnotify_cache', 0o775)
[all …]
Dtest-sysusers.sh.in15 mkdir -p $TESTDIR/etc/sysusers.d/
16 mkdir -p $TESTDIR/usr/lib/sysusers.d/
45 rm -f $TESTDIR/etc/sysusers.d/* $TESTDIR/usr/lib/sysusers.d/*
51 cp $f $TESTDIR/usr/lib/sysusers.d/test.conf
60 touch $TESTDIR/etc/sysusers.d/test.conf
69 touch $TESTDIR/etc/sysusers.d/test.conf
71 cat $f | $SYSUSERS --root=$TESTDIR --replace=/etc/sysusers.d/test.conf -
73 cat $SOURCE/test-1.input | $SYSUSERS --root=$TESTDIR --replace=/usr/lib/sysusers.d/test.conf -
82 cp $f $TESTDIR/etc/sysusers.d/confuse.conf
93 cp $f $TESTDIR/etc/sysusers.d/confuse.conf
[all …]
/systemd-251/src/resolve/
Dresolved-dns-search-domain.c17 DnsSearchDomain *d; in dns_search_domain_new() local
36 d = new(DnsSearchDomain, 1); in dns_search_domain_new()
37 if (!d) in dns_search_domain_new()
40 *d = (DnsSearchDomain) { in dns_search_domain_new()
50 d->link = l; in dns_search_domain_new()
51 LIST_APPEND(domains, l->search_domains, d); in dns_search_domain_new()
56 LIST_APPEND(domains, m->search_domains, d); in dns_search_domain_new()
64 d->linked = true; in dns_search_domain_new()
67 *ret = d; in dns_search_domain_new()
72 static DnsSearchDomain* dns_search_domain_free(DnsSearchDomain *d) { in dns_search_domain_free() argument
[all …]
Dresolved-dns-trust-anchor.c28 static bool dns_trust_anchor_knows_domain_positive(DnsTrustAnchor *d, const char *name) { in dns_trust_anchor_knows_domain_positive() argument
29 assert(d); in dns_trust_anchor_knows_domain_positive()
35 …hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DNSKEY, name))… in dns_trust_anchor_knows_domain_positive()
36 … hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name)); in dns_trust_anchor_knows_domain_positive()
70 static int dns_trust_anchor_add_builtin_positive(DnsTrustAnchor *d) { in dns_trust_anchor_add_builtin_positive() argument
75 assert(d); in dns_trust_anchor_add_builtin_positive()
77 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops); in dns_trust_anchor_add_builtin_positive()
83 if (dns_trust_anchor_knows_domain_positive(d, ".")) in dns_trust_anchor_add_builtin_positive()
99 r = hashmap_put(d->positive_by_key, key, answer); in dns_trust_anchor_add_builtin_positive()
107 static int dns_trust_anchor_add_builtin_negative(DnsTrustAnchor *d) { in dns_trust_anchor_add_builtin_negative() argument
[all …]
/systemd-251/src/login/
Dlogind-device.c11 Device *d; in device_new() local
16 d = new0(Device, 1); in device_new()
17 if (!d) in device_new()
20 d->sysfs = strdup(sysfs); in device_new()
21 if (!d->sysfs) in device_new()
22 return mfree(d); in device_new()
24 if (hashmap_put(m->devices, d->sysfs, d) < 0) { in device_new()
25 free(d->sysfs); in device_new()
26 return mfree(d); in device_new()
29 d->manager = m; in device_new()
[all …]
/systemd-251/test/units/
Dtestsuite-22.12.sh23 mkdir -p /tmp/ageby/d{1..4}
40 touch /tmp/ageby/d{1,2}/f{2..4}
52 touch /tmp/ageby/d{3,4}/f{2..4}
56 d /tmp/ageby/d1 - - - a:1m -
61 for d in d{1..3}; do
62 test ! -f "/tmp/ageby/${d}/f1"
67 d /tmp/ageby/d4 - - - b:1s -
79 d /tmp/ageby - - - ${a} -
83 for d in d{1..4}; do
85 test -f "/tmp/ageby/${d}/${f}"
[all …]
Dtestsuite-22.13.sh8 rm -f /{usr/lib,etc}/tmpfiles.d/{L,w}-*.conf
11 mkdir -p /{usr/lib,etc}/tmpfiles.d
20 cat >/usr/lib/tmpfiles.d/L-z.conf<<EOF
21 L+ /tmp/precedence/L - - - - /usr/lib/tmpfiles.d/L-z.conf
28 cat >/etc/tmpfiles.d/L-z.conf<<EOF
29 L+ /tmp/precedence/L - - - - /etc/tmpfiles.d/L-z.conf
36 cat >/usr/lib/tmpfiles.d/L-a.conf<<EOF
37 L+ /tmp/precedence/L - - - - /usr/lib/tmpfiles.d/L-a.conf
44 cat >/etc/tmpfiles.d/L-a.conf<<EOF
45 L+ /tmp/precedence/L - - - - /etc/tmpfiles.d/L-a.conf
[all …]
/systemd-251/src/core/
Ddynamic-user.c30 static DynamicUser* dynamic_user_free(DynamicUser *d) { in dynamic_user_free() argument
31 if (!d) in dynamic_user_free()
34 if (d->manager) in dynamic_user_free()
35 (void) hashmap_remove(d->manager->dynamic_users, d->name); in dynamic_user_free()
37 safe_close_pair(d->storage_socket); in dynamic_user_free()
38 return mfree(d); in dynamic_user_free()
42 DynamicUser *d; in dynamic_user_add() local
53 d = malloc0(offsetof(DynamicUser, name) + strlen(name) + 1); in dynamic_user_add()
54 if (!d) in dynamic_user_add()
57 strcpy(d->name, name); in dynamic_user_add()
[all …]
Ddevice.c34 static void device_update_found_one(Device *d, DeviceFound found, DeviceFound mask);
36 static void device_unset_sysfs(Device *d) { in device_unset_sysfs() argument
40 assert(d); in device_unset_sysfs()
42 if (!d->sysfs) in device_unset_sysfs()
47 devices = UNIT(d)->manager->devices_by_sysfs; in device_unset_sysfs()
48 first = hashmap_get(devices, d->sysfs); in device_unset_sysfs()
49 LIST_REMOVE(same_sysfs, first, d); in device_unset_sysfs()
52 hashmap_remove_and_replace(devices, d->sysfs, first->sysfs, first); in device_unset_sysfs()
54 hashmap_remove(devices, d->sysfs); in device_unset_sysfs()
56 d->sysfs = mfree(d->sysfs); in device_unset_sysfs()
[all …]
/systemd-251/src/cryptsetup/
Dcryptsetup-generator.c286 _cleanup_free_ char *n = NULL, *d = NULL, *u = NULL, *e = NULL, in create_disk() local
349 r = unit_name_from_path(u, ".device", &d); in create_disk()
483 d, d); in create_disk()
549 static crypto_device* crypt_device_free(crypto_device *d) { in crypt_device_free() argument
550 if (!d) in crypt_device_free()
553 free(d->uuid); in crypt_device_free()
554 free(d->keyfile); in crypt_device_free()
555 free(d->keydev); in crypt_device_free()
556 free(d->name); in crypt_device_free()
557 free(d->options); in crypt_device_free()
[all …]
/systemd-251/tmpfiles.d/
Dsystemd.conf.in8 # See tmpfiles.d(5) for details
10 d /run/user 0755 root root -
15 d /run/systemd/ask-password 0755 root root -
16 d /run/systemd/seats 0755 root root -
17 d /run/systemd/sessions 0755 root root -
18 d /run/systemd/users 0755 root root -
19 d /run/systemd/machines 0755 root root -
20 d /run/systemd/shutdown 0755 root root -
22 d /run/log 0755 root root -
28 a+ /run/log/journal - - - - d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:…
[all …]
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c162 static void event_gc_inode_data(sd_event *e, struct inode_data *d);
311 static void free_clock_data(struct clock_data *d) { in free_clock_data() argument
312 assert(d); in free_clock_data()
313 assert(d->wakeup == WAKEUP_CLOCK_DATA); in free_clock_data()
315 safe_close(d->fd); in free_clock_data()
316 prioq_free(d->earliest); in free_clock_data()
317 prioq_free(d->latest); in free_clock_data()
590 static void event_free_signal_data(sd_event *e, struct signal_data *d) { in event_free_signal_data() argument
593 if (!d) in event_free_signal_data()
596 hashmap_remove(e->signal_data, &d->priority); in event_free_signal_data()
[all …]
/systemd-251/src/libsystemd/sd-device/
Dtest-sd-device.c19 static void test_sd_device_one(sd_device *d) { in test_sd_device_one() argument
27 assert_se(sd_device_get_syspath(d, &syspath) >= 0); in test_sd_device_one()
29 assert_se(sd_device_get_sysname(d, &sysname) >= 0); in test_sd_device_one()
43 r = sd_device_get_ifindex(d, &ifindex); in test_sd_device_one()
49 log_device_warning_errno(d, r, in test_sd_device_one()
68 r = sd_device_get_subsystem(d, &subsystem); in test_sd_device_one()
77 name = strjoina(d->driver_subsystem, ":", sysname); in test_sd_device_one()
86 assert_se(device_get_device_id(d, &id) >= 0); in test_sd_device_one()
89 log_device_warning_errno(d, r, in test_sd_device_one()
100 r = sd_device_get_is_initialized(d); in test_sd_device_one()
[all …]
/systemd-251/src/systemd/
Dsd-messages.h33 #define SD_MESSAGE_JOURNAL_STOP SD_ID128_MAKE(d9,3f,b3,c9,c2,4d,45,1a,97,ce,a6,15,ce,59,c…
34 #define SD_MESSAGE_JOURNAL_STOP_STR SD_ID128_MAKE_STR(d9,3f,b3,c9,c2,4d,45,1a,97,ce,a6,15,ce,…
44 #define SD_MESSAGE_TRUNCATED_CORE SD_ID128_MAKE(5a,ad,d8,e9,54,dc,4b,1a,8c,95,4d,63,fd,9e,1…
45 #define SD_MESSAGE_TRUNCATED_CORE_STR SD_ID128_MAKE_STR(5a,ad,d8,e9,54,dc,4b,1a,8c,95,4d,63,fd,…
49 #define SD_MESSAGE_SESSION_START SD_ID128_MAKE(8d,45,62,0c,1a,43,48,db,b1,74,10,da,57,c6,0…
50 #define SD_MESSAGE_SESSION_START_STR SD_ID128_MAKE_STR(8d,45,62,0c,1a,43,48,db,b1,74,10,da,57,…
51 #define SD_MESSAGE_SESSION_STOP SD_ID128_MAKE(33,54,93,94,24,b4,45,6d,98,02,ca,83,33,ed,4…
52 #define SD_MESSAGE_SESSION_STOP_STR SD_ID128_MAKE_STR(33,54,93,94,24,b4,45,6d,98,02,ca,83,33,…
53 #define SD_MESSAGE_SEAT_START SD_ID128_MAKE(fc,be,fc,5d,a2,3d,42,80,93,f9,7c,82,a9,29,0…
54 #define SD_MESSAGE_SEAT_START_STR SD_ID128_MAKE_STR(fc,be,fc,5d,a2,3d,42,80,93,f9,7c,82,a9,…
[all …]
/systemd-251/src/mount/
Dmount-tool.c779 _cleanup_closedir_ DIR *d = NULL; in find_loop_device() local
785 d = opendir("/sys/devices/virtual/block"); in find_loop_device()
786 if (!d) in find_loop_device()
789 FOREACH_DIRENT(de, d, return -errno) { in find_loop_device()
917 _cleanup_(sd_device_unrefp) sd_device *d = NULL; in umount_by_device()
933 r = sd_device_new_from_stat_rdev(&d, &st); in umount_by_device()
937 r = sd_device_get_property_value(d, "ID_FS_USAGE", &v); in umount_by_device()
939 return log_device_error_errno(d, r, "Failed to get device property: %m"); in umount_by_device()
942 return log_device_error_errno(d, SYNTHETIC_ERRNO(EINVAL), in umount_by_device()
945 if (sd_device_get_property_value(d, "SYSTEMD_MOUNT_WHERE", &v) >= 0) in umount_by_device()
[all …]
/systemd-251/catalog/
Dsystemd.fr.catalog.in8 # Le format du catalogue de messages est décrit (en anglais) içi :
12 Subject: Le journal a été démarré
16 Le processus du journal système a démarré, ouvert ses fichiers en écriture
34 Le maximum autorisé est défini à @MAX_USE_PRETTY@.
36 (sur @DISK_AVAILABLE_PRETTY@ d'espace disque actuellement libre).
40 Les limites définissant la quantité d'espace disque que peut utiliser le
44 Voir journald.conf(5) pour plus de détails.
47 Subject: Des messages d'un service ont été supprimés
52 Un service a essayé d'enregistrer un trop grand nombre de messages sur un
58 Les limites définissant ce comportement peuvent être configurées avec les
[all …]

12345678910>>...21