/Linux-v5.4/net/mac80211/ |
D | chan.c | 641 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_vif_chanctx() argument 662 if (new_ctx) { in ieee80211_assign_vif_chanctx() 663 ret = drv_assign_vif_chanctx(local, sdata, new_ctx); in ieee80211_assign_vif_chanctx() 667 conf = &new_ctx->conf; in ieee80211_assign_vif_chanctx() 669 &new_ctx->assigned_vifs); in ieee80211_assign_vif_chanctx() 684 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx() 686 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_vif_chanctx() 874 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local 882 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx() 883 if (!new_ctx) { in ieee80211_vif_reserve_chanctx() [all …]
|
D | driver-ops.c | 283 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 284 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 294 new_ctx->driver_present) || in drv_switch_vif_chanctx() 296 !new_ctx->driver_present)); in drv_switch_vif_chanctx() 306 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 307 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 315 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
|
D | trace.h | 1607 new_ctx->def.chan->center_freq); 1609 new_ctx->def.width); 1611 new_ctx->def.center_freq1); 1613 new_ctx->def.center_freq2);
|
/Linux-v5.4/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.4/fs/xfs/ |
D | xfs_log_cil.c | 649 struct xfs_cil_ctx *new_ctx; in xlog_cil_push() local 663 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_NOFS); in xlog_cil_push() 664 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push() 747 INIT_LIST_HEAD(&new_ctx->committing); in xlog_cil_push() 748 INIT_LIST_HEAD(&new_ctx->busy_extents); in xlog_cil_push() 749 new_ctx->sequence = ctx->sequence + 1; in xlog_cil_push() 750 new_ctx->cil = cil; in xlog_cil_push() 751 cil->xc_ctx = new_ctx; in xlog_cil_push() 779 cil->xc_current_sequence = new_ctx->sequence; in xlog_cil_push() 816 list_for_each_entry(new_ctx, &cil->xc_committing, committing) { in xlog_cil_push() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1686 struct dc_state *new_ctx, in dc_add_stream_to_ctx() argument 1692 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx() 1697 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx() 1699 new_ctx->stream_count++; in dc_add_stream_to_ctx() 1701 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in dc_add_stream_to_ctx() 1713 struct dc_state *new_ctx, in dc_remove_stream_from_ctx() argument 1718 struct pipe_ctx *del_pipe = resource_get_head_pipe_for_stream(&new_ctx->res_ctx, stream); in dc_remove_stream_from_ctx() 1731 &new_ctx->res_ctx, in dc_remove_stream_from_ctx() 1738 &new_ctx->res_ctx, in dc_remove_stream_from_ctx() 1743 resource_unreference_clock_source(&new_ctx->res_ctx, in dc_remove_stream_from_ctx() [all …]
|
D | dc.c | 1229 struct dc_state *new_ctx = kvmalloc(sizeof(struct dc_state), GFP_KERNEL); in dc_copy_state() local 1231 if (!new_ctx) in dc_copy_state() 1233 memcpy(new_ctx, src_ctx, sizeof(struct dc_state)); in dc_copy_state() 1236 struct pipe_ctx *cur_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_copy_state() 1239 cur_pipe->top_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->top_pipe->pipe_idx]; in dc_copy_state() 1242 cur_pipe->bottom_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->bottom_pipe->pipe_idx]; in dc_copy_state() 1245 cur_pipe->prev_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->prev_odm_pipe->pipe_idx]; in dc_copy_state() 1248 cur_pipe->next_odm_pipe = &new_ctx->res_ctx.pipe_ctx[cur_pipe->next_odm_pipe->pipe_idx]; in dc_copy_state() 1252 for (i = 0; i < new_ctx->stream_count; i++) { in dc_copy_state() 1253 dc_stream_retain(new_ctx->streams[i]); in dc_copy_state() [all …]
|
/Linux-v5.4/security/selinux/ |
D | xfrm.c | 298 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local 303 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone() 305 if (!new_ctx) in selinux_xfrm_policy_clone() 308 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | signal_64.c | 641 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument 648 if (new_ctx && in SYSCALL_DEFINE3() 649 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3() 676 if (new_ctx == NULL) in SYSCALL_DEFINE3() 678 if (!access_ok(new_ctx, ctx_size) in SYSCALL_DEFINE3() 679 || __get_user(tmp, (u8 __user *) new_ctx) in SYSCALL_DEFINE3() 680 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in SYSCALL_DEFINE3() 695 if (__copy_from_user(&set, &new_ctx->uc_sigmask, sizeof(set))) in SYSCALL_DEFINE3() 698 if (restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) in SYSCALL_DEFINE3()
|
D | signal_32.c | 1057 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument 1060 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3() 1069 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3() 1078 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3() 1125 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3() 1127 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3() 1128 fault_in_pages_readable((u8 __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3() 1142 if (do_setcontext(new_ctx, regs, 0)) in COMPAT_SYSCALL_DEFINE3()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.h | 133 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… 134 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
|
D | dcn20_resource.c | 1487 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument 1494 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() 1495 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource() 1498 release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource() 1510 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 1514 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1517 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1522 result = add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1526 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1532 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.4/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.h | 46 struct dc_state *new_ctx,
|
D | dce100_resource.c | 822 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument 827 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx() 830 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx() 833 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.h | 52 struct dc_state *new_ctx,
|
D | dce112_resource.c | 939 struct dc_state *new_ctx, in dce112_add_stream_to_ctx() argument 944 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx() 947 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx() 951 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
|
/Linux-v5.4/arch/sparc/mm/ |
D | init_64.c | 782 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local 819 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap() 820 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap() 821 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap() 838 unsigned long ctx, new_ctx; in get_new_mmu_context() local 848 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context() 849 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context() 850 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context() 851 if (new_ctx >= ctx) { in get_new_mmu_context() 858 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 122 struct dc_state *new_ctx, 127 struct dc_state *new_ctx,
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/ |
D | dc_stream.h | 303 struct dc_state *new_ctx, 308 struct dc_state *new_ctx,
|
D | dc.h | 886 struct dc_state *new_ctx,
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | asm-prototypes.h | 89 struct ucontext __user *new_ctx,
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 1071 struct dc_state *new_ctx, in dcn10_add_stream_to_ctx() argument 1076 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1079 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1083 result = build_mapped_resource(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 1031 struct dc_state *new_ctx, in dce110_add_stream_to_ctx() argument 1036 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1039 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1043 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
|
/Linux-v5.4/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 1319 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()
|
D | s5p_mfc_opr_v6.c | 1960 int new_ctx; in s5p_mfc_try_run_v6() local 1973 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v6() 1974 if (new_ctx < 0) { in s5p_mfc_try_run_v6() 1985 mfc_debug(1, "New context: %d\n", new_ctx); in s5p_mfc_try_run_v6() 1986 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v6()
|