/linux-master/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 14 int rc, pid, status; local 36 rc = waitpid(-1, &status, 0); 42 if ((WIFEXITED(status) && WEXITSTATUS(status) == -1) || 43 WIFSIGNALED(status)) { 48 return WEXITSTATUS(status);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | map_populate.c | 35 int status, ret; local 37 ret = read(sock, &status, sizeof(int)); 44 ret = write(sock, &status, sizeof(int)); 47 waitpid(child, &status, 0); 50 ksft_cnt.ksft_pass = WEXITSTATUS(status); 51 ksft_cnt.ksft_fail = TESTS_IN_CHILD - WEXITSTATUS(status);
|
/linux-master/sound/hda/ |
H A D | intel-sdw-acpi.c | 128 acpi_status status; local 131 status = acpi_evaluate_integer(handle, METHOD_NAME__ADR, NULL, &adr); 132 if (ACPI_FAILURE(status)) 173 acpi_status status; local 182 status = acpi_walk_namespace(ACPI_TYPE_DEVICE, 186 if (ACPI_FAILURE(status) || info->handle == NULL)
|
/linux-master/arch/riscv/include/asm/ |
H A D | switch_to.h | 24 regs->status = (regs->status & ~SR_FS) | SR_FS_CLEAN; 30 regs->status = (regs->status & ~SR_FS) | SR_FS_OFF; 36 if ((regs->status & SR_FS) == SR_FS_DIRTY) { 45 if ((regs->status & SR_FS) != SR_FS_OFF) {
|
H A D | vector.h | 45 regs->status = (regs->status & ~SR_VS) | SR_VS_CLEAN; 50 regs->status = (regs->status & ~SR_VS) | SR_VS_DIRTY; 55 regs->status = (regs->status & ~SR_VS) | SR_VS_OFF; 60 regs->status = (regs->status & ~SR_VS) | SR_VS_INITIAL; 65 return (regs->status & SR_VS) != 0; 170 if ((regs->status [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | brcms_trace_brcmsmac_tx.h | 42 u16 status, u16 lasttxtime, u16 sequence, u16 phyerr, 44 TP_ARGS(dev, framelen, frameid, status, lasttxtime, sequence, phyerr, 50 __field(u16, status) 60 __entry->status = status; 68 __get_str(dev), __entry->frameid, __entry->status,
|
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 119 int status; local 122 status = ocrdma_mbx_get_link_speed(dev, &speed, NULL); 123 if (status) 307 int status; local 310 status = _ocrdma_pd_mgr_put_bitmap(dev, pd_id, dpp_pool); 312 return status; 318 int status = 0; local 333 status = -EINVAL; 340 status = -EINVAL; 344 return status; 361 int status; local 409 int status; local 468 int status; local 546 int status; local 585 int status; local 634 int status; local 697 int status; local 720 int status; local 768 int status = 0; local 790 int status = 0; local 852 int status = -ENOMEM; local 928 int status; local 975 int status; local 1016 int status = 0; local 1083 int status = -EINVAL; local 1175 int status; local 1296 int status; local 1367 int status = 0; local 1388 int status = -EINVAL; local 1459 int status; local 1734 int status; local 1767 int status; local 1834 int status; local 1978 int status; local 2088 int status = 0; local 2221 int status = 0; local 2291 int status = 0; local 2324 ocrdma_to_ibwc_err(u16 status) argument 2469 ocrdma_update_err_cqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, struct ocrdma_qp *qp, int status) argument 2491 ocrdma_update_err_rcqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, struct ocrdma_qp *qp, int status) argument 2501 ocrdma_update_err_scqe(struct ib_wc *ibwc, struct ocrdma_cqe *cqe, struct ocrdma_qp *qp, int status) argument 2517 int status = (le32_to_cpu(cqe->flags_status_srcqpn) & local 2584 int status; local 2600 int status; local 2644 ocrdma_poll_err_rcqe(struct ocrdma_qp *qp, struct ocrdma_cqe *cqe, struct ib_wc *ibwc, bool *polled, bool *stop, int status) argument 2716 int status; local 2898 int status; local [all...] |
/linux-master/fs/lockd/ |
H A D | svc4proc.c | 106 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) 107 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; 111 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); 112 if (resp->status == nlm_drop_reply) 115 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); 142 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) 143 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; 153 resp->status = nlm_lck_denied_nolocks; 158 resp->status [all...] |
/linux-master/drivers/edac/ |
H A D | mce_amd.c | 67 "Parity error in the branch status reg", 134 "Retire status queue" 290 u16 ec = EC(m->status); 291 u8 xec = XEC(m->status, xec_mask); 400 u16 ec = EC(m->status); 401 u8 xec = XEC(m->status, xec_mask); 409 bool k8 = (boot_cpu_data.x86 == 0xf && (m->status & BIT_64(58))); 546 u16 ec = EC(m->status); 547 u8 xec = XEC(m->status, xec_mask); 557 u16 ec = EC(m->status); [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs3proc.c | 53 resp->status = fh_verify(rqstp, &resp->fh, 0, 55 if (resp->status != nfs_ok) 58 resp->status = fh_getattr(&resp->fh, &resp->stat); 82 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, guardtime); 103 resp->status = nfsd_lookup(rqstp, &resp->dirfh, 124 resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL); 143 resp->status = nfsd_readlink(rqstp, &resp->fh, 172 * 1 (status) + 22 (post_op_attr) + 1 (count) + 1 (eof) 180 resp->status = nfsd_read(rqstp, &resp->fh, argp->offset, 202 resp->status 236 __be32 status; local [all...] |
H A D | nfsproc.c | 35 resp->status = fh_verify(rqstp, &resp->fh, 0, 37 if (resp->status != nfs_ok) 39 resp->status = fh_getattr(&resp->fh, &resp->stat); 89 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); 90 if (resp->status != nfs_ok) 106 resp->status = nfsd_setattr(rqstp, fhp, &attrs, NULL); 107 if (resp->status != nfs_ok) 110 resp->status = fh_getattr(&resp->fh, &resp->stat); 138 resp->status = nfsd_lookup(rqstp, &argp->fh, argp->name, argp->len, 141 if (resp->status ! [all...] |
/linux-master/drivers/net/ethernet/actions/ |
H A D | owl-emac.c | 85 * status register (CSR5) are cleared automatically before being able 201 desc->status = OWL_EMAC_BIT_RDES0_OWN; 227 desc->status = 0; 247 ring->descs[i].status = 0; 266 ring->descs[i].status = 0; 315 static u32 owl_emac_dma_cmd_set_tx(struct owl_emac_priv *priv, u32 status) argument 318 OWL_EMAC_BIT_MAC_CSR6_ST, status); 326 static u32 owl_emac_dma_cmd_set(struct owl_emac_priv *priv, u32 status) argument 329 OWL_EMAC_MSK_MAC_CSR6_STSR, status); 358 u32 val, status; local 497 u32 status, control; local 573 u32 status, control; local 638 u32 status; local 700 u32 status; local 755 u32 status; local 870 u32 status, proc_status; local 1131 u32 status, val = 0; local [all...] |
/linux-master/drivers/scsi/aacraid/ |
H A D | src.c | 199 * @status: adapter status 211 u32 *status, u32 * r1, u32 * r2, u32 * r3, u32 * r4) 297 * Pull the synch status from Mailbox 0. 299 if (status) 300 *status = readl(&dev->IndexRegs->Mailbox[0]); 435 u32 status = src_readl(dev, MUnit.OMR); local 440 if (unlikely(status & KERNEL_PANIC)) 446 if (unlikely(status & SELF_TEST_FAILED)) 452 if (unlikely(status 209 src_sync_cmd(struct aac_dev *dev, u32 command, u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, u32 *status, u32 * r1, u32 * r2, u32 * r3, u32 * r4) argument 719 unsigned long status, start; local 886 unsigned long status; local 1027 aac_src_wait_sync(struct aac_dev *dev, int *status) argument 1093 u32 status[5]; local 1178 unsigned long status; local [all...] |
/linux-master/drivers/hid/ |
H A D | hid-mcp2200.c | 96 int status; member in struct:mcp2200 126 /* return status, negative value if wrong response was received */ 127 return mcp->status; 135 int status; local 148 status = hid_hw_output_report(mcp->hdev, (u8 *) cmd, 151 if (status == sizeof(struct mcp_set_clear_outputs)) 170 int status; local 172 status = mcp_cmd_read_all(mcp); 173 if (status) 174 return status; 203 int status; local [all...] |
/linux-master/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-vchiq.c | 44 int status; local 51 status = vchiq_queue_kernel_message(instance->alsa_stream->chip->vchi_ctx->instance, 53 if (status) { 56 status, m->type); 138 int status; local 141 status = vchiq_open_service(vchiq_instance, ¶ms, 144 if (status) { 146 "failed to open VCHI service connection (status=%d)\n", 147 status); 160 int status; local 345 int err, status; local [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | cpcihp_zt5550.c | 190 int status; local 192 status = zt5550_hc_config(pdev); 193 if (status != 0) 194 return status; 213 status = cpci_hp_register_controller(&zt5550_hpc); 214 if (status != 0) { 224 status = -ENODEV; 230 status = cpci_hp_register_bus(bus0, 0x0a, 0x0f); 231 if (status != 0) { 237 status [all...] |
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 32 msgdma_csroffs(status)); 38 if (tse_bit_is_clear(priv->rx_dma_csr, msgdma_csroffs(status), 48 /* clear all status bits */ 49 csrwr32(MSGDMA_CSR_STAT_MASK, priv->rx_dma_csr, msgdma_csroffs(status)); 53 msgdma_csroffs(status)); 60 if (tse_bit_is_clear(priv->tx_dma_csr, msgdma_csroffs(status), 70 /* clear all status bits */ 71 csrwr32(MSGDMA_CSR_STAT_MASK, priv->tx_dma_csr, msgdma_csroffs(status)); 100 csrwr32(MSGDMA_CSR_STAT_IRQ, priv->rx_dma_csr, msgdma_csroffs(status)); 105 csrwr32(MSGDMA_CSR_STAT_IRQ, priv->tx_dma_csr, msgdma_csroffs(status)); 130 u32 status; local [all...] |
/linux-master/drivers/s390/cio/ |
H A D | ccwreq.c | 105 /* Temporary improper status. */ 167 * Return the status of the internal I/O started on the specified ccw device. 223 /* Check for other improper status. */ 230 * Log ccw request status. 232 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) argument 239 u8 status; member in struct:__anon205 244 data.status = (u8) status; 259 enum io_status status; local 262 /* Check status o [all...] |
/linux-master/drivers/usb/usbip/ |
H A D | vhci_rx.c | 17 int status; local 24 status = urb->status; 28 switch (status) { 34 seqnum, status == -ENOENT ? "" : "a"); 41 "urb seq# %u may be in a error, status %d\n", 42 seqnum, status); 81 urb->status = -EPROTO; 87 urb->status = -EPROTO; 107 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); [all...] |
/linux-master/drivers/acpi/ |
H A D | fan_attr.c | 56 int status; local 58 status = acpi_fan_get_fst(acpi_dev, &fst); 59 if (status) 60 return status; 76 int i, status; local 83 status = sysfs_create_file(&device->dev.kobj, &fan->fine_grain_control.attr); 84 if (status) 85 return status; 93 status = sysfs_create_file(&device->dev.kobj, &fan->fst_speed.attr); 94 if (status) [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | utresrc.c | 146 acpi_status status; local 171 status = 173 if (ACPI_FAILURE(status)) { 178 return_ACPI_STATUS(status); 188 status = 191 if (ACPI_FAILURE(status)) { 192 return_ACPI_STATUS(status); 238 status = 240 if (ACPI_FAILURE(status)) { 241 return_ACPI_STATUS(status); 554 acpi_status status; local [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-efi.c | 118 efi_status_t status; local 121 * As of EFI v1.10, this call always returns an unsupported status 123 status = efi.get_wakeup_time((efi_bool_t *)&wkalrm->enabled, 126 if (status != EFI_SUCCESS) 138 efi_status_t status; local 148 * As of v1.10, this call always returns an unsupported status 150 status = efi.set_wakeup_time((efi_bool_t)wkalrm->enabled, &eft); 152 dev_warn(dev, "write status is %d\n", (int)status); 154 return status 159 efi_status_t status; local 179 efi_status_t status; local [all...] |
/linux-master/fs/smb/server/ |
H A D | connection.h | 46 int status; member in struct:ksmbd_conn 173 * This is a hack. We will move status to a proper place once we land 178 return READ_ONCE(conn->status) == KSMBD_SESS_GOOD; 183 return READ_ONCE(conn->status) == KSMBD_SESS_NEED_NEGOTIATE; 188 return READ_ONCE(conn->status) == KSMBD_SESS_NEED_RECONNECT; 193 return READ_ONCE(conn->status) == KSMBD_SESS_EXITING; 198 return READ_ONCE(conn->status) == KSMBD_SESS_RELEASING; 203 WRITE_ONCE(conn->status, KSMBD_SESS_NEW); 208 WRITE_ONCE(conn->status, KSMBD_SESS_GOOD); 213 WRITE_ONCE(conn->status, KSMBD_SESS_NEED_NEGOTIAT [all...] |
/linux-master/drivers/pci/pcie/ |
H A D | err.c | 197 pci_ers_result_t status = PCI_ERS_RESULT_CAN_RECOVER; local 221 pci_walk_bridge(bridge, report_frozen_detected, &status); 227 pci_walk_bridge(bridge, report_normal_detected, &status); 230 if (status == PCI_ERS_RESULT_CAN_RECOVER) { 231 status = PCI_ERS_RESULT_RECOVERED; 233 pci_walk_bridge(bridge, report_mmio_enabled, &status); 236 if (status == PCI_ERS_RESULT_NEED_RESET) { 242 status = PCI_ERS_RESULT_RECOVERED; 244 pci_walk_bridge(bridge, report_slot_reset, &status); 247 if (status ! [all...] |
/linux-master/samples/mei/ |
H A D | mei-amt-version.c | 177 mei_err(me, "read failed on select with status %zd %s\n", 184 mei_err(me, "read failed with status %zd %s\n", 209 mei_err(me, "write failed with status %zd %s\n", 278 uint32_t status; member in struct:amt_host_if_resp_header 319 uint32_t status = AMT_STATUS_SUCCESS; local 327 /* length - sizeof(status) */ 333 status = AMT_STATUS_INTERNAL_ERROR; 341 status = AMT_STATUS_INTERNAL_ERROR; 348 status = AMT_STATUS_INTERNAL_ERROR; 353 return status; 384 uint32_t status; local 423 uint32_t status; local 452 uint32_t status; local [all...] |