Lines Matching refs:grant

3325 			     struct ceph_mds_caps *grant,  in handle_cap_grant()  argument
3332 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3333 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3335 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3336 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3384 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3399 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3406 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3407 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3416 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
3422 grant->xattr_len) { in handle_cap_grant()
3423 int len = le32_to_cpu(grant->xattr_len); in handle_cap_grant()
3424 u64 version = le64_to_cpu(grant->xattr_version); in handle_cap_grant()
3441 ceph_decode_timespec64(&mtime, &grant->mtime); in handle_cap_grant()
3442 ceph_decode_timespec64(&atime, &grant->atime); in handle_cap_grant()
3443 ceph_decode_timespec64(&ctime, &grant->ctime); in handle_cap_grant()
3445 le32_to_cpu(grant->time_warp_seq), in handle_cap_grant()
3459 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant()
3472 le32_to_cpu(grant->truncate_seq), in handle_cap_grant()
3473 le64_to_cpu(grant->truncate_size), in handle_cap_grant()
3499 if ((was_stale || le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) && in handle_cap_grant()
3565 if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) { in handle_cap_grant()
3571 !(le32_to_cpu(grant->wanted) & CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()