Lines Matching defs:ptr
2297 __u8 *ptr, *aclptr;
2314 ptr = (__u8 *)&buf[1];
2317 owner_offset = ptr - (__u8 *)&buf->sd;
2322 setup_owner_group_sids(ptr);
2323 ptr += sizeof(struct owner_group_sids);
2346 buf->sd.OffsetDacl = cpu_to_le32(ptr - (__u8 *)&buf->sd);
2348 aclptr = ptr;
2349 ptr += sizeof(struct smb3_acl);
2352 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode);
2353 ptr += acelen;
2359 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr);
2360 ptr += acelen;
2366 acelen = setup_authusers_ACE((struct cifs_ace *)ptr);
2367 ptr += acelen;
2377 buf->ccontext.DataLength = cpu_to_le32(ptr - (__u8 *)&buf->sd);
2378 *len = roundup(ptr - (__u8 *)buf, 8);