Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 33) sorted by relevance

12

/fs/orangefs/
Dorangefs-sysfs.c166 struct attribute attr;
177 struct attribute *attr, in orangefs_attr_show()
180 struct orangefs_attribute *attribute; in orangefs_attr_show() local
182 attribute = container_of(attr, struct orangefs_attribute, attr); in orangefs_attr_show()
183 if (!attribute->show) in orangefs_attr_show()
185 return attribute->show(kobj, attribute, buf); in orangefs_attr_show()
189 struct attribute *attr, in orangefs_attr_store()
193 struct orangefs_attribute *attribute; in orangefs_attr_store() local
199 attribute = container_of(attr, struct orangefs_attribute, attr); in orangefs_attr_store()
200 if (!attribute->store) in orangefs_attr_store()
[all …]
/fs/sysfs/
Dfile.c246 const struct attribute *attr, bool is_bin, in sysfs_add_file_mode_ns()
321 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns()
337 int sysfs_create_files(struct kobject *kobj, const struct attribute * const *ptr) in sysfs_create_files()
358 const struct attribute *attr, const char *group) in sysfs_add_file_to_group()
391 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file()
423 const struct attribute *attr) in sysfs_break_active_protection()
464 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_remove_file_ns()
480 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) in sysfs_remove_file_self()
496 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr) in sysfs_remove_files()
512 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
Dgroup.c22 struct attribute *const *attr; in remove_files()
37 struct attribute *const *attr; in create_files()
332 struct attribute *const *attr; in sysfs_merge_group()
363 struct attribute *const *attr; in sysfs_unmerge_group()
Dsysfs.h31 const struct attribute *attr, bool is_bin,
/fs/nilfs2/
Dsysfs.c37 struct attribute *attr, char *buf) \
48 struct attribute *attr, \
141 static struct attribute *nilfs_snapshot_attrs[] = {
149 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show()
160 struct attribute *attr, in nilfs_snapshot_attr_store()
240 static struct attribute *nilfs_mounted_snapshots_attrs[] = {
349 static struct attribute *nilfs_checkpoints_attrs[] = {
438 static struct attribute *nilfs_segments_attrs[] = {
690 static struct attribute *nilfs_segctor_attrs[] = {
826 static struct attribute *nilfs_superblock_attrs[] = {
[all …]
Dsysfs.h55 struct attribute attr; \
56 ssize_t (*show)(struct kobject *, struct attribute *, \
58 ssize_t (*store)(struct kobject *, struct attribute *, \
66 struct attribute attr; \
82 struct attribute attr; \
/fs/xfs/
Dxfs_sysfs.c17 struct attribute attr;
24 to_attr(struct attribute *attr) in to_attr()
41 struct attribute *attr, in xfs_sysfs_object_show()
52 struct attribute *attr, in xfs_sysfs_object_store()
66 static struct attribute *xfs_mp_attrs[] = {
231 static struct attribute *xfs_dbg_attrs[] = {
293 static struct attribute *xfs_stats_attrs[] = {
376 static struct attribute *xfs_log_attrs[] = {
531 static struct attribute *xfs_error_attrs[] = {
Dxfs_error.c59 struct attribute attr;
64 to_attr(struct attribute *attr) in to_attr()
80 struct attribute *attr, in xfs_errortag_attr_store()
106 struct attribute *attr, in xfs_errortag_attr_show()
166 static struct attribute *xfs_errortag_attrs[] = {
/fs/ocfs2/cluster/
Dmasklog.c88 struct attribute attr;
125 static struct attribute *mlog_attr_ptrs[MLOG_MAX_BITS] = {NULL, };
127 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, in mlog_show()
135 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, in mlog_store()
Dsys.c31 static struct attribute *o2cb_attrs[] = {
/fs/btrfs/
Dsysfs.c77 static struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) in attr_to_btrfs_attr()
83 struct attribute *attr) in attr_to_btrfs_feature_attr()
228 struct attribute *attr, int unused) in btrfs_feature_visible()
262 static struct attribute *btrfs_supported_feature_attrs[] = {
298 static struct attribute *btrfs_supported_static_feature_attrs[] = {
322 static struct attribute *btrfs_debug_feature_attrs[] = {
390 static struct attribute *raid_attrs[] = {
439 static struct attribute *space_info_attrs[] = {
467 static const struct attribute *allocation_attrs[] = {
607 static const struct attribute *btrfs_attrs[] = {
[all …]
/fs/ext4/
Dsysfs.c46 struct attribute attr;
205 static struct attribute *ext4_attrs[] = {
250 static struct attribute *ext4_feat_attrs[] = {
291 struct attribute *attr, char *buf) in ext4_attr_show()
340 struct attribute *attr, in ext4_attr_store()
/fs/gfs2/
Dsys.c31 struct attribute attr;
36 static ssize_t gfs2_attr_show(struct kobject *kobj, struct attribute *attr, in gfs2_attr_show()
44 static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr, in gfs2_attr_store()
286 static struct attribute *gfs2_attrs[] = {
530 static struct attribute *lock_module_attrs[] = {
622 static struct attribute *tune_attrs[] = {
/fs/f2fs/
Dsysfs.c36 struct attribute attr;
352 struct attribute *attr, char *buf) in f2fs_attr_show()
361 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store()
508 static struct attribute *f2fs_attrs[] = {
556 static struct attribute *f2fs_feat_attrs[] = {
DKconfig62 Linux. This option enables an extended attribute handler for file
64 the extended attribute support in advance. In particular you need this
/fs/ocfs2/
Dfilecheck.c93 static struct attribute *ocfs2_filecheck_attrs[] = {
109 ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf) in ocfs2_filecheck_show()
123 ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr, in ocfs2_filecheck_store()
/fs/erofs/
DKconfig62 Linux. This option enables an extended attribute handler for file
64 the extended attribute support in advance.
/fs/ubifs/
DKconfig82 Linux. This option enables an extended attribute handler for file
84 the extended attribute support in advance.
/fs/dlm/
Dlockspace.c115 struct attribute attr;
152 static struct attribute *dlm_attrs[] = {
163 static ssize_t dlm_attr_show(struct kobject *kobj, struct attribute *attr, in dlm_attr_show()
171 static ssize_t dlm_attr_store(struct kobject *kobj, struct attribute *attr, in dlm_attr_store()
/fs/incfs/
Dmain.c33 static struct attribute *attributes[] = {
/fs/9p/
DKconfig40 enables an extended attribute handler for file security
/fs/ext2/
DKconfig37 enables an extended attribute handler for file security
/fs/ceph/
DKconfig46 enables an extended attribute handler for file security
/fs/jfs/
DKconfig28 enables an extended attribute handler for file security
/fs/nfs/
Dsysfs.c137 static struct attribute *nfs_netns_client_attrs[] = {

12