Home
last modified time | relevance | path

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

123

/openbmc/linux/net/mac80211/
H A Dchan.c878 if (new_ctx) { in ieee80211_assign_link_chanctx()
903 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx()
1118 if (!new_ctx) { in ieee80211_link_reserve_chanctx()
1121 if (IS_ERR(new_ctx)) in ieee80211_link_reserve_chanctx()
1175 if (!new_ctx) in ieee80211_link_reserve_chanctx()
1277 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_reassign()
1301 vif_chsw[0].new_ctx = &new_ctx->conf; in ieee80211_link_use_reserved_reassign()
1357 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_assign()
1369 ieee80211_change_chanctx(local, new_ctx, new_ctx, chandef); in ieee80211_link_use_reserved_assign()
1401 if (WARN_ON(!new_ctx)) in ieee80211_link_has_in_place_reservation()
[all …]
H A Ddriver-ops.c348 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
349 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
359 new_ctx->driver_present) || in drv_switch_vif_chanctx()
361 !new_ctx->driver_present)); in drv_switch_vif_chanctx()
371 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
372 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
380 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
/openbmc/linux/fs/smb/client/
H A Dfs_context.c345 new_ctx->prepath = NULL; in smb3_fs_context_dup()
346 new_ctx->nodename = NULL; in smb3_fs_context_dup()
347 new_ctx->username = NULL; in smb3_fs_context_dup()
348 new_ctx->password = NULL; in smb3_fs_context_dup()
349 new_ctx->password2 = NULL; in smb3_fs_context_dup()
352 new_ctx->UNC = NULL; in smb3_fs_context_dup()
353 new_ctx->source = NULL; in smb3_fs_context_dup()
832 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
837 if (new_ctx->username && in smb3_verify_reconfigure_ctx()
842 if (new_ctx->password && in smb3_verify_reconfigure_ctx()
[all …]
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c30 enum intel_pt_pkt_ctx new_ctx; member
217 enum intel_pt_pkt_ctx new_ctx) in fail() argument
238 if (new_ctx != d->new_ctx) in fail()
240 d->new_ctx, new_ctx); in fail()
295 packet.payload != d->packet.payload || ctx != d->new_ctx) in test_one()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.h63 struct dc_state *new_ctx,
133 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx);
162 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st…
164 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
H A Ddcn20_resource.c1395 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument
1402 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()
1403 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource()
1421 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1424 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1431 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1441 result = remove_dsc_from_stream_resource(dc, new_ctx, dc_stream); in dcn20_remove_stream_from_ctx()
1658 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx) in dcn20_validate_dsc() argument
1664 struct pipe_ctx *pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in dcn20_validate_dsc()
2152 struct dc_state *new_ctx, in dcn20_acquire_free_pipe_for_layer() argument
[all …]
/openbmc/qemu/block/export/
H A Dexport.c121 AioContext *new_ctx; in blk_exp_add() local
130 new_ctx = iothread_get_aio_context(iothread); in blk_exp_add()
134 ret = bdrv_try_change_aio_context(bs, new_ctx, NULL, set_context_errp); in blk_exp_add()
137 aio_context_acquire(new_ctx); in blk_exp_add()
138 ctx = new_ctx; in blk_exp_add()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c1884 new_ctx, in acquire_secondary_dpp_pipes_and_add_plane()
2428 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
2462 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
2477 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
2511 new_ctx->streams[i] = new_ctx->streams[i + 1]; in dc_remove_stream_from_ctx()
2512 new_ctx->stream_status[i] = new_ctx->stream_status[i + 1]; in dc_remove_stream_from_ctx()
2515 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
2517 &new_ctx->stream_status[new_ctx->stream_count], in dc_remove_stream_from_ctx()
3106 if (!new_ctx) in dc_validate_global_state()
3140 &new_ctx->res_ctx, in dc_validate_global_state()
[all …]
/openbmc/linux/net/mptcp/
H A Dsubflow.c1941 if (!new_ctx) { in subflow_ulp_clone()
1946 new_ctx->conn_finished = 1; in subflow_ulp_clone()
1950 new_ctx->rel_write_seq = 1; in subflow_ulp_clone()
1951 new_ctx->tcp_sock = newsk; in subflow_ulp_clone()
1957 new_ctx->mp_capable = 1; in subflow_ulp_clone()
1959 new_ctx->token = subflow_req->token; in subflow_ulp_clone()
1961 new_ctx->idsn = subflow_req->idsn; in subflow_ulp_clone()
1964 subflow_set_local_id(new_ctx, 0); in subflow_ulp_clone()
1967 new_ctx->mp_join = 1; in subflow_ulp_clone()
1968 new_ctx->fully_established = 1; in subflow_ulp_clone()
[all …]
/openbmc/linux/security/selinux/
H A Dxfrm.c296 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local
301 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
303 if (!new_ctx) in selinux_xfrm_policy_clone()
306 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
/openbmc/linux/arch/powerpc/kernel/
H A Dsignal_64.c658 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument
664 if (new_ctx && in SYSCALL_DEFINE3()
665 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
696 if (new_ctx == NULL) in SYSCALL_DEFINE3()
698 if (!access_ok(new_ctx, ctx_size) || in SYSCALL_DEFINE3()
699 fault_in_readable((char __user *)new_ctx, ctx_size)) in SYSCALL_DEFINE3()
714 if (__get_user_sigset(&set, &new_ctx->uc_sigmask)) { in SYSCALL_DEFINE3()
720 if (!user_read_access_begin(new_ctx, ctx_size)) in SYSCALL_DEFINE3()
722 if (__unsafe_restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) { in SYSCALL_DEFINE3()
H A Dsignal_32.c991 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument
994 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3()
1003 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3()
1012 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
1061 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3()
1063 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3()
1064 fault_in_readable((char __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1078 if (do_setcontext(new_ctx, regs, 0)) { in COMPAT_SYSCALL_DEFINE3()
/openbmc/qemu/util/
H A Dasync.c657 AioContext *new_ctx; member
663 aio_co_schedule(data->new_ctx, data->co); in aio_co_reschedule_self_bh()
666 void coroutine_fn aio_co_reschedule_self(AioContext *new_ctx) in aio_co_reschedule_self() argument
670 if (old_ctx != new_ctx) { in aio_co_reschedule_self()
673 .new_ctx = new_ctx, in aio_co_reschedule_self()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/
H A Ddce100_resource.h46 struct dc_state *new_ctx,
/openbmc/linux/arch/powerpc/include/asm/
H A Dsyscalls.h54 struct ucontext __user *new_ctx, long ctx_size);
76 struct ucontext32 __user *new_ctx,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/
H A Ddce112_resource.h52 struct dc_state *new_ctx,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h131 struct dc_state *new_ctx,
141 struct dc_state *new_ctx,
146 struct dc_state *new_ctx,
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c769 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
806 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
807 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap()
808 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap()
825 unsigned long ctx, new_ctx; in get_new_mmu_context() local
836 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
838 if (new_ctx >= ctx) { in get_new_mmu_context()
845 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
846 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()
847 tlb_context_cache = new_ctx; in get_new_mmu_context()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.h98 struct dc_state *new_ctx,
/openbmc/linux/net/bpf/
H A Dtest_run.c132 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local
144 new_ctx = &head->ctx; in xdp_test_run_init_page()
149 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page()
150 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page()
151 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page()
153 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page()
154 frm->mem = new_ctx->rxq->mem; in xdp_test_run_init_page()
156 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.h125 const struct dc_state *new_ctx);
/openbmc/linux/fs/xfs/
H A Dxfs_log_cil.c1128 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local
1139 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work()
1140 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work()
1236 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work()
1341 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work()
1342 kmem_free(new_ctx); in xlog_cil_push_work()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H 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()
1123 struct dc_state *new_ctx, in dce110_acquire_underlay() argument
1130 struct resource_context *res_ctx = &new_ctx->res_ctx; in dce110_acquire_underlay()
1178 new_ctx->stream_count); in dce110_acquire_underlay()
/openbmc/qemu/
H A Dblockjob.c130 AioContext *new_ctx; member
139 job_set_aio_context(&job->job, s->new_ctx); in child_job_set_aio_ctx_commit()
165 .new_ctx = ctx, in child_job_change_aio_ctx()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_stream.h420 struct dc_state *new_ctx,
425 struct dc_state *new_ctx,

123