Home
last modified time | relevance | path

Searched refs:new_ctx (Results 1 – 25 of 38) sorted by relevance

12

/linux/net/mac80211/
A Dchan.c770 if (new_ctx) { in ieee80211_assign_vif_chanctx()
792 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx()
990 if (!new_ctx) { in ieee80211_vif_reserve_chanctx()
993 if (IS_ERR(new_ctx)) in ieee80211_vif_reserve_chanctx()
1047 if (!new_ctx) in ieee80211_vif_reserve_chanctx()
1134 if (WARN_ON(!new_ctx)) in ieee80211_vif_use_reserved_reassign()
1158 vif_chsw[0].new_ctx = &new_ctx->conf; in ieee80211_vif_use_reserved_reassign()
1212 if (WARN_ON(!new_ctx)) in ieee80211_vif_use_reserved_assign()
1224 ieee80211_change_chanctx(local, new_ctx, new_ctx, chandef); in ieee80211_vif_use_reserved_assign()
1255 if (WARN_ON(!new_ctx)) in ieee80211_vif_has_in_place_reservation()
[all …]
A Ddriver-ops.c286 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
287 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
297 new_ctx->driver_present) || in drv_switch_vif_chanctx()
299 !new_ctx->driver_present)); in drv_switch_vif_chanctx()
309 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
310 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
318 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
/linux/fs/cifs/
A Dfs_context.c306 new_ctx->prepath = NULL; in smb3_fs_context_dup()
308 new_ctx->nodename = NULL; in smb3_fs_context_dup()
309 new_ctx->username = NULL; in smb3_fs_context_dup()
310 new_ctx->password = NULL; in smb3_fs_context_dup()
314 new_ctx->UNC = NULL; in smb3_fs_context_dup()
315 new_ctx->source = NULL; in smb3_fs_context_dup()
316 new_ctx->iocharset = NULL; in smb3_fs_context_dup()
743 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
748 if (new_ctx->username && in smb3_verify_reconfigure_ctx()
753 if (new_ctx->password && in smb3_verify_reconfigure_ctx()
[all …]
A Dfs_context.h277 extern int smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx);
/linux/tools/perf/arch/x86/tests/
A Dintel-pt-pkt-decoder-test.c25 enum intel_pt_pkt_ctx new_ctx; member
201 enum intel_pt_pkt_ctx new_ctx) in fail() argument
222 if (new_ctx != d->new_ctx) in fail()
224 d->new_ctx, new_ctx); in fail()
279 packet.payload != d->packet.payload || ctx != d->new_ctx) in test_one()
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c1841 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1875 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
1894 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
1928 new_ctx->streams[i] = new_ctx->streams[i + 1]; in dc_remove_stream_from_ctx()
1929 new_ctx->stream_status[i] = new_ctx->stream_status[i + 1]; in dc_remove_stream_from_ctx()
1932 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
1934 &new_ctx->stream_status[new_ctx->stream_count], in dc_remove_stream_from_ctx()
2257 if (!new_ctx) in dc_validate_global_state()
2291 &new_ctx->res_ctx, in dc_validate_global_state()
2297 &new_ctx->res_ctx, in dc_validate_global_state()
[all …]
A Ddc.c1980 struct dc_state *new_ctx = kvmalloc(sizeof(struct dc_state), GFP_KERNEL); in dc_copy_state() local
1982 if (!new_ctx) in dc_copy_state()
1984 memcpy(new_ctx, src_ctx, sizeof(struct dc_state)); in dc_copy_state()
1987 struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_copy_state()
1990 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state()
2003 for (i = 0; i < new_ctx->stream_count; i++) { in dc_copy_state()
2004 dc_stream_retain(new_ctx->streams[i]); in dc_copy_state()
2005 for (j = 0; j < new_ctx->stream_status[i].plane_count; j++) in dc_copy_state()
2007 new_ctx->stream_status[i].plane_states[j]); in dc_copy_state()
2010 kref_init(&new_ctx->refcount); in dc_copy_state()
[all …]
/linux/net/mptcp/
A Dsubflow.c1717 if (!new_ctx) { in subflow_ulp_clone()
1722 new_ctx->conn_finished = 1; in subflow_ulp_clone()
1728 new_ctx->rel_write_seq = 1; in subflow_ulp_clone()
1729 new_ctx->tcp_sock = newsk; in subflow_ulp_clone()
1735 new_ctx->mp_capable = 1; in subflow_ulp_clone()
1737 new_ctx->token = subflow_req->token; in subflow_ulp_clone()
1739 new_ctx->idsn = subflow_req->idsn; in subflow_ulp_clone()
1742 new_ctx->mp_join = 1; in subflow_ulp_clone()
1743 new_ctx->fully_established = 1; in subflow_ulp_clone()
1747 new_ctx->token = subflow_req->token; in subflow_ulp_clone()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.h134 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx);
168 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st…
170 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
A Ddcn20_resource.c1771 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument
1778 if (new_ctx->res_ctx.pipe_ctx[i].stream == dc_stream && !new_ctx->res_ctx.pipe_ctx[i].top_pipe) { in remove_dsc_from_stream_resource()
1779 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource()
1782 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource()
1797 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1800 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1804 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1807 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1817 result = remove_dsc_from_stream_resource(dc, new_ctx, dc_stream); in dcn20_remove_stream_from_ctx()
2470 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx) in dcn20_validate_dsc() argument
[all …]
/linux/security/selinux/
A Dxfrm.c299 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local
304 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
306 if (!new_ctx) in selinux_xfrm_policy_clone()
309 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
/linux/arch/powerpc/kernel/
A Dsignal_64.c650 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument
656 if (new_ctx && in SYSCALL_DEFINE3()
657 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
688 if (new_ctx == NULL) in SYSCALL_DEFINE3()
690 if (!access_ok(new_ctx, ctx_size) || in SYSCALL_DEFINE3()
691 fault_in_readable((char __user *)new_ctx, ctx_size)) in SYSCALL_DEFINE3()
706 if (__get_user_sigset(&set, &new_ctx->uc_sigmask)) { in SYSCALL_DEFINE3()
712 if (!user_read_access_begin(new_ctx, ctx_size)) in SYSCALL_DEFINE3()
714 if (__unsafe_restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) { in SYSCALL_DEFINE3()
A Dsignal_32.c978 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument
981 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3()
990 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3()
999 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
1048 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3()
1050 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3()
1051 fault_in_readable((char __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1065 if (do_setcontext(new_ctx, regs, 0)) { in COMPAT_SYSCALL_DEFINE3()
/linux/arch/sparc/mm/
A Dinit_64.c754 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
791 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
792 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap()
793 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap()
810 unsigned long ctx, new_ctx; in get_new_mmu_context() local
821 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
823 if (new_ctx >= ctx) { in get_new_mmu_context()
830 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
831 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()
832 tlb_context_cache = new_ctx; in get_new_mmu_context()
[all …]
/linux/fs/xfs/
A Dxfs_log_cil.c860 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local
873 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work()
874 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work()
1006 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work()
1106 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work()
1107 kmem_free(new_ctx); in xlog_cil_push_work()
/linux/drivers/gpu/drm/amd/display/dc/dce100/
A Ddce100_resource.h46 struct dc_state *new_ctx,
A Ddce100_resource.c893 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument
898 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
901 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
904 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
/linux/drivers/gpu/drm/amd/display/dc/dce112/
A Ddce112_resource.h52 struct dc_state *new_ctx,
A Ddce112_resource.c1012 struct dc_state *new_ctx, in dce112_add_stream_to_ctx() argument
1017 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
1020 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
1024 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_resource.h94 struct dc_state *new_ctx,
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc_stream.h355 struct dc_state *new_ctx,
360 struct dc_state *new_ctx,
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h156 struct dc_state *new_ctx,
161 struct dc_state *new_ctx,
/linux/mm/damon/
A Ddbgfs.c694 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context() local
718 new_ctx = dbgfs_new_ctx(); in dbgfs_mk_context()
719 if (!new_ctx) { in dbgfs_mk_context()
725 dbgfs_ctxs[dbgfs_nr_ctxs] = new_ctx; in dbgfs_mk_context()
/linux/arch/powerpc/include/asm/
A Dasm-prototypes.h61 struct ucontext __user *new_ctx,
/linux/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_resource.c1104 struct dc_state *new_ctx, in dce110_add_stream_to_ctx() argument
1109 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
1112 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
1116 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()

Completed in 73 milliseconds

12