Home
last modified time | relevance | path

Searched refs:ceph_fmt_xattr (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/fs/ceph/
Dxattr.c119 static int ceph_fmt_xattr(char *val, size_t size, const char *fmt, ...) in ceph_fmt_xattr() function
143 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_unit); in ceph_vxattrcb_layout_stripe_unit()
149 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_count); in ceph_vxattrcb_layout_stripe_count()
155 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.object_size); in ceph_vxattrcb_layout_object_size()
174 ret = ceph_fmt_xattr(val, size, "%lld", pool); in ceph_vxattrcb_layout_pool()
200 return ceph_fmt_xattr(val, size, "%lld", ci->i_files + ci->i_subdirs); in ceph_vxattrcb_dir_entries()
206 return ceph_fmt_xattr(val, size, "%lld", ci->i_files); in ceph_vxattrcb_dir_files()
212 return ceph_fmt_xattr(val, size, "%lld", ci->i_subdirs); in ceph_vxattrcb_dir_subdirs()
218 return ceph_fmt_xattr(val, size, "%lld", in ceph_vxattrcb_dir_rentries()
225 return ceph_fmt_xattr(val, size, "%lld", ci->i_rfiles); in ceph_vxattrcb_dir_rfiles()
[all …]