Lines Matching refs:depend
63 struct depend { struct
64 TAILQ_ENTRY(depend) link;
74 TAILQ_HEAD(depend_list, depend); argument
84 struct depend *depend; member
606 TAILQ_FOREACH(context->depend, &context->dlist, link) { in snmp_dep_commit()
607 ctx->dep = &context->depend->dep; in snmp_dep_commit()
613 ret = context->depend->func(ctx, ctx->dep, SNMP_DEPOP_COMMIT); in snmp_dep_commit()
636 while ((context->depend = in snmp_dep_rollback()
637 TAILQ_PREV(context->depend, depend_list, link)) != NULL) { in snmp_dep_rollback()
638 ctx->dep = &context->depend->dep; in snmp_dep_rollback()
644 ret = context->depend->func(ctx, ctx->dep, SNMP_DEPOP_ROLLBACK); in snmp_dep_rollback()
661 struct depend *d; in snmp_dep_finish()
932 struct depend *d; in snmp_dep_lookup()
953 if ((d = malloc(offsetof(struct depend, dep) + len)) == NULL) in snmp_dep_lookup()