witness
ASN1_SIMPLE(OSSL_CMP_CHALLENGE, witness, ASN1_OCTET_STRING),
ASN1_OCTET_STRING *witness;
struct witness *w;
struct witness *w;
struct witness t_w1, t_w2;
struct witness *w1, *w2;
struct witness *w, *w1;
struct witness *w2 = lock2->li_lock->lo_witness;
struct witness *w;
struct witness *w;
struct witness *w;
static struct witness *
struct witness *w;
STAILQ_ENTRY(witness) w_list; /* List of all witnesses. */
STAILQ_ENTRY(witness) w_typelist; /* Witnesses of a type. */
depart(struct witness *w)
struct witness *w_hash_next; /* Linked list in hash buckets. */
adopt(struct witness *parent, struct witness *child)
itismychild(struct witness *parent, struct witness *child)
STAILQ_HEAD(witness_list, witness);
_isitmyx(struct witness *w1, struct witness *w2, int rmask, const char *fname)
isitmychild(struct witness *parent, struct witness *child)
isitmydescendant(struct witness *ancestor, struct witness *descendant)
struct witness *wh_array[WITNESS_HASH_SIZE];
blessed(struct witness *w1, struct witness *w2)
static struct witness *
struct witness *w;
witness_free(struct witness *w)
witness_lock_type_equal(struct witness *w1, struct witness *w2)
DB_SHOW_COMMAND_FLAGS(witness, db_witness_display, DB_CMD_MEMSAFE)
struct witness *tmp_w1, *tmp_w2, *w1, *w2;
tmp_w1 = malloc(sizeof(struct witness), M_TEMP, M_WAITOK | M_ZERO);
tmp_w2 = malloc(sizeof(struct witness), M_TEMP, M_WAITOK | M_ZERO);
static int _isitmyx(struct witness *w1, struct witness *w2, int rmask,
static void adopt(struct witness *parent, struct witness *child);
static int blessed(struct witness *, struct witness *);
static void depart(struct witness *w);
static struct witness *enroll(const char *description,
static int isitmychild(struct witness *parent, struct witness *child);
static int isitmydescendant(struct witness *parent, struct witness *child);
static void itismychild(struct witness *parent, struct witness *child);
struct witness *w;
static void witness_add_fullgraph(struct sbuf *sb, struct witness *parent);
witness_add_fullgraph(struct sbuf *sb, struct witness *w)
struct witness *, int indent);
static void witness_ddb_level_descendants(struct witness *parent, int l);
static struct witness *
struct witness *w;
witness_hash_put(struct witness *w)
static void witness_free(struct witness *m);
static struct witness *witness_get(void);
witness_lock_order_get(struct witness *parent, struct witness *child)
static struct witness *witness_hash_get(const char *key);
static void witness_hash_put(struct witness *w);
witness_lock_order_check(struct witness *parent, struct witness *child)
witness_lock_order_add(struct witness *parent, struct witness *child)
static int witness_lock_order_add(struct witness *parent,
struct witness *child);
static int witness_lock_order_check(struct witness *parent,
struct witness *child);
struct witness *parent,
struct witness *child);
FEATURE(witness, "kernel has witness(9) support");
static SYSCTL_NODE(_debug, OID_AUTO, witness, CTLFLAG_RW | CTLFLAG_MPSAFE, NULL,
static struct witness *w_data;
sz = sizeof(struct witness) * witness_count;
struct witness *w, *w1;
p += sizeof(struct witness) * witness_count;
struct witness *w;
struct witness *w;
witness_ddb_level_descendants(struct witness *w, int l)
struct witness *w, int indent)
struct witness *lo_witness; /* Data for witness. */