Home
last modified time | relevance | path

Searched refs:return_code (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/tools/testing/cxl/test/
Dmem.c580 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_sanitize()
584 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_sanitize()
601 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_secure_erase()
606 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_secure_erase()
657 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_set_passphrase()
665 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_set_passphrase()
673 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_set_passphrase()
678 cmd->return_code = CXL_MBOX_CMD_RC_PASSPHRASE; in mock_set_passphrase()
687 cmd->return_code = CXL_MBOX_CMD_RC_SECURITY; in mock_set_passphrase()
692 cmd->return_code = CXL_MBOX_CMD_RC_PASSPHRASE; in mock_set_passphrase()
[all …]
/linux-6.6.21/drivers/gpu/drm/radeon/
Dsumo_smc.c93 bool return_code = false; in sumo_is_alt_vddnb_supported() local
96 return return_code; in sumo_is_alt_vddnb_supported()
100 return_code = true; in sumo_is_alt_vddnb_supported()
103 return return_code; in sumo_is_alt_vddnb_supported()
/linux-6.6.21/net/dccp/
Dccid.h152 static inline int ccid_packet_dequeue_eval(const int return_code) in ccid_packet_dequeue_eval() argument
154 if (return_code < 0) in ccid_packet_dequeue_eval()
156 if (return_code == 0) in ccid_packet_dequeue_eval()
158 if (return_code <= CCID_PACKET_DELAY_MAX) in ccid_packet_dequeue_eval()
160 return return_code; in ccid_packet_dequeue_eval()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_irq_handler.c52 bool return_code; in dp_parse_link_loss_status() local
55 return_code = false; in dp_parse_link_loss_status()
58 return return_code; in dp_parse_link_loss_status()
97 return_code = true; in dp_parse_link_loss_status()
112 return_code = false; in dp_parse_link_loss_status()
116 return return_code; in dp_parse_link_loss_status()
/linux-6.6.21/drivers/platform/x86/dell/
Ddell-wmi-led.c57 u8 return_code; in dell_led_perform_fn() local
85 return_code = bios_return->result_code; in dell_led_perform_fn()
89 return return_code; in dell_led_perform_fn()
/linux-6.6.21/arch/x86/pci/
Dpcbios.c93 unsigned char return_code; /* %al */ in bios32_service() local
101 : "=a" (return_code), in bios32_service()
110 switch (return_code) { in bios32_service()
118 service, return_code); in bios32_service()
/linux-6.6.21/drivers/char/tpm/
Dtpm-interface.c163 u32 cc = be32_to_cpu(header->return_code); in tpm_transmit()
176 rc = be32_to_cpu(header->return_code); in tpm_transmit()
224 err = be32_to_cpu(header->return_code); in tpm_transmit_cmd()
Dtpm-dev-common.c37 header->return_code = cpu_to_be32(TPM2_RC_COMMAND_CODE | in tpm_dev_transmit()
Dtpm2-space.c385 if (be32_to_cpu(header->return_code) != TPM2_RC_SUCCESS) in tpm2_map_response_header()
447 be32_to_cpu(header->return_code) != TPM2_RC_SUCCESS) { in tpm2_map_response_body()
/linux-6.6.21/drivers/s390/net/
Dqeth_l3_main.c301 switch (cmd->hdr.return_code) { in qeth_l3_setdelip_cb()
915 if (cmd->hdr.return_code) in qeth_l3_iqd_read_initial_mac_cb()
947 if (cmd->hdr.return_code == 0) { in qeth_l3_get_unique_id_cb()
987 rc = cmd->hdr.return_code; in qeth_diags_trace_cb()
1219 return qeth_l3_arp_makerc(cmd->hdr.return_code); in qeth_l3_arp_cmd_cb()
1313 if (cmd->hdr.return_code) { in qeth_l3_arp_query_cb()
1315 QETH_CARD_TEXT_(card, 4, "%i", cmd->hdr.return_code); in qeth_l3_arp_query_cb()
1316 return qeth_l3_arp_makerc(cmd->hdr.return_code); in qeth_l3_arp_query_cb()
1318 if (cmd->data.setassparms.hdr.return_code) { in qeth_l3_arp_query_cb()
1319 cmd->hdr.return_code = cmd->data.setassparms.hdr.return_code; in qeth_l3_arp_query_cb()
[all …]
Dqeth_core_mpc.h374 __u16 return_code; member
555 u16 return_code; member
722 __u16 return_code; member
818 __u16 return_code; member
Dqeth_l2_main.c71 return qeth_l2_setdelmac_makerc(card, cmd->hdr.return_code); in qeth_l2_send_setdelmac_cb()
220 if (cmd->hdr.return_code) { in qeth_l2_send_setdelvlan_cb()
223 CARD_DEVID(card), cmd->hdr.return_code); in qeth_l2_send_setdelvlan_cb()
226 return qeth_l2_setdelvlan_makerc(card, cmd->hdr.return_code); in qeth_l2_send_setdelvlan_cb()
1511 if (cmd->hdr.return_code != 0x0000) { in qeth_addr_change_event()
1512 if (cmd->hdr.return_code == 0x0010) { in qeth_addr_change_event()
1517 cmd->hdr.return_code); in qeth_addr_change_event()
1556 u16 ipa_rc = cmd->hdr.return_code; in qeth_bridgeport_makerc()
1557 u16 sbp_rc = sbp->hdr.return_code; in qeth_bridgeport_makerc()
1914 if (cmd->hdr.return_code) in qeth_l2_vnicc_request_cb()
[all …]
Dqeth_core_main.c816 qeth_issue_ipa_msg(cmd, cmd->hdr.return_code, card); in qeth_check_ipa_data()
823 if (cmd->hdr.return_code == IPA_RC_VEPA_TO_VEB_TRANSITION) { in qeth_check_ipa_data()
834 qeth_issue_ipa_msg(cmd, cmd->hdr.return_code, card); in qeth_check_ipa_data()
3069 return (cmd->hdr.return_code) ? -EIO : 0; in qeth_send_ipa_cmd_cb()
3108 if (cmd->hdr.return_code == IPA_RC_LAN_OFFLINE) in qeth_send_startlan_cb()
3111 return (cmd->hdr.return_code) ? -EIO : 0; in qeth_send_startlan_cb()
3128 if (!cmd->hdr.return_code) in qeth_setadpparms_inspect_rc()
3129 cmd->hdr.return_code = in qeth_setadpparms_inspect_rc()
3130 cmd->data.setadapterparms.hdr.return_code; in qeth_setadpparms_inspect_rc()
3131 return cmd->hdr.return_code; in qeth_setadpparms_inspect_rc()
[all …]
Dlcs.h208 __u16 return_code; member
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_ioctl.c1308 ioctl->header.return_code = IOCTL_SUCCESS; in esas2r_ioctl_handler()
1340 ioctl->header.return_code = IOCTL_BAD_CHANNEL; in esas2r_ioctl_handler()
1383 ioctl->header.return_code = IOCTL_BAD_FLASH_IMGTYPE; in esas2r_ioctl_handler()
1437 ioctl->header.return_code = handle_smp_ioctl(a, in esas2r_ioctl_handler()
1443 ioctl->header.return_code = in esas2r_ioctl_handler()
1448 ioctl->header.return_code = handle_hba_ioctl(a, in esas2r_ioctl_handler()
1484 ioctl->header.return_code = IOCTL_ERR_INVCMD; in esas2r_ioctl_handler()
1496 ioctl->header.return_code = IOCTL_OUT_OF_RESOURCES; in esas2r_ioctl_handler()
1501 ioctl->header.return_code = IOCTL_INVALID_PARAM; in esas2r_ioctl_handler()
1505 ioctl->header.return_code = IOCTL_GENERAL_ERROR; in esas2r_ioctl_handler()
/linux-6.6.21/arch/s390/kernel/
Dsthyi.c492 u64 __user *, return_code, unsigned long, flags) in SYSCALL_DEFINE4() argument
508 if (return_code && put_user(sthyi_rc, return_code)) { in SYSCALL_DEFINE4()
Dentry.h57 long sys_s390_sthyi(unsigned long function_code, void __user *buffer, u64 __user *return_code, unsi…
/linux-6.6.21/drivers/pci/switch/
Dswitchtec.c63 u32 return_code; member
239 stuser->return_code = 0; in mrpc_complete_cmd()
246 stuser->return_code = stdev->dma_mrpc->rtn_code; in mrpc_complete_cmd()
248 stuser->return_code = ioread32(&stdev->mmio_mrpc->ret_value); in mrpc_complete_cmd()
249 if (stuser->return_code != 0) in mrpc_complete_cmd()
578 stuser->read_len = size - sizeof(stuser->return_code); in switchtec_dev_read()
606 rc = copy_to_user(data, &stuser->return_code, in switchtec_dev_read()
607 sizeof(stuser->return_code)); in switchtec_dev_read()
613 data += sizeof(stuser->return_code); in switchtec_dev_read()
615 size - sizeof(stuser->return_code)); in switchtec_dev_read()
/linux-6.6.21/drivers/cxl/
Dcxlmem.h139 u16 return_code; member
194 return cxl_mbox_cmd_rctable[mbox_cmd->return_code].desc; in cxl_mbox_cmd_rc2str()
199 return cxl_mbox_cmd_rctable[mbox_cmd->return_code].err; in cxl_mbox_cmd_rc2errno()
Dpci.c270 mbox_cmd->return_code = in __cxl_pci_mbox_send_cmd()
286 if (mbox_cmd->return_code == CXL_MBOX_CMD_RC_BACKGROUND) { in __cxl_pci_mbox_send_cmd()
329 mbox_cmd->return_code = in __cxl_pci_mbox_send_cmd()
337 if (mbox_cmd->return_code != CXL_MBOX_CMD_RC_SUCCESS) { in __cxl_pci_mbox_send_cmd()
/linux-6.6.21/drivers/cxl/core/
Dmbox.c262 if (mbox_cmd->return_code != CXL_MBOX_CMD_RC_SUCCESS && in cxl_internal_send_cmd()
263 mbox_cmd->return_code != CXL_MBOX_CMD_RC_BACKGROUND) in cxl_internal_send_cmd()
611 *retval = mbox_cmd->return_code; in handle_mailbox_cmd_from_user()
1300 if (rc && (mbox_cmd.return_code != CXL_MBOX_CMD_RC_UNSUPPORTED)) in cxl_set_timestamp()
/linux-6.6.21/kernel/
Dauditsc.c556 result = audit_comparator(ctx->return_code, f->op, f->val); in audit_filter_rules()
1000 ctx->return_code = 0; in audit_reset_context()
1658 ctx->return_code); in audit_log_uring()
1701 context->return_code); in audit_log_exit()
1845 context->return_code = 0; in __audit_free()
1886 ctx->return_code = -EINTR; in audit_return_fixup()
1888 ctx->return_code = code; in audit_return_fixup()
2060 void __audit_syscall_exit(int success, long return_code) in __audit_syscall_exit() argument
2072 audit_return_fixup(context, success, return_code); in __audit_syscall_exit()
Daudit.h115 long return_code;/* syscall return code */ member
/linux-6.6.21/drivers/platform/x86/hp/hp-bioscfg/
Dbiosattr-interface.c166 ret = bios_return->return_code; in hp_wmi_perform_query()
/linux-6.6.21/include/linux/
Daudit.h354 long return_code = regs_return_value(pt_regs); in audit_syscall_exit() local
356 __audit_syscall_exit(success, return_code); in audit_syscall_exit()

12