Home
last modified time | relevance | path

Searched refs:UNIT_NAME_MAX (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/basic/
Dunit-name.c53 if (strlen(n) >= UNIT_NAME_MAX) in unit_name_is_valid()
546 if (strlen(name) < UNIT_NAME_MAX) in unit_name_hash_long()
564 len = UNIT_NAME_MAX - 1 - strlen(suffix+1) - UNIT_NAME_HASH_LENGTH_CHARS - 2; in unit_name_hash_long()
565 assert(len > 0 && len < UNIT_NAME_MAX); in unit_name_hash_long()
599 if (strlen(s) >= UNIT_NAME_MAX) { in unit_name_from_path()
642 …if (strlen(s) >= UNIT_NAME_MAX) /* Return a slightly more descriptive error for this specific cond… in unit_name_from_path_instance()
Dunit-name.h9 #define UNIT_NAME_MAX 256 macro
/systemd-251/src/shared/
Dinstall-printf.c124 return specifier_printf(format, UNIT_NAME_MAX, table, info->root, info, ret); in install_name_printf()
/systemd-251/src/core/
Dunit-printf.c194 return specifier_printf(format, UNIT_NAME_MAX, table, NULL, u, ret); in unit_name_printf()
Dmanager.c4393 char unit_name[UNIT_NAME_MAX+1]; in manager_dispatch_user_lookup_fd()
4421 if ((size_t) l > offsetof(struct buffer, unit_name) + UNIT_NAME_MAX) { in manager_dispatch_user_lookup_fd()
/systemd-251/src/journal/
Djournald-stream.c47 #define STDOUT_STREAM_SETUP_PROTOCOL_LINE_MAX (UNIT_NAME_MAX-1U)