Home
last modified time | relevance | path

Searched refs:flavor (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v5.15/net/sunrpc/
Dsvcauth.c41 svc_get_auth_ops(rpc_authflavor_t flavor) in svc_get_auth_ops() argument
45 if (flavor >= RPC_AUTH_MAXFLAVOR) in svc_get_auth_ops()
48 aops = rcu_dereference(authtab[flavor]); in svc_get_auth_ops()
64 rpc_authflavor_t flavor; in svc_authenticate() local
69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
71 dprintk("svc: svc_authenticate (%d)\n", flavor); in svc_authenticate()
73 aops = svc_get_auth_ops(flavor); in svc_authenticate()
113 svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops) in svc_auth_register() argument
118 if (flavor < RPC_AUTH_MAXFLAVOR) { in svc_auth_register()
119 old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); in svc_auth_register()
[all …]
Dauth.c102 pseudoflavor_to_flavor(u32 flavor) { in pseudoflavor_to_flavor() argument
103 if (flavor > RPC_AUTH_MAXFLAVOR) in pseudoflavor_to_flavor()
105 return flavor; in pseudoflavor_to_flavor()
112 rpc_authflavor_t flavor; in rpcauth_register() local
114 if ((flavor = ops->au_flavor) >= RPC_AUTH_MAXFLAVOR) in rpcauth_register()
116 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); in rpcauth_register()
127 rpc_authflavor_t flavor; in rpcauth_unregister() local
129 if ((flavor = ops->au_flavor) >= RPC_AUTH_MAXFLAVOR) in rpcauth_unregister()
132 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); in rpcauth_unregister()
140 rpcauth_get_authops(rpc_authflavor_t flavor) in rpcauth_get_authops() argument
[all …]
/Linux-v5.15/scripts/kconfig/
Dpreprocess.c234 enum variable_flavor flavor; member
269 if (v->flavor == VAR_RECURSIVE) in variable_expand()
280 enum variable_flavor flavor) in variable_add() argument
289 if (flavor == VAR_APPEND) { in variable_add()
290 flavor = v->flavor; in variable_add()
297 if (flavor == VAR_APPEND) in variable_add()
298 flavor = VAR_RECURSIVE; in variable_add()
306 v->flavor = flavor; in variable_add()
308 if (flavor == VAR_SIMPLE) in variable_add()
Dlkc_proto.h46 enum variable_flavor flavor);
Dparser.y43 enum variable_flavor flavor; member
99 %type <flavor> assign_op
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_progs.c731 const char *flavor = strrchr(exec_name, '/'); in cd_flavor_subdir() local
733 if (!flavor) in cd_flavor_subdir()
735 flavor++; in cd_flavor_subdir()
736 flavor = strrchr(flavor, '-'); in cd_flavor_subdir()
737 if (!flavor) in cd_flavor_subdir()
739 flavor++; in cd_flavor_subdir()
741 fprintf(stdout, "Switching to flavor '%s' subdirectory...\n", flavor); in cd_flavor_subdir()
743 return chdir(flavor); in cd_flavor_subdir()
/Linux-v5.15/fs/nfs/
Dsuper.c773 rpc_authflavor_t flavor = RPC_AUTH_MAXFLAVOR; in nfs_verify_authflavors() local
790 flavor = server_authlist[i]; in nfs_verify_authflavors()
792 if (nfs_auth_info_match(&ctx->auth_info, flavor)) in nfs_verify_authflavors()
795 if (flavor == RPC_AUTH_NULL) in nfs_verify_authflavors()
800 flavor = ctx->auth_info.flavors[0]; in nfs_verify_authflavors()
809 ctx->selected_flavor = flavor; in nfs_verify_authflavors()
912 rpc_authflavor_t flavor; in nfs_try_mount_request() local
915 flavor = authlist[i]; in nfs_try_mount_request()
916 switch (flavor) { in nfs_try_mount_request()
924 if (rpcauth_get_gssinfo(flavor, &info) != 0) in nfs_try_mount_request()
[all …]
Dnfs3client.c62 rpc_authflavor_t flavor) in nfs3_clone_server() argument
64 struct nfs_server *server = nfs_clone_server(source, fh, fattr, flavor); in nfs3_clone_server()
Dnfs4client.c60 nfs4_find_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_find_ds_client() argument
66 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_find_ds_client()
77 nfs4_add_ds_client(struct nfs_client *ds_clp, rpc_authflavor_t flavor, in nfs4_add_ds_client() argument
84 if (dss->rpc_clnt->cl_auth->au_flavor != flavor) in nfs4_add_ds_client()
97 nfs4_alloc_ds_server(struct nfs_client *ds_clp, rpc_authflavor_t flavor) in nfs4_alloc_ds_server() argument
105 dss->rpc_clnt = rpc_clone_client_set_auth(ds_clp->cl_rpcclient, flavor); in nfs4_alloc_ds_server()
135 rpc_authflavor_t flavor = NFS_SERVER(inode)->client->cl_auth->au_flavor; in nfs4_find_or_create_ds_client() local
137 dss = nfs4_find_ds_client(ds_clp, flavor); in nfs4_find_or_create_ds_client()
140 new = nfs4_alloc_ds_server(ds_clp, flavor); in nfs4_find_or_create_ds_client()
143 dss = nfs4_add_ds_client(ds_clp, flavor, new); in nfs4_find_or_create_ds_client()
Dnfs4_fs.h363 rpc_authflavor_t flavor; in _nfs4_state_protect() local
379 flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_state_protect()
380 WARN_ON_ONCE(flavor != RPC_AUTH_GSS_KRB5I && in _nfs4_state_protect()
381 flavor != RPC_AUTH_GSS_KRB5P); in _nfs4_state_protect()
Dnfs4namespace.c209 switch (secinfo->flavor) { in nfs_find_best_sec()
213 pflavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs_find_best_sec()
Dclient.c501 rpc_authflavor_t flavor) in nfs_create_rpc_client() argument
515 .authflavor = flavor, in nfs_create_rpc_client()
1058 rpc_authflavor_t flavor) in nfs_clone_server() argument
1085 flavor); in nfs_clone_server()
Dfs_context.c349 rpc_authflavor_t flavor) in nfs_auth_info_add() argument
356 if (flavor == auth_info->flavors[i]) in nfs_auth_info_add()
363 auth_info->flavors[auth_info->flavor_len++] = flavor; in nfs_auth_info_add()
Dnfs4proc.c670 rpc_authflavor_t flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_is_integrity_protected() local
671 return (flavor == RPC_AUTH_GSS_KRB5I) || (flavor == RPC_AUTH_GSS_KRB5P); in _nfs4_is_integrity_protected()
4004 struct nfs_fsinfo *info, rpc_authflavor_t flavor) in nfs4_lookup_root_sec() argument
4007 .pseudoflavor = flavor, in nfs4_lookup_root_sec()
9992 rpc_authflavor_t flavor = RPC_AUTH_MAXFLAVOR; in nfs41_find_root_sec() local
10020 switch (secinfo->flavor) { in nfs41_find_root_sec()
10024 flavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs41_find_root_sec()
10028 flavor = RPC_AUTH_MAXFLAVOR; in nfs41_find_root_sec()
10032 if (!nfs_auth_info_match(&server->auth_info, flavor)) in nfs41_find_root_sec()
10033 flavor = RPC_AUTH_MAXFLAVOR; in nfs41_find_root_sec()
[all …]
/Linux-v5.15/include/linux/sunrpc/
Dsvcauth.h155 extern int svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops);
156 extern void svc_auth_unregister(rpc_authflavor_t flavor);
/Linux-v5.15/include/trace/events/
Drpcgss.h619 unsigned int flavor,
623 TP_ARGS(flavor, error),
626 __field(unsigned int, flavor)
632 __entry->flavor = flavor;
637 show_pseudoflavor(__entry->flavor), __entry->error)
/Linux-v5.15/tools/testing/selftests/rcutorture/bin/
Dtorture.sh295 local flavor=$1
297 curflavor=$flavor
301 curflavor=${flavor}-kasan
306 curflavor=${flavor}-kcsan
/Linux-v5.15/drivers/staging/media/omap4iss/
Diss_video.h43 u32 flavor; member
/Linux-v5.15/drivers/media/platform/omap3isp/
Dispvideo.h47 u32 flavor; member
Dispccdc.c2095 if (info->flavor != MEDIA_BUS_FMT_Y8_1X8) { in ccdc_try_crop()
2115 if (info->flavor != MEDIA_BUS_FMT_Y8_1X8) { in ccdc_try_crop()
2412 if ((in_info->flavor == 0) || (out_info->flavor == 0)) in ccdc_is_shiftable()
2415 if (in_info->flavor != out_info->flavor) in ccdc_is_shiftable()
/Linux-v5.15/Documentation/RCU/
Dlockdep.rst8 aware of when each task enters and leaves any flavor of RCU read-side
9 critical section. Each flavor of RCU is tracked separately (but note
/Linux-v5.15/net/sunrpc/auth_gss/
Dauth_gss.c998 rpc_authflavor_t flavor = args->pseudoflavor; in gss_create_new() local
1018 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1021 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); in gss_create_new()
1033 auth->au_flavor = flavor; in gss_create_new()
1034 if (gss_pseudoflavor_to_datatouch(gss_auth->mech, flavor)) in gss_create_new()
1077 trace_rpcgss_createauth(flavor, err); in gss_create_new()
/Linux-v5.15/drivers/virtio/
DKconfig148 This option adds a flavor of dma buffers that are backed by
/Linux-v5.15/fs/nfsd/
Dtrace.h607 __field(unsigned long, flavor)
616 __entry->flavor = clp->cl_cred.cr_flavor;
624 show_nfsd_authflavor(__entry->flavor),
Dstate.h211 u32 flavor; /* (u32)(-1) used to mean "no valid flavor" */ member

12