Searched refs:UNIT_NAME_MAX (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/basic/ |
D | unit-name.c | 53 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()
|
D | unit-name.h | 9 #define UNIT_NAME_MAX 256 macro
|
/systemd-251/src/shared/ |
D | install-printf.c | 124 return specifier_printf(format, UNIT_NAME_MAX, table, info->root, info, ret); in install_name_printf()
|
/systemd-251/src/core/ |
D | unit-printf.c | 194 return specifier_printf(format, UNIT_NAME_MAX, table, NULL, u, ret); in unit_name_printf()
|
D | manager.c | 4393 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/ |
D | journald-stream.c | 47 #define STDOUT_STREAM_SETUP_PROTOCOL_LINE_MAX (UNIT_NAME_MAX-1U)
|