Lines Matching refs:fields

450                 const InstanceMetadata *fields,  in pattern_format()  argument
458 assert(fields); in pattern_format()
476 if (!fields->version) in pattern_format()
479 if (!strextend(&j, fields->version)) in pattern_format()
486 if (!fields->partition_uuid_set) in pattern_format()
489 if (!strextend(&j, sd_id128_to_string(fields->partition_uuid, formatted))) in pattern_format()
496 if (!fields->partition_flags_set) in pattern_format()
499 r = strextendf(&j, "%" PRIx64, fields->partition_flags); in pattern_format()
506 if (fields->mtime == USEC_INFINITY) in pattern_format()
509 r = strextendf(&j, "%" PRIu64, fields->mtime); in pattern_format()
516 if (fields->mode == MODE_INVALID) in pattern_format()
519 r = strextendf(&j, "%03o", fields->mode); in pattern_format()
526 if (fields->size == UINT64_MAX) in pattern_format()
529 r = strextendf(&j, "%" PRIu64, fields->size); in pattern_format()
535 if (fields->tries_done == UINT64_MAX) in pattern_format()
538 r = strextendf(&j, "%" PRIu64, fields->tries_done); in pattern_format()
544 if (fields->tries_left == UINT64_MAX) in pattern_format()
547 r = strextendf(&j, "%" PRIu64, fields->tries_left); in pattern_format()
553 if (fields->no_auto < 0) in pattern_format()
556 if (!strextend(&j, one_zero(fields->no_auto))) in pattern_format()
562 if (fields->read_only < 0) in pattern_format()
565 if (!strextend(&j, one_zero(fields->read_only))) in pattern_format()
571 if (fields->growfs < 0) in pattern_format()
574 if (!strextend(&j, one_zero(fields->growfs))) in pattern_format()
582 if (!fields->sha256sum_set) in pattern_format()
585 h = hexmem(fields->sha256sum, sizeof(fields->sha256sum)); in pattern_format()