Lines Matching refs:rvalue
248 const char *rvalue, in config_parse_expose_port() argument
257 assert(rvalue); in config_parse_expose_port()
259 r = expose_port_parse(&s->expose_ports, rvalue); in config_parse_expose_port()
261 …syntax(unit, LOG_WARNING, filename, line, r, "Duplicate port specification, ignoring: %s", rvalue); in config_parse_expose_port()
263 … log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse host port %s: %m", rvalue); in config_parse_expose_port()
276 const char *rvalue, in config_parse_capability() argument
285 assert(rvalue); in config_parse_capability()
290 r = extract_first_word(&rvalue, &word, NULL, 0); in config_parse_capability()
294 …unit, LOG_WARNING, filename, line, r, "Failed to extract capability string, ignoring: %s", rvalue); in config_parse_capability()
325 const char *rvalue, in config_parse_pivot_root() argument
334 assert(rvalue); in config_parse_pivot_root()
336 r = pivot_root_parse(&settings->pivot_root_new, &settings->pivot_root_old, rvalue); in config_parse_pivot_root()
338 …tax(unit, LOG_WARNING, filename, line, r, "Invalid pivot root mount specification %s: %m", rvalue); in config_parse_pivot_root()
351 const char *rvalue, in config_parse_bind() argument
360 assert(rvalue); in config_parse_bind()
362 r = bind_mount_parse(&settings->custom_mounts, &settings->n_custom_mounts, rvalue, ltype); in config_parse_bind()
364 …og_syntax(unit, LOG_WARNING, filename, line, r, "Invalid bind mount specification %s: %m", rvalue); in config_parse_bind()
377 const char *rvalue, in config_parse_tmpfs() argument
386 assert(rvalue); in config_parse_tmpfs()
388 r = tmpfs_mount_parse(&settings->custom_mounts, &settings->n_custom_mounts, rvalue); in config_parse_tmpfs()
390 …nit, LOG_WARNING, filename, line, r, "Invalid temporary file system specification %s: %m", rvalue); in config_parse_tmpfs()
403 const char *rvalue, in config_parse_inaccessible() argument
412 assert(rvalue); in config_parse_inaccessible()
414 r = inaccessible_mount_parse(&settings->custom_mounts, &settings->n_custom_mounts, rvalue); in config_parse_inaccessible()
416 …, LOG_WARNING, filename, line, r, "Invalid inaccessible file system specification %s: %m", rvalue); in config_parse_inaccessible()
429 const char *rvalue, in config_parse_overlay() argument
438 assert(rvalue); in config_parse_overlay()
440 … r = overlay_mount_parse(&settings->custom_mounts, &settings->n_custom_mounts, rvalue, ltype); in config_parse_overlay()
442 …_WARNING, filename, line, r, "Invalid overlay file system specification %s, ignoring: %m", rvalue); in config_parse_overlay()
455 const char *rvalue, in config_parse_veth_extra() argument
464 assert(rvalue); in config_parse_veth_extra()
466 r = veth_extra_parse(&settings->network_veth_extra, rvalue); in config_parse_veth_extra()
468 …OG_WARNING, filename, line, r, "Invalid extra virtual Ethernet link specification %s: %m", rvalue); in config_parse_veth_extra()
481 const char *rvalue, in config_parse_network_zone() argument
490 assert(rvalue); in config_parse_network_zone()
492 j = strjoin("vz-", rvalue); in config_parse_network_zone()
494 …og_syntax(unit, LOG_WARNING, filename, line, 0, "Invalid network zone name, ignoring: %s", rvalue); in config_parse_network_zone()
509 const char *rvalue, in config_parse_boot() argument
518 assert(rvalue); in config_parse_boot()
520 r = parse_boolean(rvalue); in config_parse_boot()
522 …(unit, LOG_WARNING, filename, line, r, "Failed to parse Boot= parameter %s, ignoring: %m", rvalue); in config_parse_boot()
554 const char *rvalue, in config_parse_pid2() argument
563 assert(rvalue); in config_parse_pid2()
565 r = parse_boolean(rvalue); in config_parse_pid2()
567 … LOG_WARNING, filename, line, r, "Failed to parse ProcessTwo= parameter %s, ignoring: %m", rvalue); in config_parse_pid2()
599 const char *rvalue, in config_parse_private_users() argument
608 assert(rvalue); in config_parse_private_users()
610 r = parse_boolean(rvalue); in config_parse_private_users()
621 } else if (streq(rvalue, "pick")) { in config_parse_private_users()
632 range = strchr(rvalue, ':'); in config_parse_private_users()
634 shift = strndupa_safe(rvalue, range - rvalue); in config_parse_private_users()
643 shift = rvalue; in config_parse_private_users()
674 const char *rvalue, in config_parse_syscall_filter() argument
685 assert(rvalue); in config_parse_syscall_filter()
687 negative = rvalue[0] == '~'; in config_parse_syscall_filter()
688 items = negative ? rvalue + 1 : rvalue; in config_parse_syscall_filter()
700 … "Failed to parse SystemCallFilter= parameter %s, ignoring: %m", rvalue); in config_parse_syscall_filter()
721 const char *rvalue, in config_parse_oom_score_adjust() argument
728 assert(rvalue); in config_parse_oom_score_adjust()
731 if (isempty(rvalue)) { in config_parse_oom_score_adjust()
736 r = parse_oom_score_adjust(rvalue, &oa); in config_parse_oom_score_adjust()
738 …unit, LOG_WARNING, filename, line, r, "OOM score adjust value out of range, ignoring: %s", rvalue); in config_parse_oom_score_adjust()
742 …OG_WARNING, filename, line, r, "Failed to parse the OOM score adjust value, ignoring: %s", rvalue); in config_parse_oom_score_adjust()
760 const char *rvalue, in config_parse_cpu_affinity() argument
766 assert(rvalue); in config_parse_cpu_affinity()
769 return parse_cpu_set_extend(rvalue, &settings->cpu_set, true, unit, filename, line, lvalue); in config_parse_cpu_affinity()
838 const char *rvalue, in config_parse_link_journal() argument
845 assert(rvalue); in config_parse_link_journal()
848 r = parse_link_journal(rvalue, &settings->link_journal, &settings->link_journal_try); in config_parse_link_journal()
850 …x(unit, LOG_WARNING, filename, line, r, "Failed to parse link journal mode, ignoring: %s", rvalue); in config_parse_link_journal()
887 const char *rvalue, in config_parse_userns_chown() argument
894 assert(rvalue); in config_parse_userns_chown()
899 r = parse_boolean(rvalue); in config_parse_userns_chown()
901 …WARNING, filename, line, r, "Failed to parse user namespace ownership mode, ignoring: %s", rvalue); in config_parse_userns_chown()
917 const char *rvalue, in config_parse_bind_user() argument
924 assert(rvalue); in config_parse_bind_user()
927 if (isempty(rvalue)) { in config_parse_bind_user()
932 for (const char* p = rvalue;;) { in config_parse_bind_user()
939 …ntax(unit, LOG_WARNING, filename, line, r, "Failed to parse BindUser= list, ignoring: %s", rvalue); in config_parse_bind_user()