Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/mac80211/
Dchan.c654 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_vif_chanctx() argument
675 if (new_ctx) { in ieee80211_assign_vif_chanctx()
676 ret = drv_assign_vif_chanctx(local, sdata, new_ctx); in ieee80211_assign_vif_chanctx()
680 conf = &new_ctx->conf; in ieee80211_assign_vif_chanctx()
682 &new_ctx->assigned_vifs); in ieee80211_assign_vif_chanctx()
697 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx()
699 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_vif_chanctx()
887 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local
895 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx()
896 if (!new_ctx) { in ieee80211_vif_reserve_chanctx()
[all …]
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()
Dtrace.h1629 new_ctx->def.chan->center_freq);
1631 new_ctx->def.chan->freq_offset);
1633 new_ctx->def.width);
1635 new_ctx->def.center_freq1);
1637 new_ctx->def.freq1_offset);
1639 new_ctx->def.center_freq2);
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
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()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_log_cil.c649 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local
660 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_NOFS); in xlog_cil_push_work()
661 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work()
755 INIT_LIST_HEAD(&new_ctx->committing); in xlog_cil_push_work()
756 INIT_LIST_HEAD(&new_ctx->busy_extents); in xlog_cil_push_work()
757 new_ctx->sequence = ctx->sequence + 1; in xlog_cil_push_work()
758 new_ctx->cil = cil; in xlog_cil_push_work()
759 cil->xc_ctx = new_ctx; in xlog_cil_push_work()
787 cil->xc_current_sequence = new_ctx->sequence; in xlog_cil_push_work()
824 list_for_each_entry(new_ctx, &cil->xc_committing, committing) { in xlog_cil_push_work()
[all …]
/kernel/linux/linux-5.10/net/mptcp/
Dsubflow.c1352 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local
1360 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone()
1361 if (!new_ctx) { in subflow_ulp_clone()
1366 new_ctx->conn_finished = 1; in subflow_ulp_clone()
1367 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
1368 new_ctx->tcp_data_ready = old_ctx->tcp_data_ready; in subflow_ulp_clone()
1369 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
1370 new_ctx->tcp_write_space = old_ctx->tcp_write_space; in subflow_ulp_clone()
1371 new_ctx->rel_write_seq = 1; in subflow_ulp_clone()
1372 new_ctx->tcp_sock = newsk; in subflow_ulp_clone()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1831 struct dc_state *new_ctx, in dc_add_stream_to_ctx() argument
1837 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
1842 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1844 new_ctx->stream_count++; in dc_add_stream_to_ctx()
1846 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in dc_add_stream_to_ctx()
1858 struct dc_state *new_ctx, in dc_remove_stream_from_ctx() argument
1863 struct pipe_ctx *del_pipe = resource_get_head_pipe_for_stream(&new_ctx->res_ctx, stream); in dc_remove_stream_from_ctx()
1876 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
1883 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
1888 resource_unreference_clock_source(&new_ctx->res_ctx, in dc_remove_stream_from_ctx()
[all …]
Ddc.c1590 struct dc_state *new_ctx = kvmalloc(sizeof(struct dc_state), GFP_KERNEL); in dc_copy_state() local
1592 if (!new_ctx) in dc_copy_state()
1594 memcpy(new_ctx, src_ctx, sizeof(struct dc_state)); in dc_copy_state()
1597 struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_copy_state()
1600 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state()
1603 cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_copy_state()
1606 cur_pipe->prev_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx]; in dc_copy_state()
1609 cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_copy_state()
1613 for (i = 0; i < new_ctx->stream_count; i++) { in dc_copy_state()
1614 dc_stream_retain(new_ctx->streams[i]); in dc_copy_state()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.h130 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx);
163 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st…
165 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
Ddcn20_resource.c1750 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument
1757 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()
1758 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource()
1761 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource()
1772 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… in dcn20_add_stream_to_ctx() argument
1776 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1779 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1783 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1786 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1792 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre… in dcn20_remove_stream_from_ctx() argument
[all …]
/kernel/linux/linux-5.10/security/selinux/
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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsignal_64.c636 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument
642 if (new_ctx && in SYSCALL_DEFINE3()
643 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
670 if (new_ctx == NULL) in SYSCALL_DEFINE3()
672 if (!access_ok(new_ctx, ctx_size) || in SYSCALL_DEFINE3()
673 fault_in_pages_readable((u8 __user *)new_ctx, ctx_size)) in SYSCALL_DEFINE3()
688 if (__copy_from_user(&set, &new_ctx->uc_sigmask, sizeof(set))) in SYSCALL_DEFINE3()
691 if (restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) in SYSCALL_DEFINE3()
Dsignal_32.c908 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument
911 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3()
920 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3()
929 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
976 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3()
978 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3()
979 fault_in_pages_readable((u8 __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
993 if (do_setcontext(new_ctx, regs, 0)) in COMPAT_SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.h46 struct dc_state *new_ctx,
Ddce100_resource.c898 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument
903 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
906 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
909 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.h52 struct dc_state *new_ctx,
Ddce112_resource.c1017 struct dc_state *new_ctx, in dce112_add_stream_to_ctx() argument
1022 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
1025 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
1029 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_64.c753 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
790 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
791 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap()
792 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap()
809 unsigned long ctx, new_ctx; in get_new_mmu_context() local
819 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context()
820 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
821 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context()
822 if (new_ctx >= ctx) { in get_new_mmu_context()
829 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.h85 struct dc_state *new_ctx,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h127 struct dc_state *new_ctx,
132 struct dc_state *new_ctx,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h324 struct dc_state *new_ctx,
329 struct dc_state *new_ctx,
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dasm-prototypes.h90 struct ucontext __user *new_ctx,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c1111 struct dc_state *new_ctx, in dce110_add_stream_to_ctx() argument
1116 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
1119 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
1123 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1133 struct dc_state *new_ctx, in dcn10_add_stream_to_ctx() argument
1138 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
1141 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
1145 result = build_mapped_resource(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c1319 int new_ctx; in s5p_mfc_try_run_v5() local
1333 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v5()
1334 if (new_ctx < 0) { in s5p_mfc_try_run_v5()
1343 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v5()

12