Home
last modified time | relevance | path

Searched refs:cifs_acl (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dcifsacl.c704 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl()
739 acl_size = sizeof(struct cifs_acl); in parse_dacl()
875 static int set_chmod_dacl(struct cifs_acl *pndacl, struct cifs_sid *pownersid, in set_chmod_dacl()
880 struct cifs_acl *pnndacl; in set_chmod_dacl()
882 pnndacl = (struct cifs_acl *)((char *)pndacl + sizeof(struct cifs_acl)); in set_chmod_dacl()
903 pndacl->size = cpu_to_le16(size + sizeof(struct cifs_acl)); in set_chmod_dacl()
949 struct cifs_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc()
961 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
1012 struct cifs_acl *dacl_pt in build_sec_desc()
[all...]
H A Dcifsacl.h47 sizeof(struct cifs_acl) + \
87 struct cifs_acl { struct
H A Dcifssmb.c3441 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)src; in cifs_copy_posix_acl() local
3444 if (le16_to_cpu(cifs_acl->version) != CIFS_ACL_VERSION) in cifs_copy_posix_acl()
3448 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_copy_posix_acl()
3449 pACE = &cifs_acl->ace_array[0]; in cifs_copy_posix_acl()
3459 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_copy_posix_acl()
3463 pACE = &cifs_acl->ace_array[count]; in cifs_copy_posix_acl()
3464 count = le16_to_cpu(cifs_acl->default_entry_count); in cifs_copy_posix_acl()
3513 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)parm_data; in ACL_to_cifs_posix() local
3519 if ((buflen == 0) || (pACL == NULL) || (cifs_acl == NULL)) in ACL_to_cifs_posix()
3530 cifs_acl in ACL_to_cifs_posix()
[all...]
H A Dconnect.c1680 vol->cifs_acl = 1; in cifs_parse_mount_options()
1683 vol->cifs_acl = 0; in cifs_parse_mount_options()
3974 if (pvolume_info->cifs_acl) in cifs_setup_cifs_sb()
4027 if ((pvolume_info->cifs_acl) && (pvolume_info->dynperm)) in cifs_setup_cifs_sb()
H A Dcifsglob.h565 bool cifs_acl:1; member
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifsacl.c761 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl()
796 acl_size = sizeof(struct cifs_acl); in parse_dacl()
1037 static __u16 replace_sids_and_copy_aces(struct cifs_acl *pdacl, struct cifs_acl *pndacl, in replace_sids_and_copy_aces()
1052 size = sizeof(struct cifs_acl); in replace_sids_and_copy_aces()
1056 nsize = sizeof(struct cifs_acl); in replace_sids_and_copy_aces()
1077 static int set_chmod_dacl(struct cifs_acl *pdacl, struct cifs_acl *pndacl, in set_chmod_dacl()
1094 nsize = sizeof(struct cifs_acl); in set_chmod_dacl()
1106 size = sizeof(struct cifs_acl); in set_chmod_dacl()
[all...]
H A Dcifsacl.h37 sizeof(struct cifs_acl) + \
77 struct cifs_acl { struct
H A Dfs_context.h201 bool cifs_acl:1; member
H A Dcifssmb.c2894 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)src; in cifs_to_posix_acl() local
2898 if (le16_to_cpu(cifs_acl->version) != CIFS_ACL_VERSION) in cifs_to_posix_acl()
2902 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_to_posix_acl()
2903 pACE = &cifs_acl->ace_array[0]; in cifs_to_posix_acl()
2913 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_to_posix_acl()
2917 pACE = &cifs_acl->ace_array[count]; in cifs_to_posix_acl()
2918 count = le16_to_cpu(cifs_acl->default_entry_count); in cifs_to_posix_acl()
2979 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)parm_data; in posix_acl_to_cifs() local
2984 if ((acl == NULL) || (cifs_acl == NULL)) in posix_acl_to_cifs()
2997 cifs_acl in posix_acl_to_cifs()
[all...]
H A Dfs_context.c1481 ctx->cifs_acl = !result.negated; in smb3_fs_context_parse_param()
1781 if (ctx->cifs_acl) in smb3_update_mnt_flags()
H A Dconnect.c3290 if ((ctx->cifs_acl) && (ctx->dynperm)) in cifs_setup_cifs_sb()

Completed in 36 milliseconds