Searched refs:tmp_ctx (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/drivers/edac/ |
D | xgene_edac.c | 346 struct xgene_edac_mc_ctx tmp_ctx; in xgene_edac_mc_add() local 351 memset(&tmp_ctx, 0, sizeof(tmp_ctx)); in xgene_edac_mc_add() 352 tmp_ctx.edac = edac; in xgene_edac_mc_add() 362 tmp_ctx.mcu_csr = devm_ioremap_resource(edac->dev, &res); in xgene_edac_mc_add() 363 if (IS_ERR(tmp_ctx.mcu_csr)) { in xgene_edac_mc_add() 365 rc = PTR_ERR(tmp_ctx.mcu_csr); in xgene_edac_mc_add() 370 if (of_property_read_u32(np, "memory-controller", &tmp_ctx.mcu_id)) { in xgene_edac_mc_add() 375 if (!xgene_edac_mc_is_active(&tmp_ctx, tmp_ctx.mcu_id)) { in xgene_edac_mc_add() 386 mci = edac_mc_alloc(tmp_ctx.mcu_id, ARRAY_SIZE(layers), layers, in xgene_edac_mc_add() 394 *ctx = tmp_ctx; /* Copy over resource value */ in xgene_edac_mc_add()
|
/Linux-v5.15/fs/cifs/ |
D | connect.c | 3143 struct smb3_fs_context tmp_ctx = {NULL}; in do_dfs_failover() local 3161 rc = smb3_fs_context_dup(&tmp_ctx, ctx); in do_dfs_failover() 3178 cifs_dbg(FYI, "%s: old ctx: UNC=%s prepath=%s\n", __func__, tmp_ctx.UNC, in do_dfs_failover() 3179 tmp_ctx.prepath); in do_dfs_failover() 3189 rc = cifs_setup_volume_info(&tmp_ctx, mdata, fake_devname); in do_dfs_failover() 3197 cifs_dbg(FYI, "%s: new ctx: UNC=%s prepath=%s\n", __func__, tmp_ctx.UNC, in do_dfs_failover() 3198 tmp_ctx.prepath); in do_dfs_failover() 3201 rc = mount_get_dfs_conns(&tmp_ctx, cifs_sb, xid, server, ses, tcon); in do_dfs_failover() 3207 rc = update_vol_info(tgt_it, &tmp_ctx, ctx); in do_dfs_failover() 3212 cifs_dbg(FYI, "%s: final ctx: UNC=%s prepath=%s\n", __func__, tmp_ctx.UNC, in do_dfs_failover() [all …]
|