/linux-4.4.14/net/mac80211/ |
D | chan.c | 640 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_vif_chanctx() argument 658 if (new_ctx) { in ieee80211_assign_vif_chanctx() 659 ret = drv_assign_vif_chanctx(local, sdata, new_ctx); in ieee80211_assign_vif_chanctx() 663 conf = &new_ctx->conf; in ieee80211_assign_vif_chanctx() 665 &new_ctx->assigned_vifs); in ieee80211_assign_vif_chanctx() 680 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_vif_chanctx() 682 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_vif_chanctx() 869 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_vif_reserve_chanctx() local 877 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_vif_reserve_chanctx() 878 if (!new_ctx) { in ieee80211_vif_reserve_chanctx() [all …]
|
D | driver-ops.c | 245 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 246 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 256 new_ctx->driver_present) || in drv_switch_vif_chanctx() 258 !new_ctx->driver_present)); in drv_switch_vif_chanctx() 268 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 269 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 277 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
|
D | trace.h | 1512 new_ctx->def.chan->center_freq); 1514 new_ctx->def.width); 1516 new_ctx->def.center_freq1); 1518 new_ctx->def.center_freq2);
|
/linux-4.4.14/fs/xfs/ |
D | xfs_log_cil.c | 437 struct xfs_cil_ctx *new_ctx; in xlog_cil_push() local 451 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push() 452 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push() 535 INIT_LIST_HEAD(&new_ctx->committing); in xlog_cil_push() 536 INIT_LIST_HEAD(&new_ctx->busy_extents); in xlog_cil_push() 537 new_ctx->sequence = ctx->sequence + 1; in xlog_cil_push() 538 new_ctx->cil = cil; in xlog_cil_push() 539 cil->xc_ctx = new_ctx; in xlog_cil_push() 567 cil->xc_current_sequence = new_ctx->sequence; in xlog_cil_push() 604 list_for_each_entry(new_ctx, &cil->xc_committing, committing) { in xlog_cil_push() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | signal_64.c | 602 struct ucontext __user *new_ctx, in sys_swapcontext() argument 610 if (new_ctx && in sys_swapcontext() 611 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in sys_swapcontext() 638 if (new_ctx == NULL) in sys_swapcontext() 640 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in sys_swapcontext() 641 || __get_user(tmp, (u8 __user *) new_ctx) in sys_swapcontext() 642 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in sys_swapcontext() 657 if (__copy_from_user(&set, &new_ctx->uc_sigmask, sizeof(set))) in sys_swapcontext() 660 if (restore_sigcontext(regs, NULL, 0, &new_ctx->uc_mcontext)) in sys_swapcontext()
|
D | signal_32.c | 1140 struct ucontext __user *new_ctx, in sys_swapcontext() argument 1149 if (new_ctx) { in sys_swapcontext() 1158 if (__get_user(cmcp, &new_ctx->uc_regs)) in sys_swapcontext() 1205 if (new_ctx == NULL) in sys_swapcontext() 1207 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in sys_swapcontext() 1208 || __get_user(tmp, (u8 __user *) new_ctx) in sys_swapcontext() 1209 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in sys_swapcontext() 1223 if (do_setcontext(new_ctx, regs, 0)) in sys_swapcontext()
|
/linux-4.4.14/security/selinux/ |
D | xfrm.c | 296 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local 301 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone() 303 if (!new_ctx) in selinux_xfrm_policy_clone() 306 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
|
/linux-4.4.14/arch/sparc/mm/ |
D | init_64.c | 675 unsigned long ctx, new_ctx; in get_new_mmu_context() local 682 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context() 684 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context() 685 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context() 686 if (new_ctx >= ctx) { in get_new_mmu_context() 688 new_ctx = (tlb_context_cache & CTX_VERSION_MASK) + in get_new_mmu_context() 690 if (new_ctx == 1) in get_new_mmu_context() 691 new_ctx = CTX_FIRST_VERSION; in get_new_mmu_context() 710 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context() 711 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context() [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 1159 int new_ctx; in s5p_mfc_get_new_ctx() local 1163 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx() 1165 while (!test_bit(new_ctx, &dev->ctx_work_bits)) { in s5p_mfc_get_new_ctx() 1166 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx() 1174 return new_ctx; in s5p_mfc_get_new_ctx() 1365 int new_ctx; in s5p_mfc_try_run_v5() local 1379 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v5() 1380 if (new_ctx < 0) { in s5p_mfc_try_run_v5() 1389 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v5()
|
D | s5p_mfc_opr_v6.c | 1513 int new_ctx; in s5p_mfc_get_new_ctx() local 1519 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx() 1521 while (!test_bit(new_ctx, &dev->ctx_work_bits)) { in s5p_mfc_get_new_ctx() 1522 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx() 1531 return new_ctx; in s5p_mfc_get_new_ctx() 1730 int new_ctx; in s5p_mfc_try_run_v6() local 1743 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v6() 1744 if (new_ctx < 0) { in s5p_mfc_try_run_v6() 1755 mfc_debug(1, "New context: %d\n", new_ctx); in s5p_mfc_try_run_v6() 1756 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v6()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | main.c | 4800 struct ieee80211_chanctx_conf *new_ctx) in __wlcore_switch_vif_chan() argument 4803 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan() 4808 cfg80211_get_chandef_type(&new_ctx->def)); in __wlcore_switch_vif_chan() 4821 wlvif->band = new_ctx->def.chan->band; in __wlcore_switch_vif_chan() 4823 wlvif->channel_type = cfg80211_get_chandef_type(&new_ctx->def); in __wlcore_switch_vif_chan() 4826 if (new_ctx->radar_enabled) { in __wlcore_switch_vif_chan() 4857 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx); in wlcore_op_switch_vif_chanctx()
|
/linux-4.4.14/include/linux/ |
D | lsm_hooks.h | 1580 struct xfrm_sec_ctx **new_ctx);
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 3602 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 3608 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap() 3623 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 3658 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 6419 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel() 6460 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 6462 vifs[i].new_ctx->def.width); in ath10k_mac_update_vif_chan() 6505 ret = ath10k_vdev_restart(arvif, &vifs[i].new_ctx->def); in ath10k_mac_update_vif_chan() 6605 arg->vifs[arg->next_vif].new_ctx = ctx; in ath10k_mac_change_chanctx_fill_iter()
|
/linux-4.4.14/include/net/ |
D | mac80211.h | 260 struct ieee80211_chanctx_conf *new_ctx; member
|