Lines Matching defs:aops
43 struct auth_ops *aops;
48 aops = rcu_dereference(authtab[flavor]);
49 if (aops != NULL && !try_module_get(aops->owner))
50 aops = NULL;
52 return aops;
56 svc_put_auth_ops(struct auth_ops *aops)
58 module_put(aops->owner);
65 struct auth_ops *aops;
73 aops = svc_get_auth_ops(flavor);
74 if (aops == NULL) {
82 rqstp->rq_authop = aops;
83 return aops->accept(rqstp, authp);
100 struct auth_ops *aops = rqstp->rq_authop;
105 if (aops) {
106 rv = aops->release(rqstp);
107 svc_put_auth_ops(aops);
113 svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops)
119 old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops);
120 if (old == NULL || old == aops)