Searched defs:description (Results 1 - 25 of 25) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dbus-slot.c214 free(slot->description);
273 _public_ int sd_bus_slot_set_description(sd_bus_slot *slot, const char *description) { argument
276 return free_and_strdup(&slot->description, description);
279 _public_ int sd_bus_slot_get_description(sd_bus_slot *slot, const char **description) { argument
281 assert_return(description, -EINVAL);
282 assert_return(slot->description, -ENXIO);
284 *description = slot->description;
H A Dbus-creds.h81 char *description, *unescaped_description; member in struct:sd_bus_creds
H A Dbus-internal.h143 char *description; member in struct:sd_bus_slot
315 char *description; member in struct:sd_bus
H A Dsd-bus.c145 free(b->description);
365 _public_ int sd_bus_set_description(sd_bus *bus, const char *description) { argument
370 return free_and_strdup(&bus->description, description);
3653 _public_ int sd_bus_get_description(sd_bus *bus, const char **description) { argument
3655 assert_return(description, -EINVAL);
3656 assert_return(bus->description, -ENXIO);
3659 *description = bus->description;
/systemd/src/shared/
H A Dbus-util.h132 const char *description; member in struct:UnitInfo
/systemd/src/udev/net/
H A Dlink-config.h63 char *description; member in struct:link_config
/systemd/src/machine/
H A Dmachine.c361 char *scope, *description, *job = NULL; local
371 description = strjoina(m->class == MACHINE_VM ? "Virtual Machine " : "Container ", m->name);
373 r = manager_start_scope(m->manager, scope, m->leader, SPECIAL_MACHINE_SLICE, description, properties, error, &job);
H A Dmachine-dbus.c647 const char *p, *unit, *user, *path, *description, *utmp_id; local
741 description = strjoina("Shell for User ", isempty(user) ? "root" : user);
744 "Description", "s", description,
H A Dmachined-dbus.c1282 const char *description,
1318 if (!isempty(description)) {
1319 r = sd_bus_message_append(m, "(sv)", "Description", "s", description);
1277 manager_start_scope( Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, sd_bus_message *more_properties, sd_bus_error *error, char **job) argument
/systemd/src/cryptsetup/
H A Dcryptsetup.c319 _cleanup_free_ char *description = NULL, *name_buffer = NULL, *mount_point = NULL, *maj_min = NULL, *text = NULL, *escaped_name = NULL; local
329 description = disk_description(src);
332 if (description && streq(vol, description))
333 /* If the description string is simply the
336 description = mfree(description);
338 if (mount_point && description)
339 r = asprintf(&name_buffer, "%s (%s) on %s", description, vol, mount_point);
342 else if (description)
[all...]
/systemd/src/login/
H A Dlogind-user.c395 const char *description; local
402 description = strjoina("User Slice of ", u->name);
407 description,
H A Dlogind-session.c517 const char *description; local
523 description = strjoina("Session ", s->id, " of user ", s->user->name, NULL);
530 description,
H A Dlogind-dbus.c2771 const char *description,
2803 if (!isempty(description)) {
2804 r = sd_bus_message_append(m, "(sv)", "Description", "s", description);
2845 const char *description,
2884 if (!isempty(description)) {
2885 r = sd_bus_message_append(m, "(sv)", "Description", "s", description);
2768 manager_start_slice( Manager *manager, const char *slice, const char *description, const char *after, const char *after2, uint64_t tasks_max, sd_bus_error *error, char **job) argument
2840 manager_start_scope( Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, const char *after, const char *after2, uint64_t tasks_max, sd_bus_error *error, char **job) argument
/systemd/src/network/
H A Dnetworkd-netdev.h95 char *description; member in struct:NetDev
H A Dnetworkctl.c261 const char *description; local
280 r = sd_hwdb_get(hwdb, modalias, "ID_OUI_FROM_DATABASE", &description);
284 desc = strdup(description);
412 _cleanup_free_ char *gateway = NULL, *description = NULL; local
418 r = get_gateway_description(rtnl, hwdb, local[i].ifindex, local[i].family, &local[i].address, &description);
420 log_debug_errno(r, "Could not get description of gateway: %m");
427 if (description)
428 printf(" (%s)", description);
630 _cleanup_free_ char *description = NULL; local
633 ieee_oui(hwdb, &e, &description);
[all...]
H A Dnetworkd-network.h78 char *description; member in struct:Network
/systemd/src/gpt-auto-generator/
H A Dgpt-auto-generator.c169 const char *description,
179 assert(description);
210 description);
278 const char *description,
288 assert(description);
326 description,
383 const char *description,
393 assert(description);
408 description,
433 description,
162 add_mount( const char *id, const char *what, const char *where, const char *fstype, bool rw, const char *options, const char *description, const char *post) argument
273 probe_and_add_mount( const char *id, const char *what, const char *where, bool rw, const char *description, const char *post) argument
376 add_automount( const char *id, const char *what, const char *where, const char *fstype, bool rw, const char *options, const char *description, usec_t timeout) argument
[all...]
/systemd/src/run/
H A Drun.c97 " --description=TEXT Description for unit\n"
159 { "description", required_argument, NULL, ARG_DESCRIPTION },
1201 _cleanup_free_ char *description = NULL, *command = NULL; local
1224 description = strv_join(argv + optind, " ");
1225 if (!description) {
1230 if (arg_unit && isempty(description)) {
1231 r = free_and_strdup(&description, arg_unit);
1236 arg_description = description;
/systemd/src/sysv-generator/
H A Dsysv-generator.c78 char *description; member in struct:SysvStub
97 free(s->description);
193 if (s->description)
194 fprintf(f, "Description=%s\n", s->description);
461 char *description; local
517 /* Try to parse Red Hat style description */
519 if (startswith_no_case(t, "description:")) {
556 /* Try to parse Red Hat style description
657 /* We use the long description only if
658 * no short description i
[all...]
/systemd/src/core/
H A Dunit.h87 char *description; member in struct:Unit
469 int unit_set_description(Unit *u, const char *description);
H A Dunit.c278 int unit_set_description(Unit *u, const char *description) { argument
283 if (isempty(description))
286 s = strdup(description);
291 free(u->description);
292 u->description = s;
540 free(u->description);
857 if (u->description)
858 return u->description;
/systemd/src/sysusers/
H A Dsysusers.c58 char *description; member in struct:Item
589 .pw_gecos = i->description,
907 r = free_and_strdup(&i->description, p->pw_gecos);
989 log_info("Creating user %s (%s) with uid " UID_FMT " and gid " GID_FMT ".", i->name, strna(i->description), i->uid, i->gid);
1191 free(i->description);
1281 if (!streq_ptr(a->description, b->description))
1387 _cleanup_free_ char *action = NULL, *name = NULL, *id = NULL, *resolved_name = NULL, *resolved_id = NULL, *description = NULL, *home = NULL; local
1400 r = extract_many_words(&p, NULL, EXTRACT_QUOTES, &action, &name, &id, &description, &home, NULL);
1454 /* Verify description */
[all...]
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c101 char *description; member in struct:sd_event_source
515 strna(s->description), event_source_type_to_string(s->type));
887 free(s->description);
1187 /* Use the signal name as description for the event source by default */
1406 _public_ int sd_event_source_set_description(sd_event_source *s, const char *description) { argument
1410 return free_and_strdup(&s->description, description);
1413 _public_ int sd_event_source_get_description(sd_event_source *s, const char **description) { argument
1415 assert_return(description, -EINVAL);
1416 assert_return(s->description,
[all...]
/systemd/src/basic/
H A Dmissing.h1105 static inline key_serial_t add_key(const char *type, const char *description, const void *payload, size_t plen, key_serial_t ringid) { argument
1107 return syscall(__NR_add_key, type, description, payload, plen, ringid);
1114 static inline key_serial_t request_key(const char *type, const char *description, const char * callout_info, key_serial_t destringid) { argument
1116 return syscall(__NR_request_key, type, description, callout_info, destringid);
/systemd/src/systemctl/
H A Dsystemctl.c489 printf("%.*s\n", desc_len, u->description);
491 printf("%s\n", u->description);
2836 const char *method, *description; local
2851 description = "reboot system";
2856 description = "power off system";
2861 description = "suspend system";
2866 description = "hibernate system";
2871 description = "put system into hybrid sleep";
2888 return log_error_errno(r, "Failed to %s via logind: %s", description, bus_error_message(&error, r));
3331 const char *description; member in struct:UnitStatusInfo
[all...]

Completed in 112 milliseconds