Searched refs:bytes_not_copied (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/kutf/ |
| H A D | kutf_suite.c | 376 unsigned long bytes_not_copied; in kutf_debugfs_run_read() local 410 bytes_not_copied = copy_to_user(buf, in kutf_debugfs_run_read() 413 if (bytes_not_copied != 0) in kutf_debugfs_run_read() 423 bytes_not_copied = copy_to_user(buf, res->message, in kutf_debugfs_run_read() 425 if (bytes_not_copied != 0) { in kutf_debugfs_run_read() 430 bytes_not_copied = copy_to_user(&buf[message_len], in kutf_debugfs_run_read() 432 if (bytes_not_copied != 0) { in kutf_debugfs_run_read() 457 bytes_not_copied = copy_to_user(&buf[0], kutf_str_ptr, in kutf_debugfs_run_read() 459 bytes_copied += kutf_str_len - bytes_not_copied; in kutf_debugfs_run_read() 460 if (bytes_not_copied) in kutf_debugfs_run_read() [all …]
|
| H A D | kutf_helpers.c | 97 unsigned long bytes_not_copied; in kutf_helper_input_enqueue() local 101 bytes_not_copied = copy_from_user(line->str, str, size); in kutf_helper_input_enqueue() 102 if (bytes_not_copied != 0) in kutf_helper_input_enqueue()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/kutf/ |
| H A D | kutf_suite.c | 343 unsigned long bytes_not_copied; in kutf_debugfs_run_read() local 369 bytes_not_copied = copy_to_user(&buf[0], kutf_str_ptr, in kutf_debugfs_run_read() 371 bytes_copied += kutf_str_len - bytes_not_copied; in kutf_debugfs_run_read() 372 if (bytes_not_copied) in kutf_debugfs_run_read() 377 bytes_not_copied = copy_to_user(&buf[bytes_copied], in kutf_debugfs_run_read() 379 bytes_copied += 1 - bytes_not_copied; in kutf_debugfs_run_read() 380 if (bytes_not_copied) in kutf_debugfs_run_read() 385 bytes_not_copied = copy_to_user(&buf[bytes_copied], in kutf_debugfs_run_read() 387 bytes_copied += message_len - bytes_not_copied; in kutf_debugfs_run_read() 388 if (bytes_not_copied) in kutf_debugfs_run_read() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arc/kernel/ |
| H A D | disasm.c | 30 int bytes_not_copied = 0; in disasm_instr() local 37 bytes_not_copied = copy_from_user(ins_buf, in disasm_instr() 39 if (bytes_not_copied > 6) in disasm_instr() 52 if (bytes_not_copied > 4) in disasm_instr() 426 if (bytes_not_copied <= (8 - state->instr_len)) in disasm_instr()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_debugfs.c | 73 int bytes_not_copied; in i40e_dbg_command_read() local 92 bytes_not_copied = copy_to_user(buffer, buf, len); in i40e_dbg_command_read() 95 if (bytes_not_copied) in i40e_dbg_command_read() 780 int bytes_not_copied; in i40e_dbg_command_write() local 794 bytes_not_copied = copy_from_user(cmd_buf, buffer, count); in i40e_dbg_command_write() 795 if (bytes_not_copied) { in i40e_dbg_command_write() 1660 int bytes_not_copied; in i40e_dbg_netdev_ops_read() local 1679 bytes_not_copied = copy_to_user(buffer, buf, len); in i40e_dbg_netdev_ops_read() 1682 if (bytes_not_copied) in i40e_dbg_netdev_ops_read() 1701 int bytes_not_copied; in i40e_dbg_netdev_ops_write() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_debugfs.c | 216 int bytes_not_copied = 0; in rvu_dbg_rsrc_attach_status() local 250 bytes_not_copied = copy_to_user(buffer + (i * off), buf, off); in rvu_dbg_rsrc_attach_status() 251 if (bytes_not_copied) in rvu_dbg_rsrc_attach_status() 292 bytes_not_copied = copy_to_user(buffer + in rvu_dbg_rsrc_attach_status() 295 if (bytes_not_copied) in rvu_dbg_rsrc_attach_status() 307 if (bytes_not_copied) in rvu_dbg_rsrc_attach_status() 695 int bytes_not_copied; in parse_cmd_buffer_ctx() local 700 bytes_not_copied = copy_from_user(cmd_buf, buffer, *count); in parse_cmd_buffer_ctx() 701 if (bytes_not_copied) in parse_cmd_buffer_ctx()
|
| /OK3568_Linux_fs/kernel/drivers/net/ieee802154/ |
| H A D | ca8210.c | 2572 unsigned long bytes_not_copied; in ca8210_test_int_user_read() local 2594 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read() 2596 bytes_not_copied = copy_to_user(buf, fifo_buffer, bytes_not_copied); in ca8210_test_int_user_read() 2597 if (bytes_not_copied > 0) { in ca8210_test_int_user_read() 2601 bytes_not_copied in ca8210_test_int_user_read()
|