Lines Matching refs:val
127 int error, val; in withdraw_store() local
132 error = kstrtoint(buf, 0, &val); in withdraw_store()
136 if (val != 1) in withdraw_store()
147 int error, val; in statfs_sync_store() local
152 error = kstrtoint(buf, 0, &val); in statfs_sync_store()
156 if (val != 1) in statfs_sync_store()
166 int error, val; in quota_sync_store() local
171 error = kstrtoint(buf, 0, &val); in quota_sync_store()
175 if (val != 1) in quota_sync_store()
329 int val = 0; in block_show() local
332 val = 1; in block_show()
333 ret = sprintf(buf, "%d\n", val); in block_show()
340 int ret, val; in block_store() local
342 ret = kstrtoint(buf, 0, &val); in block_store()
346 if (val == 1) in block_store()
348 else if (val == 0) { in block_store()
360 int val = completion_done(&sdp->sd_wdack) ? 1 : 0; in wdack_show() local
362 return sprintf(buf, "%d\n", val); in wdack_show()
367 int ret, val; in wdack_store() local
369 ret = kstrtoint(buf, 0, &val); in wdack_store()
373 if ((val == 1) && in wdack_store()