Lines Matching refs:user_len
70 size_t user_len, loff_t *offset);
72 size_t user_len, loff_t *offset);
1267 size_t user_len) in debug_get_user_string() argument
1271 buffer = kmalloc(user_len + 1, GFP_KERNEL); in debug_get_user_string()
1274 if (copy_from_user(buffer, user_buf, user_len) != 0) { in debug_get_user_string()
1279 if (buffer[user_len - 1] == '\n') in debug_get_user_string()
1280 buffer[user_len - 1] = 0; in debug_get_user_string()
1282 buffer[user_len] = 0; in debug_get_user_string()
1318 size_t user_len, loff_t *offset) in debug_input_pages_fn() argument
1323 if (user_len > 0x10000) in debug_input_pages_fn()
1324 user_len = 0x10000; in debug_input_pages_fn()
1329 str = debug_get_user_string(user_buf, user_len); in debug_input_pages_fn()
1344 rc = user_len; in debug_input_pages_fn()
1348 *offset += user_len; in debug_input_pages_fn()
1372 size_t user_len, loff_t *offset) in debug_input_level_fn() argument
1377 if (user_len > 0x10000) in debug_input_level_fn()
1378 user_len = 0x10000; in debug_input_level_fn()
1383 str = debug_get_user_string(user_buf, user_len); in debug_input_level_fn()
1390 rc = user_len; in debug_input_level_fn()
1400 rc = user_len; in debug_input_level_fn()
1405 *offset += user_len; in debug_input_level_fn()
1442 size_t user_len, loff_t *offset) in debug_input_flush_fn() argument
1445 int rc = user_len; in debug_input_flush_fn()
1447 if (user_len > 0x10000) in debug_input_flush_fn()
1448 user_len = 0x10000; in debug_input_flush_fn()
1472 *offset += user_len; in debug_input_flush_fn()