Lines Matching refs:__data

7105 	u64 __data = __VAR;						\
7107 __data = jiffies_to_msecs(__data); \
7109 __data = div_u64(__data, NSEC_PER_MSEC); \
7110 return bfq_var_show(__data, (page)); \
7127 u64 __data = __VAR; \
7128 __data = div_u64(__data, NSEC_PER_USEC); \
7129 return bfq_var_show(__data, (page)); \
7139 unsigned long __data, __min = (MIN), __max = (MAX); \
7142 ret = bfq_var_store(&__data, (page)); \
7145 if (__data < __min) \
7146 __data = __min; \
7147 else if (__data > __max) \
7148 __data = __max; \
7150 *(__PTR) = msecs_to_jiffies(__data); \
7152 *(__PTR) = (u64)__data * NSEC_PER_MSEC; \
7154 *(__PTR) = __data; \
7171 unsigned long __data, __min = (MIN), __max = (MAX); \
7174 ret = bfq_var_store(&__data, (page)); \
7177 if (__data < __min) \
7178 __data = __min; \
7179 else if (__data > __max) \
7180 __data = __max; \
7181 *(__PTR) = (u64)__data * NSEC_PER_USEC; \
7192 unsigned long __data; in bfq_max_budget_store() local
7195 ret = bfq_var_store(&__data, (page)); in bfq_max_budget_store()
7199 if (__data == 0) in bfq_max_budget_store()
7202 if (__data > INT_MAX) in bfq_max_budget_store()
7203 __data = INT_MAX; in bfq_max_budget_store()
7204 bfqd->bfq_max_budget = __data; in bfq_max_budget_store()
7207 bfqd->bfq_user_max_budget = __data; in bfq_max_budget_store()
7220 unsigned long __data; in bfq_timeout_sync_store() local
7223 ret = bfq_var_store(&__data, (page)); in bfq_timeout_sync_store()
7227 if (__data < 1) in bfq_timeout_sync_store()
7228 __data = 1; in bfq_timeout_sync_store()
7229 else if (__data > INT_MAX) in bfq_timeout_sync_store()
7230 __data = INT_MAX; in bfq_timeout_sync_store()
7232 bfqd->bfq_timeout = msecs_to_jiffies(__data); in bfq_timeout_sync_store()
7243 unsigned long __data; in bfq_strict_guarantees_store() local
7246 ret = bfq_var_store(&__data, (page)); in bfq_strict_guarantees_store()
7250 if (__data > 1) in bfq_strict_guarantees_store()
7251 __data = 1; in bfq_strict_guarantees_store()
7252 if (!bfqd->strict_guarantees && __data == 1 in bfq_strict_guarantees_store()
7256 bfqd->strict_guarantees = __data; in bfq_strict_guarantees_store()
7265 unsigned long __data; in bfq_low_latency_store() local
7268 ret = bfq_var_store(&__data, (page)); in bfq_low_latency_store()
7272 if (__data > 1) in bfq_low_latency_store()
7273 __data = 1; in bfq_low_latency_store()
7274 if (__data == 0 && bfqd->low_latency != 0) in bfq_low_latency_store()
7276 bfqd->low_latency = __data; in bfq_low_latency_store()