Lines Matching refs:grant

3408 			     struct ceph_mds_caps *grant,  in handle_cap_grant()  argument
3415 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3416 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3418 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3419 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3475 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3490 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3497 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3498 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3515 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
3521 grant->xattr_len) { in handle_cap_grant()
3522 int len = le32_to_cpu(grant->xattr_len); in handle_cap_grant()
3523 u64 version = le64_to_cpu(grant->xattr_version); in handle_cap_grant()
3540 ceph_decode_timespec64(&mtime, &grant->mtime); in handle_cap_grant()
3541 ceph_decode_timespec64(&atime, &grant->atime); in handle_cap_grant()
3542 ceph_decode_timespec64(&ctime, &grant->ctime); in handle_cap_grant()
3544 le32_to_cpu(grant->time_warp_seq), in handle_cap_grant()
3558 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant()
3571 le32_to_cpu(grant->truncate_seq), in handle_cap_grant()
3572 le64_to_cpu(grant->truncate_size), in handle_cap_grant()
3598 if ((was_stale || le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) && in handle_cap_grant()
3657 if (le32_to_cpu(grant->op) == CEPH_CAP_OP_REVOKE) { in handle_cap_grant()
3673 if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) { in handle_cap_grant()
3679 !(le32_to_cpu(grant->wanted) & CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()