/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_cred.c | 50 smb_user_setcred(smb_user_t *user, cred_t *cr, uint32_t privileges) argument 54 user->u_privileges = privileges;
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_lmr_util.c | 103 dapl_lmr_convert_privileges(IN DAT_MEM_PRIV_FLAGS privileges) argument 108 * if (DAT_MEM_PRIV_LOCAL_READ_FLAG & privileges) 111 if (DAT_MEM_PRIV_LOCAL_WRITE_FLAG & privileges) { 114 if (DAT_MEM_PRIV_REMOTE_READ_FLAG & privileges) { 117 if (DAT_MEM_PRIV_REMOTE_WRITE_FLAG & privileges) { 120 if (DAT_MEM_PRIV_RO_DISABLE_FLAG & privileges) {
|
H A D | dapl_rmr_util.c | 103 dapl_rmr_convert_privileges(IN DAT_MEM_PRIV_FLAGS privileges) argument 107 if (DAT_MEM_PRIV_REMOTE_READ_FLAG & privileges) { 110 if (DAT_MEM_PRIV_REMOTE_WRITE_FLAG & privileges) {
|
H A D | dapl_lmr_create.c | 57 IN DAT_MEM_PRIV_FLAGS privileges, 68 IN DAT_MEM_PRIV_FLAGS privileges, 85 IN DAT_MEM_PRIV_FLAGS privileges, 100 reg_desc, length, (DAT_PZ_HANDLE) pz, privileges); 110 length, privileges); 113 length, shm_cookie, privileges); 175 IN DAT_MEM_PRIV_FLAGS privileges, 190 pz, privileges, 206 (DAT_PZ_HANDLE) pz, privileges); 214 dat_status = dapls_ib_mr_register_lmr(ia, lmr, privileges); 80 dapl_lmr_create_virtual(IN DAPL_IA *ia, IN DAT_PVOID virt_addr, IN DAT_VLEN length, IN DAT_LMR_COOKIE shm_cookie, IN DAPL_PZ *pz, IN DAT_MEM_PRIV_FLAGS privileges, OUT DAT_LMR_HANDLE *lmr_handle, OUT DAT_LMR_CONTEXT *lmr_context, OUT DAT_RMR_CONTEXT *rmr_context, OUT DAT_VLEN *registered_length, OUT DAT_VADDR *registered_address) argument 172 dapl_lmr_create_lmr(IN DAPL_IA *ia, IN DAPL_LMR *original_lmr, IN DAPL_PZ *pz, IN DAT_MEM_PRIV_FLAGS privileges, OUT DAT_LMR_HANDLE *lmr_handle, OUT DAT_LMR_CONTEXT *lmr_context, OUT DAT_RMR_CONTEXT *rmr_context, OUT DAT_VLEN *registered_length, OUT DAT_VADDR *registered_address) argument 302 dapl_lmr_create(IN DAT_IA_HANDLE ia_handle, IN DAT_MEM_TYPE mem_type, IN DAT_REGION_DESCRIPTION region_description, IN DAT_VLEN length, IN DAT_PZ_HANDLE pz_handle, IN DAT_MEM_PRIV_FLAGS privileges, OUT DAT_LMR_HANDLE *lmr_handle, OUT DAT_LMR_CONTEXT *lmr_context, OUT DAT_RMR_CONTEXT *rmr_context, OUT DAT_VLEN *registered_length, OUT DAT_VADDR *registered_address) argument [all...] |
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | udat_api.c | 51 IN DAT_MEM_PRIV_FLAGS privileges, 66 privileges, 45 dat_lmr_create( IN DAT_IA_HANDLE ia_handle, IN DAT_MEM_TYPE mem_type, IN DAT_REGION_DESCRIPTION region_description, IN DAT_VLEN length, IN DAT_PZ_HANDLE pz_handle, IN DAT_MEM_PRIV_FLAGS privileges, OUT DAT_LMR_HANDLE *lmr_handle, OUT DAT_LMR_CONTEXT *lmr_context, OUT DAT_RMR_CONTEXT *rmr_context, OUT DAT_VLEN *registered_length, OUT DAT_VADDR *registered_address) argument
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_authenticate.c | 391 uint32_t privileges; local 443 privileges = smb_priv_xlate(token); 446 token->tkn_flags, privileges, token->tkn_audit_sid); 492 * Convert access token privileges to local definitions. 497 uint32_t privileges = 0; local 500 privileges |= SMB_USER_PRIV_BACKUP; 503 privileges |= SMB_USER_PRIV_RESTORE; 506 privileges |= SMB_USER_PRIV_TAKE_OWNERSHIP; 509 privileges |= SMB_USER_PRIV_SECURITY; 511 return (privileges); [all...] |
H A D | smb_user.c | 265 uint32_t privileges, 291 smb_user_setcred(user, cr, privileges); 570 * Assign the user cred and privileges. 573 * and add those privileges to this new privileged cred. 576 smb_user_setcred(smb_user_t *user, cred_t *cr, uint32_t privileges) argument 583 if (privileges & (SMB_USER_PRIV_BACKUP | SMB_USER_PRIV_RESTORE)) 587 if (privileges & SMB_USER_PRIV_BACKUP) { 592 if (privileges & SMB_USER_PRIV_RESTORE) { 603 user->u_privileges = privileges; 259 smb_user_logon( smb_user_t *user, cred_t *cr, char *domain_name, char *account_name, uint32_t flags, uint32_t privileges, uint32_t audit_sid) argument
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_ibtf_util.c | 710 IN DAT_MEM_PRIV_FLAGS privileges) 738 dapl_lmr_convert_privileges(privileges); 796 IN DAT_MEM_PRIV_FLAGS privileges) 824 dapl_lmr_convert_privileges(privileges); 942 IN DAT_MEM_PRIV_FLAGS privileges) 964 dapl_lmr_convert_privileges(privileges); 705 dapls_ib_mr_register( IN DAPL_IA *ia, IN DAPL_LMR *lmr, IN DAT_PVOID virt_addr, IN DAT_VLEN length, IN DAT_MEM_PRIV_FLAGS privileges) argument 790 dapls_ib_mr_register_shared( IN DAPL_IA *ia, IN DAPL_LMR *lmr, IN DAT_PVOID virt_addr, IN DAT_VLEN length, IN DAT_LMR_COOKIE cookie, IN DAT_MEM_PRIV_FLAGS privileges) argument 939 dapls_ib_mr_register_lmr( IN DAPL_IA *ia, IN DAPL_LMR *lmr, IN DAT_MEM_PRIV_FLAGS privileges) argument
|