/linux-6.3-rc2/arch/x86/kernel/cpu/sgx/ |
A D | ioctl.c | 62 struct sgx_secinfo secinfo; in sgx_encl_create() local 98 memset(&secinfo, 0, sizeof(secinfo)); in sgx_encl_create() 193 if (memchr_inv(secinfo->reserved, 0, sizeof(secinfo->reserved))) in sgx_validate_secinfo() 410 struct sgx_secinfo secinfo; in sgx_ioc_enclave_add_pages() local 427 if (copy_from_user(&secinfo, (void __user *)add_arg.secinfo, in sgx_ioc_enclave_add_pages() 428 sizeof(secinfo))) in sgx_ioc_enclave_add_pages() 739 struct sgx_secinfo secinfo; in sgx_enclave_restrict_permissions() local 745 memset(&secinfo, 0, sizeof(secinfo)); in sgx_enclave_restrict_permissions() 896 struct sgx_secinfo secinfo; in sgx_enclave_modify_types() local 911 memset(&secinfo, 0, sizeof(secinfo)); in sgx_enclave_modify_types() [all …]
|
A D | encls.h | 219 static inline int __emodpr(struct sgx_secinfo *secinfo, void *addr) in __emodpr() argument 221 return __encls_ret_2(EMODPR, secinfo, addr); in __emodpr() 225 static inline int __emodt(struct sgx_secinfo *secinfo, void *addr) in __emodt() argument 227 return __encls_ret_2(EMODT, secinfo, addr); in __emodt()
|
/linux-6.3-rc2/tools/testing/selftests/sgx/ |
A D | test_encl.c | 21 struct sgx_secinfo secinfo __aligned(sizeof(struct sgx_secinfo)) = {0}; in do_encl_emodpe() 24 secinfo.flags = op->flags; in do_encl_emodpe() 29 "b" (&secinfo), in do_encl_emodpe() 35 struct sgx_secinfo secinfo __aligned(sizeof(struct sgx_secinfo)) = {0}; in do_encl_eaccept() 39 secinfo.flags = op->flags; in do_encl_eaccept() 44 "b" (&secinfo), in do_encl_eaccept()
|
A D | load.c | 109 struct sgx_secinfo secinfo; in encl_ioc_add_pages() local 112 memset(&secinfo, 0, sizeof(secinfo)); in encl_ioc_add_pages() 113 secinfo.flags = seg->flags; in encl_ioc_add_pages() 118 ioc.secinfo = (unsigned long)&secinfo; in encl_ioc_add_pages()
|
/linux-6.3-rc2/fs/nfs/ |
A D | nfs4namespace.c | 209 struct nfs4_secinfo4 *secinfo; in nfs_find_best_sec() local 213 secinfo = &flavors->flavors[i]; in nfs_find_best_sec() 215 switch (secinfo->flavor) { in nfs_find_best_sec() 219 pflavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs_find_best_sec() 220 &secinfo->flavor_info); in nfs_find_best_sec()
|
A D | nfs4proc.c | 10136 struct nfs4_secinfo4 *secinfo; in nfs41_find_root_sec() local 10160 secinfo = &flavors->flavors[i]; in nfs41_find_root_sec() 10162 switch (secinfo->flavor) { in nfs41_find_root_sec() 10166 flavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs41_find_root_sec() 10167 &secinfo->flavor_info); in nfs41_find_root_sec()
|
/linux-6.3-rc2/arch/x86/include/uapi/asm/ |
A D | sgx.h | 62 __u64 secinfo; member
|
/linux-6.3-rc2/drivers/net/wireless/rsi/ |
A D | rsi_91x_mac80211.c | 178 if (((common->secinfo.gtk_cipher == WLAN_CIPHER_SUITE_WEP104) || in rsi_is_cipher_wep() 179 (common->secinfo.gtk_cipher == WLAN_CIPHER_SUITE_WEP40)) && in rsi_is_cipher_wep() 180 (!common->secinfo.ptk_cipher)) in rsi_is_cipher_wep() 1040 struct security_info *secinfo = &common->secinfo; in rsi_mac80211_set_key() local 1053 secinfo->ptk_cipher = key->cipher; in rsi_mac80211_set_key() 1055 secinfo->gtk_cipher = key->cipher; in rsi_mac80211_set_key() 1571 common->secinfo.ptk_cipher = 0; in rsi_mac80211_sta_remove() 1572 common->secinfo.gtk_cipher = 0; in rsi_mac80211_sta_remove()
|
A D | rsi_main.h | 270 struct security_info secinfo; member
|
A D | rsi_91x_mgmt.c | 1812 if (common->secinfo.gtk_cipher) in rsi_send_wowlan_request()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | sgx.h | 328 struct sgx_secinfo secinfo; member
|
/linux-6.3-rc2/fs/nfsd/ |
A D | nfs4proc.c | 1036 struct nfsd4_secinfo *secinfo = &u->secinfo; in nfsd4_secinfo() local 1045 secinfo->si_name, secinfo->si_namelen, in nfsd4_secinfo() 1053 secinfo->si_exp = exp; in nfsd4_secinfo() 1087 if (u->secinfo.si_exp) in nfsd4_secinfo_release() 1088 exp_put(u->secinfo.si_exp); in nfsd4_secinfo_release()
|
A D | nfs4xdr.c | 1329 struct nfsd4_secinfo *secinfo = &u->secinfo; in nfsd4_decode_secinfo() local 1330 secinfo->si_exp = NULL; in nfsd4_decode_secinfo() 1331 return nfsd4_decode_component4(argp, &secinfo->si_name, &secinfo->si_namelen); in nfsd4_decode_secinfo() 4398 struct nfsd4_secinfo *secinfo = &u->secinfo; in nfsd4_encode_secinfo() local 4401 return nfsd4_do_encode_secinfo(xdr, secinfo->si_exp); in nfsd4_encode_secinfo() 4408 struct nfsd4_secinfo_no_name *secinfo = &u->secinfo_no_name; in nfsd4_encode_secinfo_no_name() local 4411 return nfsd4_do_encode_secinfo(xdr, secinfo->sin_exp); in nfsd4_encode_secinfo_no_name()
|
A D | xdr4.h | 663 struct nfsd4_secinfo secinfo; member
|