Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/mac80211/
Dchan.c835 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_link_chanctx() argument
857 if (new_ctx) { in ieee80211_assign_link_chanctx()
858 ret = drv_assign_vif_chanctx(local, sdata, link->conf, new_ctx); in ieee80211_assign_link_chanctx()
862 conf = &new_ctx->conf; in ieee80211_assign_link_chanctx()
864 &new_ctx->assigned_links); in ieee80211_assign_link_chanctx()
879 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx()
881 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_link_chanctx()
1085 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_link_reserve_chanctx() local
1093 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_link_reserve_chanctx()
1094 if (!new_ctx) { in ieee80211_link_reserve_chanctx()
[all …]
Ddriver-ops.c346 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
347 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
357 new_ctx->driver_present) || in drv_switch_vif_chanctx()
359 !new_ctx->driver_present)); in drv_switch_vif_chanctx()
369 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
370 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
378 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
/linux-6.1.9/fs/cifs/
Dfs_context.c298 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \
299 if (new_ctx->field == NULL) { \
300 smb3_cleanup_fs_context_contents(new_ctx); \
307 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument
309 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup()
310 new_ctx->prepath = NULL; in smb3_fs_context_dup()
311 new_ctx->mount_options = NULL; in smb3_fs_context_dup()
312 new_ctx->nodename = NULL; in smb3_fs_context_dup()
313 new_ctx->username = NULL; in smb3_fs_context_dup()
314 new_ctx->password = NULL; in smb3_fs_context_dup()
[all …]
Dfs_context.h282 extern int smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx);
/linux-6.1.9/tools/perf/arch/x86/tests/
Dintel-pt-pkt-decoder-test.c25 enum intel_pt_pkt_ctx new_ctx; member
212 enum intel_pt_pkt_ctx new_ctx) in fail() argument
233 if (new_ctx != d->new_ctx) in fail()
235 d->new_ctx, new_ctx); in fail()
290 packet.payload != d->packet.payload || ctx != d->new_ctx) in test_one()
/linux-6.1.9/net/mptcp/
Dsubflow.c1880 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local
1888 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone()
1889 if (!new_ctx) { in subflow_ulp_clone()
1894 new_ctx->conn_finished = 1; in subflow_ulp_clone()
1895 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
1896 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
1897 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
1898 new_ctx->rel_write_seq = 1; in subflow_ulp_clone()
1899 new_ctx->tcp_sock = newsk; in subflow_ulp_clone()
1905 new_ctx->mp_capable = 1; in subflow_ulp_clone()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c2155 struct dc_state *new_ctx, in dc_add_stream_to_ctx() argument
2161 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
2166 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
2168 new_ctx->stream_count++; in dc_add_stream_to_ctx()
2170 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in dc_add_stream_to_ctx()
2182 struct dc_state *new_ctx, in dc_remove_stream_from_ctx() argument
2187 struct pipe_ctx *del_pipe = resource_get_head_pipe_for_stream(&new_ctx->res_ctx, stream); in dc_remove_stream_from_ctx()
2200 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
2207 &new_ctx->res_ctx, dc->res_pool, in dc_remove_stream_from_ctx()
2210 remove_hpo_dp_link_enc_from_ctx(&new_ctx->res_ctx, del_pipe, del_pipe->stream); in dc_remove_stream_from_ctx()
[all …]
Ddc.c2079 struct dc_state *new_ctx = kvmalloc(sizeof(struct dc_state), GFP_KERNEL); in dc_copy_state() local
2081 if (!new_ctx) in dc_copy_state()
2083 memcpy(new_ctx, src_ctx, sizeof(struct dc_state)); in dc_copy_state()
2086 struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_copy_state()
2089 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state()
2092 cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_copy_state()
2095 cur_pipe->prev_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx]; in dc_copy_state()
2098 cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_copy_state()
2102 for (i = 0; i < new_ctx->stream_count; i++) { in dc_copy_state()
2103 dc_stream_retain(new_ctx->streams[i]); in dc_copy_state()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.h132 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx);
161 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st…
163 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
Ddcn20_resource.c1406 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument
1413 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()
1414 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource()
1417 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource()
1428 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
1432 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1435 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1439 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1442 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1448 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 …]
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/kernel/
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()
Dsignal_32.c988 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument
991 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3()
1000 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3()
1009 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
1058 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3()
1060 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3()
1061 fault_in_readable((char __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1075 if (do_setcontext(new_ctx, regs, 0)) { in COMPAT_SYSCALL_DEFINE3()
/linux-6.1.9/arch/powerpc/include/asm/
Dsyscalls.h54 struct ucontext __user *new_ctx, long ctx_size);
76 struct ucontext32 __user *new_ctx,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.h46 struct dc_state *new_ctx,
Ddce100_resource.c892 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument
897 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
900 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
903 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.h52 struct dc_state *new_ctx,
Ddce112_resource.c1011 struct dc_state *new_ctx, in dce112_add_stream_to_ctx() argument
1016 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
1019 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
1023 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
/linux-6.1.9/arch/sparc/mm/
Dinit_64.c755 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
792 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
793 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap()
794 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap()
811 unsigned long ctx, new_ctx; in get_new_mmu_context() local
821 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context()
822 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
823 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context()
824 if (new_ctx >= ctx) { in get_new_mmu_context()
831 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
[all …]
/linux-6.1.9/net/bpf/
Dtest_run.c122 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local
134 new_ctx = &head->ctx; in xdp_test_run_init_page()
139 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page()
140 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page()
141 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page()
143 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page()
144 frm->mem = new_ctx->rxq->mem; in xdp_test_run_init_page()
146 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.h97 struct dc_state *new_ctx,
/linux-6.1.9/fs/xfs/
Dxfs_log_cil.c1183 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local
1194 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work()
1195 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work()
1291 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work()
1396 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work()
1397 kmem_free(new_ctx); in xlog_cil_push_work()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h383 struct dc_state *new_ctx,
388 struct dc_state *new_ctx,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h185 struct dc_state *new_ctx,
190 struct dc_state *new_ctx,
/linux-6.1.9/mm/damon/
Ddbgfs.c807 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context() local
834 new_ctx = dbgfs_new_ctx(); in dbgfs_mk_context()
835 if (!new_ctx) { in dbgfs_mk_context()
841 dbgfs_ctxs[dbgfs_nr_ctxs] = new_ctx; in dbgfs_mk_context()

12