Skip to content
Start free evaluation

PdcommGemFormattedProgramDryRunIssueInfo

Struct

One dry-run issue, filled by pdcomm_gem_formatted_program_dry_run_issue_info().

typedef struct PdcommGemFormattedProgramDryRunIssueInfo { ... } PdcommGemFormattedProgramDryRunIssueInfo

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

Before the call, set struct_size, set version to #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_INFO_VERSION, and zero reserved. The call writes every other field and leaves struct_size and version unchanged. Fields whose presence bit is clear are written as 0.

Members

code

Field

Issue code, one of the PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_* issue codes (1 to 11).

uint32_t code

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

command_index

Field

Program or catalog command index, as described by the issue code.

size_t command_index

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

expected

Field

Expected limit (CMDMAX or BYTMAX), as described by the issue code.

uint64_t expected

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

field_index

Field

Field index within the command; not used by policy version 1.

size_t field_index

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

observed

Field

Observed count or size, as described by the issue code.

uint64_t observed

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

outcome

Field

Outcome contributed by this issue (indeterminate or reject).

uint32_t outcome

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

presence_mask

Field

Bit set of PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_*_PRESENT flags.

uint32_t presence_mask

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

reserved

Field

Input: must be 0; written as 0.

uint64_t reserved

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

struct_size

Field

Input: size of this structure, at least sizeof(PdcommGemFormattedProgramDryRunIssueInfo).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

version

Field

Input: must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_INFO_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>