Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/net/mac80211/
A Dchan.c857 if (new_ctx) { in ieee80211_assign_link_chanctx()
879 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx()
1094 if (!new_ctx) { in ieee80211_link_reserve_chanctx()
1097 if (IS_ERR(new_ctx)) in ieee80211_link_reserve_chanctx()
1151 if (!new_ctx) in ieee80211_link_reserve_chanctx()
1253 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_reassign()
1277 vif_chsw[0].new_ctx = &new_ctx->conf; in ieee80211_link_use_reserved_reassign()
1333 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_assign()
1345 ieee80211_change_chanctx(local, new_ctx, new_ctx, chandef); in ieee80211_link_use_reserved_assign()
1377 if (WARN_ON(!new_ctx)) in ieee80211_link_has_in_place_reservation()
[all …]
A Ddriver-ops.c347 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
348 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
358 new_ctx->driver_present) || in drv_switch_vif_chanctx()
360 !new_ctx->driver_present)); in drv_switch_vif_chanctx()
370 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
371 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
379 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
/linux-6.3-rc2/fs/cifs/
A Dfs_context.c310 new_ctx->prepath = NULL; in smb3_fs_context_dup()
311 new_ctx->nodename = NULL; in smb3_fs_context_dup()
312 new_ctx->username = NULL; in smb3_fs_context_dup()
313 new_ctx->password = NULL; in smb3_fs_context_dup()
316 new_ctx->UNC = NULL; in smb3_fs_context_dup()
317 new_ctx->source = NULL; in smb3_fs_context_dup()
318 new_ctx->iocharset = NULL; in smb3_fs_context_dup()
744 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
749 if (new_ctx->username && in smb3_verify_reconfigure_ctx()
754 if (new_ctx->password && in smb3_verify_reconfigure_ctx()
[all …]
A Dfs_context.h281 extern int smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx);
/linux-6.3-rc2/tools/perf/arch/x86/tests/
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()
/linux-6.3-rc2/net/mptcp/
A Dsubflow.c1958 if (!new_ctx) { in subflow_ulp_clone()
1963 new_ctx->conn_finished = 1; in subflow_ulp_clone()
1967 new_ctx->rel_write_seq = 1; in subflow_ulp_clone()
1968 new_ctx->tcp_sock = newsk; in subflow_ulp_clone()
1974 new_ctx->mp_capable = 1; in subflow_ulp_clone()
1976 new_ctx->token = subflow_req->token; in subflow_ulp_clone()
1978 new_ctx->idsn = subflow_req->idsn; in subflow_ulp_clone()
1981 new_ctx->local_id_valid = 1; in subflow_ulp_clone()
1984 new_ctx->mp_join = 1; in subflow_ulp_clone()
1985 new_ctx->fully_established = 1; in subflow_ulp_clone()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A 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…
A Ddcn20_resource.c1416 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument
1423 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()
1424 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource()
1427 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource()
1442 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1445 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1449 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1452 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx()
1462 result = remove_dsc_from_stream_resource(dc, new_ctx, dc_stream); in dcn20_remove_stream_from_ctx()
1679 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx) in dcn20_validate_dsc() argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c2177 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
2211 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
2226 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
2260 new_ctx->streams[i] = new_ctx->streams[i + 1]; in dc_remove_stream_from_ctx()
2261 new_ctx->stream_status[i] = new_ctx->stream_status[i + 1]; in dc_remove_stream_from_ctx()
2264 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
2266 &new_ctx->stream_status[new_ctx->stream_count], in dc_remove_stream_from_ctx()
2854 if (!new_ctx) in dc_validate_global_state()
2888 &new_ctx->res_ctx, in dc_validate_global_state()
2894 &new_ctx->res_ctx, in dc_validate_global_state()
[all …]
A Ddc.c2190 struct dc_state *new_ctx = kvmalloc(sizeof(struct dc_state), GFP_KERNEL); in dc_copy_state() local
2192 if (!new_ctx) in dc_copy_state()
2194 memcpy(new_ctx, src_ctx, sizeof(struct dc_state)); in dc_copy_state()
2197 struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_copy_state()
2200 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state()
2213 for (i = 0; i < new_ctx->stream_count; i++) { in dc_copy_state()
2214 dc_stream_retain(new_ctx->streams[i]); in dc_copy_state()
2215 for (j = 0; j < new_ctx->stream_status[i].plane_count; j++) in dc_copy_state()
2217 new_ctx->stream_status[i].plane_states[j]); in dc_copy_state()
2220 kref_init(&new_ctx->refcount); in dc_copy_state()
[all …]
/linux-6.3-rc2/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-6.3-rc2/arch/powerpc/kernel/
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()
A 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.3-rc2/arch/powerpc/include/asm/
A Dsyscalls.h54 struct ucontext __user *new_ctx, long ctx_size);
76 struct ucontext32 __user *new_ctx,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce100/
A Ddce100_resource.h46 struct dc_state *new_ctx,
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dce112/
A Ddce112_resource.h52 struct dc_state *new_ctx,
A 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.3-rc2/arch/sparc/mm/
A 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
822 if (new_ctx >= (1 << CTX_NR_BITS)) { 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()
832 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()
833 tlb_context_cache = new_ctx; in get_new_mmu_context()
[all …]
/linux-6.3-rc2/net/bpf/
A Dtest_run.c129 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local
141 new_ctx = &head->ctx; in xdp_test_run_init_page()
146 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page()
147 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page()
148 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page()
150 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page()
151 frm->mem = new_ctx->rxq->mem; in xdp_test_run_init_page()
153 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_resource.h98 struct dc_state *new_ctx,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h165 struct dc_state *new_ctx,
170 struct dc_state *new_ctx,
/linux-6.3-rc2/fs/xfs/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc_stream.h411 struct dc_state *new_ctx,
416 struct dc_state *new_ctx,
/linux-6.3-rc2/mm/damon/
A Ddbgfs.c817 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context() local
844 new_ctx = dbgfs_new_ctx(); in dbgfs_mk_context()
845 if (!new_ctx) { in dbgfs_mk_context()
851 dbgfs_ctxs[dbgfs_nr_ctxs] = new_ctx; in dbgfs_mk_context()

Completed in 135 milliseconds

12