| /linux/net/mac80211/ |
| H A D | chan.c | 1008 struct ieee80211_chanctx *new_ctx, in ieee80211_assign_link_chanctx() argument 1031 if (new_ctx) { in ieee80211_assign_link_chanctx() 1033 _ieee80211_recalc_chanctx_min_def(local, new_ctx, link, false); in ieee80211_assign_link_chanctx() 1035 ret = drv_assign_vif_chanctx(local, sdata, link->conf, new_ctx); in ieee80211_assign_link_chanctx() 1042 conf = &new_ctx->conf; in ieee80211_assign_link_chanctx() 1057 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx() 1059 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_link_chanctx() 1255 struct ieee80211_chanctx *new_ctx, *ctx; in ieee80211_replace_chanctx() local 1307 new_ctx = ieee80211_alloc_chanctx(local, chanreq, mode, -1); in ieee80211_replace_chanctx() 1308 if (!new_ctx) in ieee80211_replace_chanctx() [all …]
|
| H A D | driver-ops.c | 397 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 398 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 408 new_ctx->driver_present) || in drv_switch_vif_chanctx() 410 !new_ctx->driver_present)); in drv_switch_vif_chanctx() 420 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 421 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 429 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
|
| /linux/fs/smb/client/ |
| H A D | fs_context.c | 423 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \ 424 if (new_ctx->field == NULL) { \ 425 smb3_cleanup_fs_context_contents(new_ctx); \ 432 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument 434 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup() 435 new_ctx->prepath = NULL; in smb3_fs_context_dup() 436 new_ctx->nodename = NULL; in smb3_fs_context_dup() 437 new_ctx->username = NULL; in smb3_fs_context_dup() 438 new_ctx->password = NULL; in smb3_fs_context_dup() 439 new_ctx in smb3_fs_context_dup() 950 smb3_verify_reconfigure_ctx(struct fs_context * fc,struct smb3_fs_context * new_ctx,struct smb3_fs_context * old_ctx,bool need_recon) smb3_verify_reconfigure_ctx() argument [all...] |
| H A D | fs_context.h | 373 int smb3_fs_context_dup(struct smb3_fs_context *new_ctx,
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | intel-pt-test.c | 30 enum intel_pt_pkt_ctx new_ctx; member 217 enum intel_pt_pkt_ctx new_ctx) in fail() argument 238 if (new_ctx != d->new_ctx) in fail() 240 d->new_ctx, new_ctx); in fail() 295 packet.payload != d->packet.payload || ctx != d->new_ctx) in test_one()
|
| /linux/net/mptcp/ |
| H A D | subflow.c | 2041 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local 2049 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone() 2050 if (!new_ctx) { in subflow_ulp_clone() 2055 new_ctx->conn_finished = 1; in subflow_ulp_clone() 2056 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone() 2057 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone() 2058 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone() 2059 new_ctx->rel_write_seq = 1; in subflow_ulp_clone() 2065 new_ctx->mp_capable = 1; in subflow_ulp_clone() 2066 new_ctx->local_key = subflow_req->local_key; in subflow_ulp_clone() [all …]
|
| /linux/security/selinux/ |
| H A D | xfrm.c | 293 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local 298 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone() 300 if (!new_ctx) in selinux_xfrm_policy_clone() 303 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
|
| /linux/arch/powerpc/kernel/ |
| H A D | signal_64.c | 658 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument 664 if (new_ctx && in SYSCALL_DEFINE3() 665 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3() 696 if (new_ctx == NULL) in SYSCALL_DEFINE3() 698 if (!access_ok(new_ctx, ctx_size) || in SYSCALL_DEFINE3() 699 fault_in_readable((char __user *)new_ctx, ctx_size)) in SYSCALL_DEFINE3() 714 if (__get_user_sigset(&set, &new_ctx->uc_sigmask)) { in SYSCALL_DEFINE3() 720 if (!user_read_access_begin(new_ctx, ctx_size)) in SYSCALL_DEFINE3() 722 if (__unsafe_restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) { in SYSCALL_DEFINE3()
|
| H A D | signal_32.c | 991 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument 994 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3() 1003 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3() 1012 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3() 1061 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3() 1063 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3() 1064 fault_in_readable((char __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3() 1078 if (do_setcontext(new_ctx, regs, 0)) { in COMPAT_SYSCALL_DEFINE3()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 2934 enum dc_status resource_add_otg_master_for_stream_output(struct dc_state *new_ctx, in resource_add_otg_master_for_stream_output() argument 2940 return dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in resource_add_otg_master_for_stream_output() 3068 struct dc_state *new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() argument 3083 &new_ctx->res_ctx, opp_heads); in acquire_secondary_dpp_pipes_and_add_plane() 3084 if (get_num_of_free_pipes(pool, new_ctx) < opp_head_count) in acquire_secondary_dpp_pipes_and_add_plane() 3091 new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() 3114 struct dc_state *new_ctx, in resource_append_dpp_pipes_for_plane_composition() argument 3124 plane_state, new_ctx); in resource_append_dpp_pipes_for_plane_composition() 3127 otg_master_pipe, plane_state, new_ctx, in resource_append_dpp_pipes_for_plane_composition() 3132 plane_state, new_ctx, pool); in resource_append_dpp_pipes_for_plane_composition() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | core_types.h | 142 struct dc_state *new_ctx, 148 struct dc_state *new_ctx, 162 struct dc_state *new_ctx, 167 struct dc_state *new_ctx,
|
| /linux/arch/powerpc/include/asm/ |
| H A D | syscalls.h | 54 struct ucontext __user *new_ctx, long ctx_size); 76 struct ucontext32 __user *new_ctx,
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 1412 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument 1419 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() 1420 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource() 1423 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource() 1434 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 1438 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1441 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1445 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1448 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1454 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/arch/sparc/mm/ |
| H A D | init_64.c | 763 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local 800 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap() 801 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap() 802 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap() 819 unsigned long ctx, new_ctx; in get_new_mmu_context() local 829 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context() 830 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context() 831 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); in get_new_mmu_context() 832 if (new_ctx >= ctx) { in get_new_mmu_context() 839 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
| H A D | dce110_resource.c | 1109 struct dc_state *new_ctx, in dce110_add_stream_to_ctx() argument 1114 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1117 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1121 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1128 struct dc_state *new_ctx, in dce110_acquire_underlay() argument 1135 struct resource_context *res_ctx = &new_ctx->res_ctx; in dce110_acquire_underlay() 1184 new_ctx->stream_count); in dce110_acquire_underlay()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 123 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local 135 new_ctx = &head->ctx; in xdp_test_run_init_page() 140 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page() 141 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page() 142 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page() 144 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page() 145 frm->mem_type = new_ctx->rxq->mem.type; in xdp_test_run_init_page() 147 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
|
| /linux/fs/xfs/ |
| H A D | xfs_log_cil.c | 1383 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local 1394 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work() 1395 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work() 1491 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work() 1597 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work() 1598 kfree(new_ctx); in xlog_cil_push_work()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
| H A D | dcn10_resource.c | 1063 struct dc_state *new_ctx, in dcn10_add_stream_to_ctx() argument 1068 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1071 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1075 result = build_mapped_resource(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1082 struct dc_state *new_ctx, in dcn10_acquire_free_pipe_for_layer() argument 1086 struct resource_context *res_ctx = &new_ctx->res_ctx; in dcn10_acquire_free_pipe_for_layer()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.h | 124 const struct dc_state *new_ctx);
|
| H A D | dcn32_hwseq.c | 1727 const struct dc_state *new_ctx, in is_subvp_phantom_topology_transition_seamless() argument 1732 enum mall_stream_type new_pipe_type = dc_state_get_pipe_subvp_type(new_ctx, new_pipe); in is_subvp_phantom_topology_transition_seamless() 1735 …const struct dc_stream_state *new_paired_stream = dc_state_get_paired_subvp_stream(new_ctx, new_pi… in is_subvp_phantom_topology_transition_seamless() 1745 const struct dc_state *new_ctx) in dcn32_is_pipe_topology_transition_seamless() argument 1753 new_pipe = &new_ctx->res_ctx.pipe_ctx[i]; in dcn32_is_pipe_topology_transition_seamless() 1762 is_subvp_phantom_topology_transition_seamless(cur_ctx, new_ctx, cur_pipe, new_pipe)) in dcn32_is_pipe_topology_transition_seamless()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce100/ |
| H A D | dce100_resource.c | 939 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument 944 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx() 947 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx() 950 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce112/ |
| H A D | dce112_resource.c | 1018 struct dc_state *new_ctx, in dce112_add_stream_to_ctx() argument 1023 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx() 1026 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx() 1030 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce112_add_stream_to_ctx()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 2798 struct dc_state *new_ctx, in dcn32_acquire_free_pipe_as_secondary_dpp_pipe() argument 2808 new_ctx, pool, opp_head_pipe->stream, opp_head_pipe); in dcn32_acquire_free_pipe_as_secondary_dpp_pipe() 2811 &cur_ctx->res_ctx, &new_ctx->res_ctx, in dcn32_acquire_free_pipe_as_secondary_dpp_pipe() 2814 free_pipe = &new_ctx->res_ctx.pipe_ctx[free_pipe_idx]; in dcn32_acquire_free_pipe_as_secondary_dpp_pipe() 2835 struct dc_state *new_ctx, in dcn32_acquire_free_pipe_as_secondary_opp_head() argument 2840 &cur_ctx->res_ctx, &new_ctx->res_ctx, in dcn32_acquire_free_pipe_as_secondary_opp_head() 2845 free_pipe = &new_ctx->res_ctx.pipe_ctx[free_pipe_idx]; in dcn32_acquire_free_pipe_as_secondary_opp_head() 2860 &new_ctx->res_ctx, in dcn32_acquire_free_pipe_as_secondary_opp_head()
|
| /linux/fs/ |
| H A D | libfs.c | 357 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename() local 365 WARN_ON(simple_offset_replace(new_ctx, old_dentry, new_offset)); in simple_offset_rename() 387 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename_exchange() local 395 ret = mtree_store(&new_ctx->mt, new_index, old_dentry, GFP_KERNEL); in simple_offset_rename_exchange() 401 mtree_store(&new_ctx->mt, new_index, new_dentry, GFP_KERNEL); in simple_offset_rename_exchange()
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 1321 int new_ctx; in s5p_mfc_try_run_v5() local 1335 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v5() 1336 if (new_ctx < 0) { in s5p_mfc_try_run_v5() 1345 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v5()
|