Lines Matching refs:user_len
70 size_t user_len, loff_t * offset);
72 size_t user_len, loff_t * offset);
1145 debug_get_user_string(const char __user *user_buf, size_t user_len)
1149 buffer = kmalloc(user_len + 1, GFP_KERNEL);
1152 if (copy_from_user(buffer, user_buf, user_len) != 0) {
1157 if (buffer[user_len - 1] == '\n')
1158 buffer[user_len - 1] = 0;
1160 buffer[user_len] = 0;
1201 size_t user_len, loff_t * offset)
1206 if (user_len > 0x10000)
1207 user_len = 0x10000;
1212 str = debug_get_user_string(user_buf,user_len);
1227 rc = user_len;
1231 *offset += user_len;
1260 size_t user_len, loff_t * offset)
1265 if (user_len > 0x10000)
1266 user_len = 0x10000;
1271 str = debug_get_user_string(user_buf,user_len);
1278 rc = user_len;
1288 rc = user_len;
1293 *offset += user_len;
1343 size_t user_len, loff_t * offset)
1346 int rc = user_len;
1348 if (user_len > 0x10000)
1349 user_len = 0x10000;
1371 *offset += user_len;