Home
last modified time | relevance | path

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

/linux-4.1.27/net/mac80211/
Dchan.c617 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_vif_chanctx() argument
635 if (new_ctx) { in ieee80211_assign_vif_chanctx()
636 ret = drv_assign_vif_chanctx(local, sdata, new_ctx); in ieee80211_assign_vif_chanctx()
640 conf = &new_ctx->conf; in ieee80211_assign_vif_chanctx()
642 &new_ctx->assigned_vifs); in ieee80211_assign_vif_chanctx()
657 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx()
659 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_vif_chanctx()
844 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local
852 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx()
853 if (!new_ctx) { in ieee80211_vif_reserve_chanctx()
[all …]
Ddriver-ops.h1106 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
1107 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
1117 new_ctx->driver_present) || in drv_switch_vif_chanctx()
1119 !new_ctx->driver_present)); in drv_switch_vif_chanctx()
1129 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local
1130 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
1138 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
Dtrace.h1480 new_ctx->def.chan->center_freq);
1482 new_ctx->def.width);
1484 new_ctx->def.center_freq1);
1486 new_ctx->def.center_freq2);
/linux-4.1.27/fs/xfs/
Dxfs_log_cil.c431 struct xfs_cil_ctx *new_ctx; in xlog_cil_push() local
445 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
446 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push()
529 INIT_LIST_HEAD(&new_ctx->committing); in xlog_cil_push()
530 INIT_LIST_HEAD(&new_ctx->busy_extents); in xlog_cil_push()
531 new_ctx->sequence = ctx->sequence + 1; in xlog_cil_push()
532 new_ctx->cil = cil; in xlog_cil_push()
533 cil->xc_ctx = new_ctx; in xlog_cil_push()
561 cil->xc_current_sequence = new_ctx->sequence; in xlog_cil_push()
598 list_for_each_entry(new_ctx, &cil->xc_committing, committing) { in xlog_cil_push()
[all …]
/linux-4.1.27/arch/powerpc/kernel/
Dsignal_64.c591 struct ucontext __user *new_ctx, in sys_swapcontext() argument
599 if (new_ctx && in sys_swapcontext()
600 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in sys_swapcontext()
627 if (new_ctx == NULL) in sys_swapcontext()
629 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in sys_swapcontext()
630 || __get_user(tmp, (u8 __user *) new_ctx) in sys_swapcontext()
631 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in sys_swapcontext()
646 if (__copy_from_user(&set, &new_ctx->uc_sigmask, sizeof(set))) in sys_swapcontext()
649 if (restore_sigcontext(regs, NULL, 0, &new_ctx->uc_mcontext)) in sys_swapcontext()
Dsignal_32.c1135 struct ucontext __user *new_ctx, in sys_swapcontext() argument
1144 if (new_ctx) { in sys_swapcontext()
1153 if (__get_user(cmcp, &new_ctx->uc_regs)) in sys_swapcontext()
1200 if (new_ctx == NULL) in sys_swapcontext()
1202 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in sys_swapcontext()
1203 || __get_user(tmp, (u8 __user *) new_ctx) in sys_swapcontext()
1204 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in sys_swapcontext()
1218 if (do_setcontext(new_ctx, regs, 0)) in sys_swapcontext()
/linux-4.1.27/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-4.1.27/arch/sparc/mm/
Dinit_64.c685 unsigned long ctx, new_ctx; in get_new_mmu_context() local
692 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context()
694 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context()
695 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context()
696 if (new_ctx >= ctx) { in get_new_mmu_context()
698 new_ctx = (tlb_context_cache & CTX_VERSION_MASK) + in get_new_mmu_context()
700 if (new_ctx == 1) in get_new_mmu_context()
701 new_ctx = CTX_FIRST_VERSION; in get_new_mmu_context()
720 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context()
721 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context()
[all …]
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c1157 int new_ctx; in s5p_mfc_get_new_ctx() local
1161 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()
1163 while (!test_bit(new_ctx, &dev->ctx_work_bits)) { in s5p_mfc_get_new_ctx()
1164 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()
1172 return new_ctx; in s5p_mfc_get_new_ctx()
1361 int new_ctx; in s5p_mfc_try_run_v5() local
1375 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v5()
1376 if (new_ctx < 0) { in s5p_mfc_try_run_v5()
1385 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v5()
Ds5p_mfc_opr_v6.c1506 int new_ctx; in s5p_mfc_get_new_ctx() local
1512 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()
1514 while (!test_bit(new_ctx, &dev->ctx_work_bits)) { in s5p_mfc_get_new_ctx()
1515 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()
1524 return new_ctx; in s5p_mfc_get_new_ctx()
1710 int new_ctx; in s5p_mfc_try_run_v6() local
1723 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v6()
1724 if (new_ctx < 0) { in s5p_mfc_try_run_v6()
1735 mfc_debug(1, "New context: %d\n", new_ctx); in s5p_mfc_try_run_v6()
1736 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v6()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dmain.c4763 struct ieee80211_chanctx_conf *new_ctx) in __wlcore_switch_vif_chan() argument
4766 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan()
4771 cfg80211_get_chandef_type(&new_ctx->def)); in __wlcore_switch_vif_chan()
4784 wlvif->band = new_ctx->def.chan->band; in __wlcore_switch_vif_chan()
4786 wlvif->channel_type = cfg80211_get_chandef_type(&new_ctx->def); in __wlcore_switch_vif_chan()
4789 if (new_ctx->radar_enabled) { in __wlcore_switch_vif_chan()
4820 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx); in wlcore_op_switch_vif_chanctx()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c3514 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3520 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3535 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3570 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/linux-4.1.27/include/net/
Dmac80211.h259 struct ieee80211_chanctx_conf *new_ctx; member
/linux-4.1.27/include/linux/
Dsecurity.h1724 int (*xfrm_policy_clone_security) (struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctx);