Lines Matching refs:ptr
2584 __u8 *ptr, *aclptr;
2601 ptr = (__u8 *)&buf[1];
2604 owner_offset = ptr - (__u8 *)&buf->sd;
2609 setup_owner_group_sids(ptr);
2610 ptr += sizeof(struct owner_group_sids);
2633 buf->sd.OffsetDacl = cpu_to_le32(ptr - (__u8 *)&buf->sd);
2635 aclptr = ptr;
2636 ptr += sizeof(struct smb3_acl);
2639 acelen = setup_special_mode_ACE((struct cifs_ace *)ptr, (__u64)mode);
2640 ptr += acelen;
2646 acelen = setup_special_user_owner_ACE((struct cifs_ace *)ptr);
2647 ptr += acelen;
2653 acelen = setup_authusers_ACE((struct cifs_ace *)ptr);
2654 ptr += acelen;
2664 buf->ccontext.DataLength = cpu_to_le32(ptr - (__u8 *)&buf->sd);
2665 *len = round_up((unsigned int)(ptr - (__u8 *)buf), 8);