Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.h45 enum variable_flavor flavor);
Dparser.y42 enum variable_flavor flavor; member
101 %type <flavor> assign_op
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_progs.c612 const char *flavor = strrchr(exec_name, '/'); in cd_flavor_subdir() local
614 if (!flavor) in cd_flavor_subdir()
616 flavor++; in cd_flavor_subdir()
617 flavor = strrchr(flavor, '-'); in cd_flavor_subdir()
618 if (!flavor) in cd_flavor_subdir()
620 flavor++; in cd_flavor_subdir()
622 fprintf(stdout, "Switching to flavor '%s' subdirectory...\n", flavor); in cd_flavor_subdir()
624 return chdir(flavor); in cd_flavor_subdir()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/fs/nfs/
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()
Dsuper.c756 rpc_authflavor_t flavor = RPC_AUTH_MAXFLAVOR; in nfs_verify_authflavors() local
773 flavor = server_authlist[i]; in nfs_verify_authflavors()
775 if (nfs_auth_info_match(&ctx->auth_info, flavor)) in nfs_verify_authflavors()
778 if (flavor == RPC_AUTH_NULL) in nfs_verify_authflavors()
783 flavor = ctx->auth_info.flavors[0]; in nfs_verify_authflavors()
792 ctx->selected_flavor = flavor; in nfs_verify_authflavors()
895 rpc_authflavor_t flavor; in nfs_try_mount_request() local
898 flavor = authlist[i]; in nfs_try_mount_request()
899 switch (flavor) { in nfs_try_mount_request()
907 if (rpcauth_get_gssinfo(flavor, &info) != 0) in nfs_try_mount_request()
[all …]
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.c214 switch (secinfo->flavor) { in nfs_find_best_sec()
218 pflavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs_find_best_sec()
Dclient.c502 rpc_authflavor_t flavor) in nfs_create_rpc_client() argument
516 .authflavor = flavor, in nfs_create_rpc_client()
1046 rpc_authflavor_t flavor) in nfs_clone_server() argument
1073 flavor); in nfs_clone_server()
Dfs_context.c314 rpc_authflavor_t flavor) in nfs_auth_info_add() argument
321 if (flavor == auth_info->flavors[i]) in nfs_auth_info_add()
328 auth_info->flavors[auth_info->flavor_len++] = flavor; in nfs_auth_info_add()
Dnfs4proc.c686 rpc_authflavor_t flavor = clp->cl_rpcclient->cl_auth->au_flavor; in _nfs4_is_integrity_protected() local
687 return (flavor == RPC_AUTH_GSS_KRB5I) || (flavor == RPC_AUTH_GSS_KRB5P); in _nfs4_is_integrity_protected()
3994 struct nfs_fsinfo *info, rpc_authflavor_t flavor) in nfs4_lookup_root_sec() argument
3997 .pseudoflavor = flavor, in nfs4_lookup_root_sec()
9940 rpc_authflavor_t flavor = RPC_AUTH_MAXFLAVOR; in nfs41_find_root_sec() local
9968 switch (secinfo->flavor) { in nfs41_find_root_sec()
9972 flavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs41_find_root_sec()
9976 flavor = RPC_AUTH_MAXFLAVOR; in nfs41_find_root_sec()
9980 if (!nfs_auth_info_match(&server->auth_info, flavor)) in nfs41_find_root_sec()
9981 flavor = RPC_AUTH_MAXFLAVOR; in nfs41_find_root_sec()
[all …]
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss_video.h44 u32 flavor; member
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispvideo.h47 u32 flavor; member
Dispccdc.c2088 if (info->flavor != MEDIA_BUS_FMT_Y8_1X8) { in ccdc_try_crop()
2108 if (info->flavor != MEDIA_BUS_FMT_Y8_1X8) { in ccdc_try_crop()
2398 if ((in_info->flavor == 0) || (out_info->flavor == 0)) in ccdc_is_shiftable()
2401 if (in_info->flavor != out_info->flavor) in ccdc_is_shiftable()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dauth_gss.c1013 rpc_authflavor_t flavor = args->pseudoflavor; in gss_create_new() local
1033 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1036 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); in gss_create_new()
1048 auth->au_flavor = flavor; in gss_create_new()
1049 if (gss_pseudoflavor_to_datatouch(gss_auth->mech, flavor)) in gss_create_new()
1092 trace_rpcgss_createauth(flavor, err); in gss_create_new()
Dsvcauth_gss.c719 u32 flavor = 0; in gss_verify_header() local
731 flavor = svc_getnl(argv); in gss_verify_header()
732 if (flavor != RPC_AUTH_GSS) in gss_verify_header()
/kernel/linux/linux-5.10/drivers/virtio/
DKconfig139 This option adds a flavor of dma buffers that are backed by
/kernel/linux/linux-5.10/fs/nfsd/
Dstate.h211 u32 flavor; /* (u32)(-1) used to mean "no valid flavor" */ member
Dnfs4xdr.c579 cbs->flavor = (u32)(-1); in nfsd4_decode_cb_sec()
582 cbs->flavor = 0; in nfsd4_decode_cb_sec()
589 if (cbs->flavor == (u32)(-1)) in nfsd4_decode_cb_sec()
590 cbs->flavor = RPC_AUTH_NULL; in nfsd4_decode_cb_sec()
611 if (cbs->flavor == (u32)(-1)) { in nfsd4_decode_cb_sec()
617 cbs->flavor = RPC_AUTH_UNIX; in nfsd4_decode_cb_sec()

12