Home
last modified time | relevance | path

Searched refs:cifs_acl (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/cifs/
Dcifsacl.h47 sizeof(struct cifs_acl) + \
87 struct cifs_acl { struct
Dcifsacl.c583 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl()
618 acl_size = sizeof(struct cifs_acl); in parse_dacl()
675 static int set_chmod_dacl(struct cifs_acl *pndacl, struct cifs_sid *pownersid, in set_chmod_dacl()
679 struct cifs_acl *pnndacl; in set_chmod_dacl()
681 pnndacl = (struct cifs_acl *)((char *)pndacl + sizeof(struct cifs_acl)); in set_chmod_dacl()
690 pndacl->size = cpu_to_le16(size + sizeof(struct cifs_acl)); in set_chmod_dacl()
736 struct cifs_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc()
748 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
798 struct cifs_acl *dacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc()
799 struct cifs_acl *ndacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc()
[all …]
Dcifssmb.c3357 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)src; in cifs_copy_posix_acl() local
3360 if (le16_to_cpu(cifs_acl->version) != CIFS_ACL_VERSION) in cifs_copy_posix_acl()
3364 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_copy_posix_acl()
3365 pACE = &cifs_acl->ace_array[0]; in cifs_copy_posix_acl()
3375 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_copy_posix_acl()
3379 pACE = &cifs_acl->ace_array[count]; in cifs_copy_posix_acl()
3380 count = le16_to_cpu(cifs_acl->default_entry_count); in cifs_copy_posix_acl()
3430 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)parm_data; in ACL_to_cifs_posix() local
3435 if ((buflen == 0) || (pACL == NULL) || (cifs_acl == NULL)) in ACL_to_cifs_posix()
3446 cifs_acl->version = cpu_to_le16(1); in ACL_to_cifs_posix()
[all …]
Dconnect.c1442 vol->cifs_acl = 1; in cifs_parse_mount_options()
1445 vol->cifs_acl = 0; in cifs_parse_mount_options()
3221 if (pvolume_info->cifs_acl) in cifs_setup_cifs_sb()
3266 if ((pvolume_info->cifs_acl) && (pvolume_info->dynperm)) in cifs_setup_cifs_sb()
Dcifsglob.h461 bool cifs_acl:1; member