• Home
  • Raw
  • Download

Lines Matching refs:opts

449 	struct f_ss_opts *opts;  in sourcesink_free_func()  local
451 opts = container_of(f->fi, struct f_ss_opts, func_inst); in sourcesink_free_func()
453 mutex_lock(&opts->lock); in sourcesink_free_func()
454 opts->refcnt--; in sourcesink_free_func()
455 mutex_unlock(&opts->lock); in sourcesink_free_func()
891 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_pattern_show() local
894 mutex_lock(&opts->lock); in f_ss_opts_pattern_show()
895 result = sprintf(page, "%u\n", opts->pattern); in f_ss_opts_pattern_show()
896 mutex_unlock(&opts->lock); in f_ss_opts_pattern_show()
904 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_pattern_store() local
908 mutex_lock(&opts->lock); in f_ss_opts_pattern_store()
909 if (opts->refcnt) { in f_ss_opts_pattern_store()
923 opts->pattern = num; in f_ss_opts_pattern_store()
926 mutex_unlock(&opts->lock); in f_ss_opts_pattern_store()
934 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_interval_show() local
937 mutex_lock(&opts->lock); in f_ss_opts_isoc_interval_show()
938 result = sprintf(page, "%u\n", opts->isoc_interval); in f_ss_opts_isoc_interval_show()
939 mutex_unlock(&opts->lock); in f_ss_opts_isoc_interval_show()
947 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_interval_store() local
951 mutex_lock(&opts->lock); in f_ss_opts_isoc_interval_store()
952 if (opts->refcnt) { in f_ss_opts_isoc_interval_store()
966 opts->isoc_interval = num; in f_ss_opts_isoc_interval_store()
969 mutex_unlock(&opts->lock); in f_ss_opts_isoc_interval_store()
977 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxpacket_show() local
980 mutex_lock(&opts->lock); in f_ss_opts_isoc_maxpacket_show()
981 result = sprintf(page, "%u\n", opts->isoc_maxpacket); in f_ss_opts_isoc_maxpacket_show()
982 mutex_unlock(&opts->lock); in f_ss_opts_isoc_maxpacket_show()
990 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxpacket_store() local
994 mutex_lock(&opts->lock); in f_ss_opts_isoc_maxpacket_store()
995 if (opts->refcnt) { in f_ss_opts_isoc_maxpacket_store()
1009 opts->isoc_maxpacket = num; in f_ss_opts_isoc_maxpacket_store()
1012 mutex_unlock(&opts->lock); in f_ss_opts_isoc_maxpacket_store()
1020 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_mult_show() local
1023 mutex_lock(&opts->lock); in f_ss_opts_isoc_mult_show()
1024 result = sprintf(page, "%u\n", opts->isoc_mult); in f_ss_opts_isoc_mult_show()
1025 mutex_unlock(&opts->lock); in f_ss_opts_isoc_mult_show()
1033 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_mult_store() local
1037 mutex_lock(&opts->lock); in f_ss_opts_isoc_mult_store()
1038 if (opts->refcnt) { in f_ss_opts_isoc_mult_store()
1052 opts->isoc_mult = num; in f_ss_opts_isoc_mult_store()
1055 mutex_unlock(&opts->lock); in f_ss_opts_isoc_mult_store()
1063 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxburst_show() local
1066 mutex_lock(&opts->lock); in f_ss_opts_isoc_maxburst_show()
1067 result = sprintf(page, "%u\n", opts->isoc_maxburst); in f_ss_opts_isoc_maxburst_show()
1068 mutex_unlock(&opts->lock); in f_ss_opts_isoc_maxburst_show()
1076 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxburst_store() local
1080 mutex_lock(&opts->lock); in f_ss_opts_isoc_maxburst_store()
1081 if (opts->refcnt) { in f_ss_opts_isoc_maxburst_store()
1095 opts->isoc_maxburst = num; in f_ss_opts_isoc_maxburst_store()
1098 mutex_unlock(&opts->lock); in f_ss_opts_isoc_maxburst_store()
1106 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_bulk_buflen_show() local
1109 mutex_lock(&opts->lock); in f_ss_opts_bulk_buflen_show()
1110 result = sprintf(page, "%u\n", opts->bulk_buflen); in f_ss_opts_bulk_buflen_show()
1111 mutex_unlock(&opts->lock); in f_ss_opts_bulk_buflen_show()
1119 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_bulk_buflen_store() local
1123 mutex_lock(&opts->lock); in f_ss_opts_bulk_buflen_store()
1124 if (opts->refcnt) { in f_ss_opts_bulk_buflen_store()
1133 opts->bulk_buflen = num; in f_ss_opts_bulk_buflen_store()
1136 mutex_unlock(&opts->lock); in f_ss_opts_bulk_buflen_store()
1144 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_bulk_qlen_show() local
1147 mutex_lock(&opts->lock); in f_ss_opts_bulk_qlen_show()
1148 result = sprintf(page, "%u\n", opts->bulk_qlen); in f_ss_opts_bulk_qlen_show()
1149 mutex_unlock(&opts->lock); in f_ss_opts_bulk_qlen_show()
1157 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_bulk_qlen_store() local
1161 mutex_lock(&opts->lock); in f_ss_opts_bulk_qlen_store()
1162 if (opts->refcnt) { in f_ss_opts_bulk_qlen_store()
1171 opts->bulk_qlen = num; in f_ss_opts_bulk_qlen_store()
1174 mutex_unlock(&opts->lock); in f_ss_opts_bulk_qlen_store()
1182 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_iso_qlen_show() local
1185 mutex_lock(&opts->lock); in f_ss_opts_iso_qlen_show()
1186 result = sprintf(page, "%u\n", opts->iso_qlen); in f_ss_opts_iso_qlen_show()
1187 mutex_unlock(&opts->lock); in f_ss_opts_iso_qlen_show()
1195 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_iso_qlen_store() local
1199 mutex_lock(&opts->lock); in f_ss_opts_iso_qlen_store()
1200 if (opts->refcnt) { in f_ss_opts_iso_qlen_store()
1209 opts->iso_qlen = num; in f_ss_opts_iso_qlen_store()
1212 mutex_unlock(&opts->lock); in f_ss_opts_iso_qlen_store()