Lines Matching refs:tmp_len
272 int tmp_len; in rtl_debugfs_set_write_reg() local
279 tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); in rtl_debugfs_set_write_reg()
281 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_reg()
284 tmp[tmp_len] = '\0'; in rtl_debugfs_set_write_reg()
322 int tmp_len; in rtl_debugfs_set_write_h2c() local
330 tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); in rtl_debugfs_set_write_h2c()
332 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_h2c()
335 tmp[tmp_len] = '\0'; in rtl_debugfs_set_write_h2c()
368 int tmp_len; in rtl_debugfs_set_write_rfreg() local
376 tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); in rtl_debugfs_set_write_rfreg()
378 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_rfreg()
381 tmp[tmp_len] = '\0'; in rtl_debugfs_set_write_rfreg()