/linux-6.1.9/arch/x86/kernel/cpu/sgx/ |
D | ioctl.c | 62 struct sgx_secinfo secinfo; in sgx_encl_create() local 96 pginfo.metadata = (unsigned long)&secinfo; in sgx_encl_create() 98 memset(&secinfo, 0, sizeof(secinfo)); in sgx_encl_create() 172 static int sgx_validate_secinfo(struct sgx_secinfo *secinfo) in sgx_validate_secinfo() argument 174 u64 perm = secinfo->flags & SGX_SECINFO_PERMISSION_MASK; in sgx_validate_secinfo() 175 u64 pt = secinfo->flags & SGX_SECINFO_PAGE_TYPE_MASK; in sgx_validate_secinfo() 190 if (secinfo->flags & SGX_SECINFO_RESERVED_MASK) in sgx_validate_secinfo() 193 if (memchr_inv(secinfo->reserved, 0, sizeof(secinfo->reserved))) in sgx_validate_secinfo() 202 struct sgx_secinfo *secinfo, unsigned long src) in __sgx_encl_add_page() argument 223 pginfo.metadata = (unsigned long)secinfo; in __sgx_encl_add_page() [all …]
|
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.1.9/tools/testing/selftests/sgx/ |
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()
|
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.1.9/fs/nfs/ |
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()
|
D | nfs4proc.c | 10141 struct nfs4_secinfo4 *secinfo; in nfs41_find_root_sec() local 10165 secinfo = &flavors->flavors[i]; in nfs41_find_root_sec() 10167 switch (secinfo->flavor) { in nfs41_find_root_sec() 10171 flavor = rpcauth_get_pseudoflavor(secinfo->flavor, in nfs41_find_root_sec() 10172 &secinfo->flavor_info); in nfs41_find_root_sec()
|
/linux-6.1.9/arch/x86/include/uapi/asm/ |
D | sgx.h | 62 __u64 secinfo; member
|
/linux-6.1.9/drivers/net/wireless/rsi/ |
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()
|
D | rsi_main.h | 270 struct security_info secinfo; member
|
D | rsi_91x_mgmt.c | 1812 if (common->secinfo.gtk_cipher) in rsi_send_wowlan_request()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | sgx.h | 309 struct sgx_secinfo secinfo; member
|
/linux-6.1.9/fs/nfsd/ |
D | nfs4proc.c | 1041 struct nfsd4_secinfo *secinfo = &u->secinfo; in nfsd4_secinfo() local 1050 secinfo->si_name, secinfo->si_namelen, in nfsd4_secinfo() 1058 secinfo->si_exp = exp; in nfsd4_secinfo() 1092 if (u->secinfo.si_exp) in nfsd4_secinfo_release() 1093 exp_put(u->secinfo.si_exp); in nfsd4_secinfo_release()
|
D | nfs4xdr.c | 1305 struct nfsd4_secinfo *secinfo) in nfsd4_decode_secinfo() argument 1307 secinfo->si_exp = NULL; in nfsd4_decode_secinfo() 1308 return nfsd4_decode_component4(argp, &secinfo->si_name, &secinfo->si_namelen); in nfsd4_decode_secinfo() 4298 struct nfsd4_secinfo *secinfo) in nfsd4_encode_secinfo() argument 4302 return nfsd4_do_encode_secinfo(xdr, secinfo->si_exp); in nfsd4_encode_secinfo() 4307 struct nfsd4_secinfo_no_name *secinfo) in nfsd4_encode_secinfo_no_name() argument 4311 return nfsd4_do_encode_secinfo(xdr, secinfo->sin_exp); in nfsd4_encode_secinfo_no_name()
|
D | xdr4.h | 663 struct nfsd4_secinfo secinfo; member
|