Lines Matching refs:extra_info

3288 			     struct cap_extra_info *extra_info)  in handle_cap_grant()  argument
3356 inode_set_max_iversion_raw(inode, extra_info->change_attr); in handle_cap_grant()
3359 (extra_info->issued & CEPH_CAP_AUTH_EXCL) == 0) { in handle_cap_grant()
3369 ci->i_btime = extra_info->btime; in handle_cap_grant()
3376 (extra_info->issued & CEPH_CAP_LINK_EXCL) == 0) { in handle_cap_grant()
3383 if ((extra_info->issued & CEPH_CAP_XATTR_EXCL) == 0 && in handle_cap_grant()
3406 ceph_fill_file_time(inode, extra_info->issued, in handle_cap_grant()
3411 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
3412 ci->i_files = extra_info->nfiles; in handle_cap_grant()
3413 ci->i_subdirs = extra_info->nsubdirs; in handle_cap_grant()
3424 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant()
3427 extra_info->pool_ns != old_ns) in handle_cap_grant()
3430 extra_info->pool_ns = old_ns; in handle_cap_grant()
3433 queue_trunc = ceph_fill_file_size(inode, extra_info->issued, in handle_cap_grant()
3516 if (extra_info->inline_version > 0 && in handle_cap_grant()
3517 extra_info->inline_version >= ci->i_inline_version) { in handle_cap_grant()
3518 ci->i_inline_version = extra_info->inline_version; in handle_cap_grant()
3526 if (newcaps & ~extra_info->issued) in handle_cap_grant()
3544 ceph_fill_inline_data(inode, NULL, extra_info->inline_data, in handle_cap_grant()
3545 extra_info->inline_len); in handle_cap_grant()
4039 struct cap_extra_info extra_info = {}; in ceph_handle_caps() local
4080 ceph_decode_64_safe(&p, end, extra_info.inline_version, bad); in ceph_handle_caps()
4081 ceph_decode_32_safe(&p, end, extra_info.inline_len, bad); in ceph_handle_caps()
4082 if (p + extra_info.inline_len > end) in ceph_handle_caps()
4084 extra_info.inline_data = p; in ceph_handle_caps()
4085 p += extra_info.inline_len; in ceph_handle_caps()
4108 extra_info.pool_ns = in ceph_handle_caps()
4120 ceph_decode_timespec64(&extra_info.btime, btime); in ceph_handle_caps()
4122 ceph_decode_64_safe(&p, end, extra_info.change_attr, bad); in ceph_handle_caps()
4129 extra_info.dirstat_valid = true; in ceph_handle_caps()
4130 ceph_decode_64_safe(&p, end, extra_info.nfiles, bad); in ceph_handle_caps()
4131 ceph_decode_64_safe(&p, end, extra_info.nsubdirs, bad); in ceph_handle_caps()
4187 &cap, &extra_info.issued); in ceph_handle_caps()
4189 h, msg->middle, &extra_info); in ceph_handle_caps()
4210 __ceph_caps_issued(ci, &extra_info.issued); in ceph_handle_caps()
4211 extra_info.issued |= __ceph_caps_dirty(ci); in ceph_handle_caps()
4213 h, msg->middle, &extra_info); in ceph_handle_caps()
4239 ceph_put_string(extra_info.pool_ns); in ceph_handle_caps()