Lines Matching refs:attr

166 	struct attribute attr;
168 struct orangefs_attribute *attr,
171 struct orangefs_attribute *attr,
177 struct attribute *attr,
182 attribute = container_of(attr, struct orangefs_attribute, attr);
189 struct attribute *attr,
199 attribute = container_of(attr, struct orangefs_attribute, attr);
211 struct orangefs_attribute *attr, char *buf)
219 if (!strcmp(attr->attr.name, "op_timeout_secs")) {
225 } else if (!strcmp(attr->attr.name,
232 } else if (!strcmp(attr->attr.name,
239 } else if (!strcmp(attr->attr.name,
246 } else if (!strcmp(attr->attr.name,
258 if (!strcmp(attr->attr.name, "reads")) {
264 } else if (!strcmp(attr->attr.name, "writes")) {
281 struct orangefs_attribute *attr, const char *buf, size_t count)
286 "sysfs_int_store: start attr->attr.name:%s: buf:%s:\n",
287 attr->attr.name, buf);
289 if (!strcmp(attr->attr.name, "op_timeout_secs")) {
292 } else if (!strcmp(attr->attr.name, "slot_timeout_secs")) {
295 } else if (!strcmp(attr->attr.name, "cache_timeout_msecs")) {
298 } else if (!strcmp(attr->attr.name, "dcache_timeout_msecs")) {
301 } else if (!strcmp(attr->attr.name, "getattr_timeout_msecs")) {
321 struct orangefs_attribute *attr, char *buf)
356 (!strcmp(attr->attr.name, "readahead_count") ||
357 !strcmp(attr->attr.name, "readahead_size") ||
358 !strcmp(attr->attr.name, "readahead_count_size") ||
359 !strcmp(attr->attr.name, "readahead_readcnt"))) {
364 if (!strcmp(attr->attr.name, "perf_history_size"))
367 else if (!strcmp(attr->attr.name,
371 else if (!strcmp(attr->attr.name,
376 else if (!strcmp(attr->attr.name,
381 else if (!strcmp(attr->attr.name,
386 else if (!strcmp(attr->attr.name,
391 else if (!strcmp(attr->attr.name,
396 if (!strcmp(attr->attr.name, "timeout_msecs"))
400 if (!strcmp(attr->attr.name, "hard_limit"))
404 if (!strcmp(attr->attr.name, "soft_limit"))
408 if (!strcmp(attr->attr.name, "reclaim_percentage"))
413 if (!strcmp(attr->attr.name, "timeout_secs"))
417 if (!strcmp(attr->attr.name, "hard_limit"))
421 if (!strcmp(attr->attr.name, "soft_limit"))
425 if (!strcmp(attr->attr.name, "reclaim_percentage"))
430 if (!strcmp(attr->attr.name, "timeout_secs"))
434 if (!strcmp(attr->attr.name, "hard_limit"))
438 if (!strcmp(attr->attr.name, "soft_limit"))
442 if (!strcmp(attr->attr.name, "reclaim_percentage"))
447 if (!strcmp(attr->attr.name, "timeout_msecs"))
451 if (!strcmp(attr->attr.name, "hard_limit"))
455 if (!strcmp(attr->attr.name, "soft_limit"))
459 if (!strcmp(attr->attr.name, "reclaim_percentage"))
464 if (!strcmp(attr->attr.name, ACACHE_KOBJ_ID))
468 if (!strcmp(attr->attr.name, CAPCACHE_KOBJ_ID))
472 if (!strcmp(attr->attr.name, NCACHE_KOBJ_ID))
536 struct orangefs_attribute *attr, const char *buf, size_t count)
564 strcmp(attr->attr.name, "readahead_count_size")) {
575 (!strcmp(attr->attr.name, "readahead_count") ||
576 !strcmp(attr->attr.name, "readahead_size") ||
577 !strcmp(attr->attr.name, "readahead_count_size") ||
578 !strcmp(attr->attr.name, "readahead_readcnt"))) {
583 if (!strcmp(attr->attr.name, "perf_history_size")) {
591 } else if (!strcmp(attr->attr.name,
600 } else if (!strcmp(attr->attr.name,
609 } else if (!strcmp(attr->attr.name,
618 } else if (!strcmp(attr->attr.name,
627 } else if (!strcmp(attr->attr.name,
645 } else if (!strcmp(attr->attr.name,
657 if (!strcmp(attr->attr.name, "hard_limit")) {
665 } else if (!strcmp(attr->attr.name, "soft_limit")) {
673 } else if (!strcmp(attr->attr.name,
682 } else if (!strcmp(attr->attr.name, "timeout_msecs")) {
693 if (!strcmp(attr->attr.name, "hard_limit")) {
701 } else if (!strcmp(attr->attr.name, "soft_limit")) {
709 } else if (!strcmp(attr->attr.name,
718 } else if (!strcmp(attr->attr.name, "timeout_secs")) {
729 if (!strcmp(attr->attr.name, "hard_limit")) {
737 } else if (!strcmp(attr->attr.name, "soft_limit")) {
745 } else if (!strcmp(attr->attr.name,
754 } else if (!strcmp(attr->attr.name, "timeout_secs")) {
765 if (!strcmp(attr->attr.name, "hard_limit")) {
773 } else if (!strcmp(attr->attr.name, "soft_limit")) {
781 } else if (!strcmp(attr->attr.name,
790 } else if (!strcmp(attr->attr.name, "timeout_msecs")) {
883 &op_timeout_secs_attribute.attr,
884 &slot_timeout_secs_attribute.attr,
885 &cache_timeout_msecs_attribute.attr,
886 &dcache_timeout_msecs_attribute.attr,
887 &getattr_timeout_msecs_attribute.attr,
888 &readahead_count_attribute.attr,
889 &readahead_size_attribute.attr,
890 &readahead_count_size_attribute.attr,
891 &readahead_readcnt_attribute.attr,
892 &perf_counter_reset_attribute.attr,
893 &perf_history_size_attribute.attr,
894 &perf_time_interval_secs_attribute.attr,
938 &acache_hard_limit_attribute.attr,
939 &acache_reclaim_percent_attribute.attr,
940 &acache_soft_limit_attribute.attr,
941 &acache_timeout_msecs_attribute.attr,
985 &capcache_hard_limit_attribute.attr,
986 &capcache_reclaim_percent_attribute.attr,
987 &capcache_soft_limit_attribute.attr,
988 &capcache_timeout_secs_attribute.attr,
1032 &ccache_hard_limit_attribute.attr,
1033 &ccache_reclaim_percent_attribute.attr,
1034 &ccache_soft_limit_attribute.attr,
1035 &ccache_timeout_secs_attribute.attr,
1079 &ncache_hard_limit_attribute.attr,
1080 &ncache_reclaim_percent_attribute.attr,
1081 &ncache_soft_limit_attribute.attr,
1082 &ncache_timeout_msecs_attribute.attr,
1120 &pc_acache_attribute.attr,
1121 &pc_capcache_attribute.attr,
1122 &pc_ncache_attribute.attr,
1154 &stats_reads_attribute.attr,
1155 &stats_writes_attribute.attr,