Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/mac80211/
Dchan.c640 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_vif_chanctx() argument
661 if (new_ctx) { in ieee80211_assign_vif_chanctx()
662 ret = drv_assign_vif_chanctx(local, sdata, new_ctx); in ieee80211_assign_vif_chanctx()
666 conf = &new_ctx->conf; in ieee80211_assign_vif_chanctx()
668 &new_ctx->assigned_vifs); in ieee80211_assign_vif_chanctx()
683 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx()
685 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_vif_chanctx()
873 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local
881 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx()
882 if (!new_ctx) { in ieee80211_vif_reserve_chanctx()
[all …]
Ddriver-ops.c260 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
261 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
271 new_ctx->driver_present) || in drv_switch_vif_chanctx()
273 !new_ctx->driver_present)); in drv_switch_vif_chanctx()
283 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
284 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
292 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
Dtrace.h1576 new_ctx->def.chan->center_freq);
1578 new_ctx->def.width);
1580 new_ctx->def.center_freq1);
1582 new_ctx->def.center_freq2);
/Linux-v4.19/fs/xfs/
Dxfs_log_cil.c633 struct xfs_cil_ctx *new_ctx; in xlog_cil_push() local
647 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
648 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push()
731 INIT_LIST_HEAD(&new_ctx->committing); in xlog_cil_push()
732 INIT_LIST_HEAD(&new_ctx->busy_extents); in xlog_cil_push()
733 new_ctx->sequence = ctx->sequence + 1; in xlog_cil_push()
734 new_ctx->cil = cil; in xlog_cil_push()
735 cil->xc_ctx = new_ctx; in xlog_cil_push()
763 cil->xc_current_sequence = new_ctx->sequence; in xlog_cil_push()
800 list_for_each_entry(new_ctx, &cil->xc_committing, committing) { in xlog_cil_push()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1740 struct dc_state *new_ctx, in dc_add_stream_to_ctx() argument
1746 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx()
1751 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1753 new_ctx->stream_count++; in dc_add_stream_to_ctx()
1755 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in dc_add_stream_to_ctx()
1764 struct dc_state *new_ctx, in dc_remove_stream_from_ctx() argument
1773 if (new_ctx->res_ctx.pipe_ctx[i].stream == stream && in dc_remove_stream_from_ctx()
1774 !new_ctx->res_ctx.pipe_ctx[i].top_pipe) { in dc_remove_stream_from_ctx()
1775 del_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dc_remove_stream_from_ctx()
1779 &new_ctx->res_ctx, in dc_remove_stream_from_ctx()
[all …]
/Linux-v4.19/security/selinux/
Dxfrm.c301 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local
306 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
308 if (!new_ctx) in selinux_xfrm_policy_clone()
311 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
/Linux-v4.19/arch/powerpc/kernel/
Dsignal_64.c629 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument
636 if (new_ctx && in SYSCALL_DEFINE3()
637 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
664 if (new_ctx == NULL) in SYSCALL_DEFINE3()
666 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in SYSCALL_DEFINE3()
667 || __get_user(tmp, (u8 __user *) new_ctx) in SYSCALL_DEFINE3()
668 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in SYSCALL_DEFINE3()
683 if (__copy_from_user(&set, &new_ctx->uc_sigmask, sizeof(set))) in SYSCALL_DEFINE3()
686 if (restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) in SYSCALL_DEFINE3()
Dsignal_32.c1043 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument
1046 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3()
1055 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3()
1064 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
1111 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3()
1113 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3()
1114 fault_in_pages_readable((u8 __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1128 if (do_setcontext(new_ctx, regs, 0)) in COMPAT_SYSCALL_DEFINE3()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.h46 struct dc_state *new_ctx,
Ddce100_resource.c768 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument
773 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
776 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
779 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.h51 struct dc_state *new_ctx,
Ddce112_resource.c884 struct dc_state *new_ctx, in dce112_add_stream_to_ctx() argument
889 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
892 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
896 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h173 struct dc_state *new_ctx,
178 struct dc_state *new_ctx,
Ddc.h601 struct dc_state *new_ctx);
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h116 struct dc_state *new_ctx,
121 struct dc_state *new_ctx,
/Linux-v4.19/arch/sparc/mm/
Dinit_64.c783 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
820 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
821 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap()
822 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap()
839 unsigned long ctx, new_ctx; in get_new_mmu_context() local
849 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context()
850 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
851 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context()
852 if (new_ctx >= ctx) { in get_new_mmu_context()
859 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dasm-prototypes.h84 struct ucontext __user *new_ctx,
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c946 struct dc_state *new_ctx, in dce110_add_stream_to_ctx() argument
951 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
954 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
958 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c998 struct dc_state *new_ctx, in dcn10_add_stream_to_ctx() argument
1003 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
1006 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
1010 result = build_mapped_resource(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx()
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c1322 int new_ctx; in s5p_mfc_try_run_v5() local
1336 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v5()
1337 if (new_ctx < 0) { in s5p_mfc_try_run_v5()
1346 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v5()
Ds5p_mfc_opr_v6.c1963 int new_ctx; in s5p_mfc_try_run_v6() local
1976 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v6()
1977 if (new_ctx < 0) { in s5p_mfc_try_run_v6()
1988 mfc_debug(1, "New context: %d\n", new_ctx); in s5p_mfc_try_run_v6()
1989 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v6()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dmain.c4850 struct ieee80211_chanctx_conf *new_ctx) in __wlcore_switch_vif_chan() argument
4853 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan()
4858 cfg80211_get_chandef_type(&new_ctx->def)); in __wlcore_switch_vif_chan()
4871 wlvif->band = new_ctx->def.chan->band; in __wlcore_switch_vif_chan()
4873 wlvif->channel_type = cfg80211_get_chandef_type(&new_ctx->def); in __wlcore_switch_vif_chan()
4876 if (new_ctx->radar_enabled) { in __wlcore_switch_vif_chan()
4909 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx); in wlcore_op_switch_vif_chanctx()
/Linux-v4.19/include/linux/
Dlsm_hooks.h1733 struct xfrm_sec_ctx **new_ctx);
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c3902 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3908 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3923 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3958 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dmac.c7386 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel()
7427 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
7429 vifs[i].new_ctx->def.width); in ath10k_mac_update_vif_chan()
7472 ret = ath10k_vdev_restart(arvif, &vifs[i].new_ctx->def); in ath10k_mac_update_vif_chan()
7572 arg->vifs[arg->next_vif].new_ctx = ctx; in ath10k_mac_change_chanctx_fill_iter()

12