Lines Matching defs:g_lock_ctx
23 static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name,
26 struct g_lock_ctx {
42 struct g_lock_ctx *g_lock_ctx_init(TALLOC_CTX *mem_ctx,
45 struct g_lock_ctx *result;
47 result = talloc(mem_ctx, struct g_lock_ctx);
181 static NTSTATUS g_lock_trylock(struct g_lock_ctx *ctx, const char *name,
294 NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, const char *name,
480 static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name,
588 NTSTATUS g_lock_unlock(struct g_lock_ctx *ctx, const char *name)
618 int g_lock_locks(struct g_lock_ctx *ctx,
630 NTSTATUS g_lock_dump(struct g_lock_ctx *ctx, const char *name,
687 NTSTATUS g_lock_get(struct g_lock_ctx *ctx, const char *name,
709 struct g_lock_ctx **pg_ctx)
713 struct g_lock_ctx *g_ctx = NULL;
748 struct g_lock_ctx *g_ctx = NULL;