Home
last modified time | relevance | path

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

/fs/ext4/
Dsysfs.c144 #define EXT4_ATTR(_name,_mode,_id) \ argument
145 static struct ext4_attr ext4_attr_##_name = { \
146 .attr = {.name = __stringify(_name), .mode = _mode }, \
150 #define EXT4_ATTR_FUNC(_name,_mode) EXT4_ATTR(_name,_mode,_name) argument
152 #define EXT4_ATTR_FEATURE(_name) EXT4_ATTR(_name, 0444, feature) argument
154 #define EXT4_ATTR_OFFSET(_name,_mode,_id,_struct,_elname) \ argument
155 static struct ext4_attr ext4_attr_##_name = { \
156 .attr = {.name = __stringify(_name), .mode = _mode }, \
164 #define EXT4_ATTR_STRING(_name,_mode,_size,_struct,_elname) \ argument
165 static struct ext4_attr ext4_attr_##_name = { \
[all …]
/fs/ceph/
Dxattr.c306 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument
307 #define CEPH_XATTR_NAME2(_type, _name, _name2) \ argument
308 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2
310 #define XATTR_NAME_CEPH(_type, _name, _flags) \ argument
312 .name = CEPH_XATTR_NAME(_type, _name), \
313 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \
314 .getxattr_cb = ceph_vxattrcb_ ## _type ## _ ## _name, \
318 #define XATTR_RSTAT_FIELD(_type, _name) \ argument
319 XATTR_NAME_CEPH(_type, _name, VXATTR_FLAG_RSTAT)
320 #define XATTR_RSTAT_FIELD_UPDATABLE(_type, _name) \ argument
[all …]
Dsuper.h802 #define CEPH_DEFINE_RW_CONTEXT(_name, _caps) \ argument
803 struct ceph_rw_context _name = { \
/fs/btrfs/
Dsysfs.c37 #define __INIT_KOBJ_ATTR(_name, _mode, _show, _store) \ argument
39 .attr = { .name = __stringify(_name), .mode = _mode }, \
44 #define BTRFS_ATTR_RW(_prefix, _name, _show, _store) \ argument
45 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
46 __INIT_KOBJ_ATTR(_name, 0644, _show, _store)
48 #define BTRFS_ATTR(_prefix, _name, _show) \ argument
49 static struct kobj_attribute btrfs_attr_##_prefix##_##_name = \
50 __INIT_KOBJ_ATTR(_name, 0444, _show, NULL)
52 #define BTRFS_ATTR_PTR(_prefix, _name) \ argument
53 (&btrfs_attr_##_prefix##_##_name.attr)
[all …]
/fs/xfs/
Dxfs_error.c122 #define XFS_ERRORTAG_ATTR_RW(_name, _tag) \ argument
123 static struct xfs_errortag_attr xfs_errortag_attr_##_name = { \
124 .attr = {.name = __stringify(_name), \
129 #define XFS_ERRORTAG_ATTR_LIST(_name) &xfs_errortag_attr_##_name.attr argument
/fs/ocfs2/cluster/
Dmasklog.c94 #define define_mask(_name) { \ argument
96 .name = #_name, \
99 .mask = ML_##_name, \
/fs/f2fs/
Dsysfs.c661 #define F2FS_FEATURE_RO_ATTR(_name) \ argument
662 static struct f2fs_attr f2fs_attr_##_name = { \
663 .attr = {.name = __stringify(_name), .mode = 0444 }, \
675 #define F2FS_SB_FEATURE_RO_ATTR(_name, _feat) \ argument
676 static struct f2fs_attr f2fs_attr_sb_##_name = { \
677 .attr = {.name = __stringify(_name), .mode = 0444 }, \
682 #define F2FS_ATTR_OFFSET(_struct_type, _name, _mode, _show, _store, _offset) \ argument
683 static struct f2fs_attr f2fs_attr_##_name = { \
684 .attr = {.name = __stringify(_name), .mode = _mode }, \
699 #define F2FS_STAT_ATTR(_struct_type, _struct_name, _name, _elname) \ argument
[all …]
/fs/gfs2/
Dsys.c520 #define GDLM_ATTR(_name,_mode,_show,_store) \ argument
521 static struct gfs2_attr gdlm_attr_##_name = __ATTR(_name,_mode,_show,_store)