| /Linux-v5.15/net/mac80211/ |
| D | chan.c | 749 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_vif_chanctx() argument 770 if (new_ctx) { in ieee80211_assign_vif_chanctx() 771 ret = drv_assign_vif_chanctx(local, sdata, new_ctx); in ieee80211_assign_vif_chanctx() 775 conf = &new_ctx->conf; in ieee80211_assign_vif_chanctx() 777 &new_ctx->assigned_vifs); in ieee80211_assign_vif_chanctx() 792 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx() 794 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_vif_chanctx() 981 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local 989 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx() 990 if (!new_ctx) { in ieee80211_vif_reserve_chanctx() [all …]
|
| D | driver-ops.c | 286 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-v5.15/fs/cifs/ |
| D | fs_context.c | 293 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \ 294 if (new_ctx->field == NULL) { \ 295 smb3_cleanup_fs_context_contents(new_ctx); \ 302 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument 304 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup() 305 new_ctx->prepath = NULL; in smb3_fs_context_dup() 306 new_ctx->mount_options = NULL; in smb3_fs_context_dup() 307 new_ctx->nodename = NULL; in smb3_fs_context_dup() 308 new_ctx->username = NULL; in smb3_fs_context_dup() 309 new_ctx->password = NULL; in smb3_fs_context_dup() [all …]
|
| D | fs_context.h | 274 extern int smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx);
|
| /Linux-v5.15/tools/perf/arch/x86/tests/ |
| D | intel-pt-pkt-decoder-test.c | 25 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-v5.15/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_resource.c | 1749 struct dc_state *new_ctx, in dc_add_stream_to_ctx() argument 1755 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx() 1760 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx() 1762 new_ctx->stream_count++; in dc_add_stream_to_ctx() 1764 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in dc_add_stream_to_ctx() 1776 struct dc_state *new_ctx, in dc_remove_stream_from_ctx() argument 1781 struct pipe_ctx *del_pipe = resource_get_head_pipe_for_stream(&new_ctx->res_ctx, stream); in dc_remove_stream_from_ctx() 1794 &new_ctx->res_ctx, in dc_remove_stream_from_ctx() 1800 dc->res_pool->funcs->link_enc_unassign(new_ctx, del_pipe->stream); in dc_remove_stream_from_ctx() 1804 &new_ctx->res_ctx, in dc_remove_stream_from_ctx() [all …]
|
| D | dc.c | 1831 struct dc_state *new_ctx = kvmalloc(sizeof(struct dc_state), GFP_KERNEL); in dc_copy_state() local 1833 if (!new_ctx) in dc_copy_state() 1835 memcpy(new_ctx, src_ctx, sizeof(struct dc_state)); in dc_copy_state() 1838 struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_copy_state() 1841 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state() 1844 cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_copy_state() 1847 cur_pipe->prev_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx]; in dc_copy_state() 1850 cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_copy_state() 1854 for (i = 0; i < new_ctx->stream_count; i++) { in dc_copy_state() 1855 dc_stream_retain(new_ctx->streams[i]); in dc_copy_state() [all …]
|
| /Linux-v5.15/net/mptcp/ |
| D | subflow.c | 1708 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local 1716 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone() 1717 if (!new_ctx) { in subflow_ulp_clone() 1722 new_ctx->conn_finished = 1; in subflow_ulp_clone() 1723 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone() 1724 new_ctx->tcp_data_ready = old_ctx->tcp_data_ready; in subflow_ulp_clone() 1725 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone() 1726 new_ctx->tcp_write_space = old_ctx->tcp_write_space; in subflow_ulp_clone() 1727 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone() 1728 new_ctx->rel_write_seq = 1; in subflow_ulp_clone() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_resource.h | 134 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…
|
| D | dcn20_resource.c | 1752 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument 1759 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() 1760 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource() 1763 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource() 1774 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 1778 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1781 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1785 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1788 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1794 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-v5.15/security/selinux/ |
| D | xfrm.c | 299 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-v5.15/arch/powerpc/kernel/ |
| D | signal_64.c | 650 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_pages_readable((u8 __user *)new_ctx, ctx_size)) in SYSCALL_DEFINE3() 706 if (__get_user_sigset(&set, &new_ctx->uc_sigmask)) in SYSCALL_DEFINE3() 710 if (!user_read_access_begin(new_ctx, ctx_size)) in SYSCALL_DEFINE3() 712 if (__unsafe_restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) { in SYSCALL_DEFINE3()
|
| D | signal_32.c | 978 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_pages_readable((u8 __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3() 1065 if (do_setcontext(new_ctx, regs, 0)) in COMPAT_SYSCALL_DEFINE3()
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce100/ |
| D | dce100_resource.h | 46 struct dc_state *new_ctx,
|
| D | dce100_resource.c | 893 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-v5.15/drivers/gpu/drm/amd/display/dc/dce112/ |
| D | dce112_resource.h | 52 struct dc_state *new_ctx,
|
| D | dce112_resource.c | 1012 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-v5.15/mm/damon/ |
| D | dbgfs.c | 347 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context() local 371 new_ctx = dbgfs_new_ctx(); in dbgfs_mk_context() 372 if (!new_ctx) { in dbgfs_mk_context() 378 dbgfs_ctxs[dbgfs_nr_ctxs] = new_ctx; in dbgfs_mk_context()
|
| /Linux-v5.15/arch/sparc/mm/ |
| D | init_64.c | 754 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 820 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context() 821 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context() 822 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); 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() [all …]
|
| /Linux-v5.15/fs/xfs/ |
| D | xfs_log_cil.c | 860 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-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_resource.h | 87 struct dc_state *new_ctx,
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/ |
| D | core_types.h | 155 struct dc_state *new_ctx, 160 struct dc_state *new_ctx,
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/ |
| D | dc_stream.h | 342 struct dc_state *new_ctx, 347 struct dc_state *new_ctx,
|
| /Linux-v5.15/arch/powerpc/include/asm/ |
| D | asm-prototypes.h | 61 struct ucontext __user *new_ctx,
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/ |
| D | dce110_resource.c | 1104 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()
|