Lines Matching refs:grant
3487 struct ceph_mds_caps *grant, in handle_cap_grant() argument
3495 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3496 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3498 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3499 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3558 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3573 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3580 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3581 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3600 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
3606 grant->xattr_len) { in handle_cap_grant()
3607 int len = le32_to_cpu(grant->xattr_len); in handle_cap_grant()
3608 u64 version = le64_to_cpu(grant->xattr_version); in handle_cap_grant()
3625 ceph_decode_timespec64(&mtime, &grant->mtime); in handle_cap_grant()
3626 ceph_decode_timespec64(&atime, &grant->atime); in handle_cap_grant()
3627 ceph_decode_timespec64(&ctime, &grant->ctime); in handle_cap_grant()
3629 le32_to_cpu(grant->time_warp_seq), in handle_cap_grant()
3643 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant()
3656 le32_to_cpu(grant->truncate_seq), in handle_cap_grant()
3657 le64_to_cpu(grant->truncate_size), in handle_cap_grant()
3682 if ((was_stale || le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) && in handle_cap_grant()
3743 if (!revoke_wait && le32_to_cpu(grant->op) == CEPH_CAP_OP_REVOKE) { in handle_cap_grant()
3760 if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) { in handle_cap_grant()
3766 !(le32_to_cpu(grant->wanted) & CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()