Home
last modified time | relevance | path

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

/fs/erofs/
Dsysfs.c25 int struct_type, offset; member
40 .struct_type = struct_##_struct, \
98 int struct_type, int offset) in __struct_ptr() argument
100 if (struct_type == struct_erofs_sb_info) in __struct_ptr()
102 if (struct_type == struct_erofs_mount_opts) in __struct_ptr()
113 unsigned char *ptr = __struct_ptr(sbi, a->struct_type, a->offset); in erofs_attr_show()
136 unsigned char *ptr = __struct_ptr(sbi, a->struct_type, a->offset); in erofs_attr_store()
/fs/f2fs/
Dsysfs.c59 int struct_type; member
67 static unsigned char *__struct_ptr(struct f2fs_sb_info *sbi, int struct_type) in __struct_ptr() argument
69 if (struct_type == GC_THREAD) in __struct_ptr()
71 else if (struct_type == SM_INFO) in __struct_ptr()
73 else if (struct_type == DCC_INFO) in __struct_ptr()
75 else if (struct_type == NM_INFO) in __struct_ptr()
77 else if (struct_type == F2FS_SBI || struct_type == RESERVED_BLOCKS) in __struct_ptr()
80 else if (struct_type == FAULT_INFO_RATE || in __struct_ptr()
81 struct_type == FAULT_INFO_TYPE) in __struct_ptr()
85 else if (struct_type == STAT_INFO) in __struct_ptr()
[all …]