• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/auth_gss/

Lines Matching refs:gss_cred

120 	struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
125 rcu_assign_pointer(gss_cred->gc_ctx, ctx);
163 struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
167 if (gss_cred->gc_ctx)
168 ctx = gss_get_ctx(gss_cred->gc_ctx);
356 gss_handle_downcall_result(struct gss_cred *gss_cred, struct gss_upcall_msg *gss_msg)
362 clear_bit(RPCAUTH_CRED_NEGATIVE, &gss_cred->gc_base.cr_flags);
363 gss_cred_set_ctx(&gss_cred->gc_base, gss_msg->ctx);
366 set_bit(RPCAUTH_CRED_NEGATIVE, &gss_cred->gc_base.cr_flags);
368 gss_cred->gc_upcall_timestamp = jiffies;
369 gss_cred->gc_upcall = NULL;
376 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred,
377 struct gss_cred, gc_base);
378 struct gss_upcall_msg *gss_msg = gss_cred->gc_upcall;
382 gss_handle_downcall_result(gss_cred, gss_msg);
469 struct gss_cred *gss_cred = container_of(cred,
470 struct gss_cred, gc_base);
474 gss_new = gss_alloc_msg(gss_auth, uid, clnt, gss_cred->gc_machine_cred);
508 struct gss_cred *gss_cred = container_of(cred,
509 struct gss_cred, gc_base);
529 if (gss_cred->gc_upcall != NULL)
530 rpc_sleep_on(&gss_cred->gc_upcall->rpc_waitqueue, task, NULL);
533 gss_cred->gc_upcall = gss_msg;
538 gss_handle_downcall_result(gss_cred, gss_msg);
550 gss_create_upcall(struct gss_auth *gss_auth, struct gss_cred *gss_cred)
553 struct rpc_cred *cred = &gss_cred->gc_base;
899 struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
903 if (gss_cred->gc_ctx == NULL ||
907 gss_cred->gc_ctx->gc_proc = RPC_GSS_PROC_DESTROY;
949 gss_free_cred(struct gss_cred *gss_cred)
951 dprintk("RPC: gss_free_cred %p\n", gss_cred);
952 kfree(gss_cred);
958 struct gss_cred *gss_cred = container_of(head, struct gss_cred, gc_base.cr_rcu);
959 gss_free_cred(gss_cred);
965 struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
967 struct gss_cl_ctx *ctx = gss_cred->gc_ctx;
969 rcu_assign_pointer(gss_cred->gc_ctx, NULL);
998 struct gss_cred *cred = NULL;
1027 struct gss_cred *gss_cred = container_of(cred,struct gss_cred, gc_base);
1031 err = gss_create_upcall(gss_auth, gss_cred);
1039 struct gss_cred *gss_cred = container_of(rc, struct gss_cred, gc_base);
1044 if (time_after(jiffies, gss_cred->gc_ctx->gc_expiry))
1049 if (acred->machine_cred != gss_cred->gc_machine_cred)
1063 struct gss_cred *gss_cred = container_of(cred, struct gss_cred,
1084 *p++ = htonl((u32) gss_cred->gc_service);
1117 struct gss_cred *gss_cred = container_of(oldcred,
1118 struct gss_cred,
1123 .machine_cred = gss_cred->gc_machine_cred,
1140 struct gss_cred *gss_cred;
1142 gss_cred = container_of(cred, struct gss_cred, gc_base);
1143 begin = gss_cred->gc_upcall_timestamp;
1395 struct gss_cred *gss_cred = container_of(cred, struct gss_cred,
1408 switch (gss_cred->gc_service) {
1498 struct gss_cred *gss_cred = container_of(cred, struct gss_cred,
1508 switch (gss_cred->gc_service) {