Searched refs:rc (Results 226 - 250 of 3200) sorted by relevance

1234567891011>>

/linux-master/drivers/platform/x86/intel/ifs/
H A Dsysfs.c68 int rc; local
70 rc = kstrtouint(buf, 0, &cpu);
71 if (rc < 0 || cpu >= nr_cpu_ids)
77 rc = do_core_test(cpu, dev);
81 return rc ? rc : count;
92 int rc; local
94 rc = kstrtouint(buf, 0, &cur_batch);
95 if (rc < 0 || cur_batch > 0xff)
103 rc
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwmon.c50 int rc; local
52 rc = hwrm_req_init(bp, req, HWRM_TEMP_MONITOR_QUERY);
53 if (rc)
54 return rc;
56 rc = hwrm_req_send_silent(bp, req);
57 if (rc)
72 return rc;
105 int rc; local
109 rc = bnxt_hwrm_temp_query(bp, &temp);
110 if (!rc)
172 int rc; local
221 int rc; local
[all...]
H A Dbnxt_coredump.c27 int rc, off = 0; local
45 rc = hwrm_req_send(bp, msg);
46 if (rc)
55 rc = -EIO;
64 rc = -ENOMEM;
74 rc = -ENOBUFS;
90 return rc;
98 int rc; local
100 rc = hwrm_req_init(bp, req, HWRM_DBG_COREDUMP_LIST);
101 if (rc)
122 int rc; local
141 int rc; local
281 int rc = 0, i; local
392 int rc, hdr_len = 0; local
[all...]
/linux-master/tools/testing/selftests/efivarfs/
H A Dcreate-read.c16 int fd, rc; local
32 rc = read(fd, buf, sizeof(buf));
33 if (rc != 0) {
/linux-master/drivers/mtd/devices/
H A Dpowernv_flash.c53 int rc; local
69 rc = opal_flash_read(info->id, offset, __pa(buf), len, token);
72 rc = opal_flash_write(info->id, offset, __pa(buf), len, token);
75 rc = opal_flash_erase(info->id, offset, len, token);
83 if (rc == OPAL_ASYNC_COMPLETION) {
84 rc = opal_async_wait_response_interruptible(token, &msg);
85 if (rc) {
98 rc = -EINTR;
103 rc = opal_get_async_rc(msg);
115 if (rc !
170 int rc; local
190 int rc; local
[all...]
/linux-master/arch/s390/hypfs/
H A Dhypfs_sprp.c50 unsigned long rc; local
56 rc = hypfs_sprp_diag304(data, DIAG304_QUERY_PRP);
57 if (rc != 1) {
74 int rc; local
76 rc = -ENOMEM;
82 rc = -EFAULT;
85 rc = -EINVAL;
89 rc = -EFAULT;
97 diag304->rc = hypfs_sprp_diag304(data, cmd);
101 rc
[all...]
/linux-master/fs/smb/client/
H A Dsmb2inode.c183 int rc; local
227 rc = -ENOMEM;
256 rc = SMB2_open_init(tcon, server,
260 if (rc)
266 rc = 0;
276 rc = SMB2_query_info_init(tcon, server,
285 rc = SMB2_query_info_init(tcon, server,
294 if (!rc && (!cfile || num_rqst > 1)) {
297 } else if (rc) {
310 rc
836 int rc = 0; local
875 int rc, rc2; local
1049 int rc = smb2_compound_op(xid, tcon, cifs_sb, name, &oparms, local
1071 int rc; local
1102 int rc = smb2_set_path_attr(xid, tcon, from_name, to_name, cifs_sb, local
1135 int rc; local
1167 int rc; local
1204 int rc; local
1254 int rc; local
[all...]
H A Dsmb2transport.c33 int rc; local
35 rc = cifs_alloc_hash("hmac(sha256)", &p->hmacsha256);
36 if (rc)
39 rc = cifs_alloc_hash("cmac(aes)", &p->aes_cmac);
40 if (rc)
46 return rc;
53 int rc = 0; local
55 rc = cifs_alloc_hash("hmac(sha256)", &p->hmacsha256);
56 if (rc)
57 return rc;
83 int rc = 0; local
234 int rc; local
318 int rc = 0; local
408 int rc; local
564 int rc; local
641 int rc = 0; local
676 unsigned int rc; local
841 int rc; local
856 int rc; local
882 int rc; local
[all...]
H A Dxattr.c47 ssize_t rc = -EOPNOTSUPP; local
59 rc = pTcon->ses->server->ops->set_file_info(inode, full_path,
61 if (rc == 0)
64 return rc;
71 ssize_t rc = -EOPNOTSUPP; local
83 rc = pTcon->ses->server->ops->set_file_info(inode, full_path,
85 if (rc == 0)
88 return rc;
97 int rc = -EOPNOTSUPP; local
116 rc
219 ssize_t rc; local
242 ssize_t rc; local
265 ssize_t rc = -EOPNOTSUPP; local
365 ssize_t rc = -EOPNOTSUPP; local
[all...]
/linux-master/drivers/scsi/elx/libefc/
H A Defc_cmds.c54 int rc; local
56 rc = efc_nport_get_mbox_status(nport, mqe, status);
57 if (rc)
61 return rc;
68 int rc; local
71 rc = sli_cmd_unreg_vpi(efc->sli, data, nport->indicator,
73 if (rc) {
79 rc = efc->tt.issue_mbox_rqst(efc->base, data,
81 if (rc) {
123 int rc; local
176 int rc; local
266 int rc = 0; local
387 int rc; local
428 int rc; local
516 int rc = 0; local
554 int rc; local
570 int rc; local
660 int rc = -EIO; local
690 int rc = 0; local
726 int rc = 0; local
757 int rc = -EIO; local
[all...]
/linux-master/drivers/ata/
H A Dahci_ceva.c193 int rc, i; local
195 rc = ahci_platform_enable_regulators(hpriv);
196 if (rc)
197 return rc;
199 rc = ahci_platform_enable_clks(hpriv);
200 if (rc)
204 rc = ahci_platform_assert_rsts(hpriv);
205 if (rc)
209 rc = phy_init(hpriv->phys[i]);
210 if (rc)
252 int rc; local
369 int rc; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Dibmphp_core.c55 int rc = 1; local
62 rc = ibmphp_hpc_readslot(slot_cur, READ_BUSSTATUS, NULL);
64 if (rc)
65 return rc;
85 int rc; local
86 rc = ibmphp_hpc_readslot(*sl, READ_ALLSTAT, NULL);
87 if (rc)
88 return rc;
90 rc = get_cur_bus_info(sl);
91 return rc;
215 int rc = 0; local
256 int rc = -ENODEV; local
283 int rc = -ENODEV; local
308 int rc = -ENODEV; local
332 int rc = -ENODEV; local
361 int rc = 0; local
405 int rc; local
709 int rc; local
740 int rc; local
895 int rc, i, rcpr; local
1065 int rc; local
1075 int rc; local
1184 int rc = 0; local
[all...]
/linux-master/drivers/cxl/
H A Dpci.c203 int rc; local
264 rc = cxl_pci_mbox_wait_for_doorbell(cxlds);
265 if (rc == -ETIMEDOUT) {
269 return rc;
376 int rc; local
379 rc = __cxl_pci_mbox_send_cmd(mds, cmd);
382 return rc;
506 int rc; local
508 rc = cxl_find_regblock(pdev, type, map);
515 if (rc
530 int rc; local
661 int rc; local
675 int rc; local
705 int rc; local
749 int rc; local
796 int i, rc, pmu_count; local
[all...]
/linux-master/drivers/fsi/
H A Dfsi-core.c199 int rc, link; local
205 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SISC,
207 if (rc)
208 return rc;
210 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SSTAT,
212 if (rc)
213 return rc;
275 int rc, link; local
291 rc = fsi_slave_report_and_clear_errors(slave);
292 if (!rc)
335 int rc, err_rc, i; local
360 int rc, err_rc, i; local
445 int rc, i; local
562 int rc; local
589 int rc; local
666 ssize_t rc; local
702 ssize_t rc; local
796 int rc; local
987 int rc; local
1139 int rc; local
1156 int rc; local
1191 int rc = 0; local
1205 int link, rc; local
1255 int rc; local
1270 int rc; local
1308 int rc; local
1415 int rc; local
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dplpks-secvar.c79 int rc = 0; local
86 rc = utf8s_to_utf16s(key, key_len - 1, UTF16_LITTLE_ENDIAN, (wchar_t *)var.name,
88 if (rc < 0)
90 var.namelen = rc * 2;
97 rc = plpks_read_os_var(&var);
99 if (rc)
106 if (rc && rc != -ENOENT) {
107 pr_err("Failed to read variable '%s': %d\n", key, rc);
110 rc
119 int rc = 0; local
[all...]
/linux-master/arch/s390/kernel/
H A Dcert_store.c320 int rc; local
328 rc = key_type_keyring.read(keyring, (char *)key_array, keyring_payload_len);
329 if (rc != keyring_payload_len) {
340 rc = key_unlink(keyring, current_key);
341 if (rc) {
342 pr_dbf_msg("Couldn't unlink key %08x: %d", current_key->serial, rc);
348 return rc;
458 int rc; local
471 rc = PTR_ERR_OR_ZERO(newkey);
472 if (rc) {
534 int rc, diag320_rc; local
576 int rc; local
611 int rc, index, count, added; local
655 int rc; local
685 int rc; local
745 int rc, retries; local
778 int rc = -ENOMEM; local
[all...]
/linux-master/drivers/nvmem/
H A Dqcom-spmi-sdam.c68 int rc; local
76 rc = regmap_bulk_read(sdam->regmap, sdam->base + offset, val, bytes);
77 if (rc < 0)
78 dev_err(dev, "Failed to read SDAM offset %#x len=%zd, rc=%d\n",
79 offset, bytes, rc);
81 return rc;
89 int rc; local
103 rc = regmap_bulk_write(sdam->regmap, sdam->base + offset, val, bytes);
104 if (rc < 0)
105 dev_err(dev, "Failed to write SDAM offset %#x len=%zd, rc
116 int rc; local
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_dsc_1_2.c246 struct drm_dsc_rc_range_parameters *rc; local
255 rc = dsc->rc_range_params;
289 (rc[0].range_min_qp << 0) |
290 (rc[1].range_min_qp << 5) |
291 (rc[2].range_min_qp << 10) |
292 (rc[3].range_min_qp << 15) |
293 (rc[4].range_min_qp << 20));
295 (rc[0].range_max_qp << 0) |
296 (rc[1].range_max_qp << 5) |
297 (rc[
[all...]
/linux-master/drivers/leds/flash/
H A Dleds-qcom-flash.c155 int i, rc; local
167 rc = regmap_field_write(flash_data->r_fields[REG_MODULE_EN], enable);
168 if (rc)
169 dev_err(led->flash.led_cdev.dev, "write module_en failed, rc=%d\n", rc);
172 return rc;
180 int i, rc; local
197 rc = regmap_fields_write(flash_data->r_fields[REG_ITARGET], chan_id, itarget);
198 if (rc)
199 return rc;
227 int rc, i; local
253 int rc, i; local
310 int rc; local
346 int i, rc; local
422 int rc; local
461 int rc; local
547 int i, rc, count; local
662 int count, i, rc; local
[all...]
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_devlink.c84 int rc = -EINVAL; local
103 rc = ipc_flash_boot_psi(ipc_devlink, params->fw);
106 rc = ipc_flash_boot_ebl(ipc_devlink, params->fw);
107 if (rc)
109 rc = ipc_flash_boot_set_capabilities(ipc_devlink, mdm_rsp);
110 if (rc)
112 rc = ipc_flash_read_swid(ipc_devlink, mdm_rsp);
115 rc = ipc_flash_send_fls(ipc_devlink, params->fw, mdm_rsp);
123 if (!rc)
131 return rc;
169 int rc; local
196 int rc = 0; local
244 int rc; local
[all...]
/linux-master/drivers/nvdimm/
H A Dsecurity.c142 int rc; local
154 rc = nvdimm->sec.ops->change_key(nvdimm, data, data, NVDIMM_USER);
155 if (rc < 0) {
157 return rc;
171 int rc; local
208 rc = nvdimm->sec.ops->unlock(nvdimm, data);
210 rc == 0 ? "success" : "fail");
211 if (rc == 0)
216 return rc;
222 int rc; local
254 int rc; local
303 int rc; local
352 int rc; local
395 int rc; local
439 int rc; local
524 ssize_t rc; local
[all...]
/linux-master/drivers/s390/char/
H A Dvmur.c256 int rc; local
262 rc = mutex_lock_interruptible(&urd->io_mutex);
263 if (rc)
264 return rc;
269 rc = ccw_device_start(cdev, cpa, 1, 0, 0);
272 TRACE("do_ur_io: ccw_device_start returned %d\n", rc);
273 if (rc)
278 rc = 0;
282 return rc;
343 int rc; local
424 int rc; local
519 int rc; local
568 int rc; local
607 int rc; local
666 int rc; local
702 int rc; local
824 int rc; local
871 int minor, major, rc; local
941 int rc; local
975 int rc; local
1009 int rc; local
[all...]
/linux-master/drivers/cxl/core/
H A Dmbox.c245 int rc; local
253 rc = mds->mbox_send(mds, mbox_cmd);
258 if (WARN_ONCE(rc == -EIO, "Bad return code: -EIO"))
260 if (rc)
261 return rc;
486 int rc; local
501 rc = cxl_to_mem_cmd_raw(&mem_cmd, send_cmd, mds);
503 rc = cxl_to_mem_cmd(&mem_cmd, send_cmd, mds);
505 if (rc)
506 return rc;
583 int rc; local
625 int rc; local
657 int rc; local
745 int rc; local
794 int i, rc; local
883 int rc = 0; local
965 int rc, i; local
1042 int rc; local
1080 int rc; local
1118 int rc; local
1181 int rc; local
1205 int rc; local
1231 int rc; local
1272 int rc; local
1302 int rc; local
1363 int rc; local
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm_tis_i2c_cr50.c155 int rc; local
158 rc = __i2c_transfer(adapter, msg, 1);
159 if (rc == 1)
163 try + 1, TPM_CR50_I2C_MAX_RETRIES, rc);
200 int rc; local
208 rc = tpm_cr50_i2c_transfer_message(&chip->dev, client->adapter, &msg_reg_addr);
209 if (rc < 0)
213 rc = tpm_cr50_i2c_wait_tpm_ready(chip);
214 if (rc < 0)
218 rc
255 int rc; local
299 int rc; local
343 int rc; local
458 int rc; local
546 int rc; local
686 int rc; local
[all...]
/linux-master/security/integrity/evm/
H A Devm_crypto.c54 int rc; local
56 rc = -EBUSY;
59 rc = -EINVAL;
70 return rc;
76 long rc; local
110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len);
111 if (rc) {
114 return ERR_PTR(rc);
128 rc = crypto_shash_init(desc);
129 if (rc) {
326 int rc = 0; local
361 int rc = 0; local
419 int rc; local
[all...]

Completed in 584 milliseconds

1234567891011>>