Lines Matching refs:mapping

335  *	mapping pattern.
357 * through an implicit mapping
391 * check whether part of mapping had to be
436 * the mapping file)
480 * the mapping file)
514 * No explicit mapping found, try implicit mapping
537 * No explicit mapping found, try implicit mapping
1609 const SID *usid, struct MAPPING* const mapping[],
1643 sid = ntfs_find_usid(mapping[MAPUSERS],
1771 const SID *usid, struct MAPPING* const mapping[],
1799 sid = ntfs_find_usid(mapping[MAPUSERS],
1852 const SID *gsid, struct MAPPING* const mapping[],
1885 sid = ntfs_find_gsid(mapping[MAPGROUPS],
2047 * for mapping NFSv4 ACLs to Posix ACLs (draft-ietf-nfsv4-acl-mapping-00.txt)
2048 * More recent versions of the draft (draft-ietf-nfsv4-acl-mapping-05.txt)
2106 static int buildacls_posix(struct MAPPING* const mapping[],
2190 sid = ntfs_find_usid(mapping[MAPUSERS],
2201 sid = ntfs_find_gsid(mapping[MAPUSERS],
2259 usid, mapping, flags, pxace, pset);
2318 mapping,flags,pxace,pset);
2329 mapping,flags,pxace,pset);
2338 mapping,flags,pxace,pset);
2757 char *ntfs_build_descr_posix(struct MAPPING* const mapping[],
2816 aclsz = buildacls_posix(mapping,newattr,
3626 static uid_t find_tenant(struct MAPPING *const mapping[],
3652 xid = ntfs_find_user(mapping[MAPUSERS], &pace->sid);
3676 struct MAPPING *const mapping[],
3787 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3793 uid = ntfs_find_user(mapping[MAPUSERS],&pace->sid);
3816 uid = ntfs_find_user(mapping[MAPUSERS],&pace->sid);
3848 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3882 uid = ntfs_find_user(mapping[MAPUSERS],&pace->sid);
3895 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
4202 * Get a single mapping item from buffer
4261 ntfs_log_early_error("Bad mapping item \"%s\"\n",
4276 * Read user mapping file and split into their attribute.
4281 * If an absolute path is provided, the mapping file is assumed
4284 * If a relative path is provided, the mapping file is assumed
4323 * Free memory used to store the user mapping
4327 void ntfs_free_mapping(struct MAPPING *mapping[])
4333 while (mapping[MAPUSERS]) {
4334 user = mapping[MAPUSERS];
4336 group = mapping[MAPGROUPS];
4345 mapping[MAPUSERS] = user->next;
4349 while (mapping[MAPGROUPS]) {
4350 group = mapping[MAPGROUPS];
4353 mapping[MAPGROUPS] = group->next;
4360 * Build the user mapping list
4373 struct MAPPING *mapping;
4396 * to define the implicit mapping pattern
4414 mapping =
4417 if (mapping) {
4418 mapping->sid = sid;
4419 mapping->xid = uid;
4420 mapping->grcnt = 0;
4421 mapping->next = (struct MAPPING*)NULL;
4423 lastmapping->next = mapping;
4425 firstmapping = mapping;
4426 lastmapping = mapping;
4435 * Build the group mapping list
4451 struct MAPPING *mapping;
4482 * second step to define the implicit mapping pattern
4494 mapping = (struct MAPPING*)
4496 if (mapping) {
4497 mapping->sid = sid;
4498 mapping->xid = gid;
4501 mapping->groups =
4502 (gid_t*)&mapping->xid;
4503 mapping->grcnt = 1;
4505 mapping->grcnt = 0;
4508 mapping->next = (struct MAPPING*)NULL;
4510 lastmapping->next = mapping;
4512 firstmapping = mapping;
4513 lastmapping = mapping;