/linux/net/mac80211/ |
H A D | chan.c | 879 if (new_ctx) { in ieee80211_assign_link_chanctx() 907 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx() 1155 if (!new_ctx) in ieee80211_replace_chanctx() 1166 return new_ctx; in ieee80211_replace_chanctx() 1214 if (!new_ctx) { in ieee80211_link_reserve_chanctx() 1222 if (IS_ERR(new_ctx)) in ieee80211_link_reserve_chanctx() 1312 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_reassign() 1337 vif_chsw[0].new_ctx = &new_ctx->conf; in ieee80211_link_use_reserved_reassign() 1394 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_assign() 1407 ieee80211_change_chanctx(local, new_ctx, new_ctx, chanreq); in ieee80211_link_use_reserved_assign() [all …]
|
H A D | driver-ops.c | 389 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 390 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 400 new_ctx->driver_present) || in drv_switch_vif_chanctx() 402 !new_ctx->driver_present)); in drv_switch_vif_chanctx() 412 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 413 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 421 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
|
/linux/fs/smb/client/ |
H A D | fs_context.c | 347 new_ctx->prepath = NULL; in smb3_fs_context_dup() 348 new_ctx->nodename = NULL; in smb3_fs_context_dup() 349 new_ctx->username = NULL; in smb3_fs_context_dup() 350 new_ctx->password = NULL; in smb3_fs_context_dup() 351 new_ctx->password2 = NULL; in smb3_fs_context_dup() 354 new_ctx->UNC = NULL; in smb3_fs_context_dup() 355 new_ctx->source = NULL; in smb3_fs_context_dup() 834 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx() 839 if (new_ctx->username && in smb3_verify_reconfigure_ctx() 844 if (new_ctx->password && in smb3_verify_reconfigure_ctx() [all …]
|
/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/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.h | 63 struct dc_state *new_ctx, 135 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx); 164 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… 166 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
|
H A D | dcn20_resource.c | 1411 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument 1418 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() 1419 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource() 1437 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1440 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1447 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1457 result = remove_dsc_from_stream_resource(dc, new_ctx, dc_stream); in dcn20_remove_stream_from_ctx() 1672 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx) in dcn20_validate_dsc() argument 1678 struct pipe_ctx *pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in dcn20_validate_dsc() 2175 struct dc_state *new_ctx, in dcn20_acquire_free_pipe_for_layer() argument [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | resource.h | 282 enum dc_status resource_add_otg_master_for_stream_output(struct dc_state *new_ctx, 291 void resource_remove_otg_master_for_stream_output(struct dc_state *new_ctx, 301 struct dc_state *new_ctx, 333 struct dc_state *new_ctx, 357 struct dc_state *new_ctx,
|
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/net/mptcp/ |
H A D | subflow.c | 2038 if (!new_ctx) { in subflow_ulp_clone() 2043 new_ctx->conn_finished = 1; in subflow_ulp_clone() 2047 new_ctx->rel_write_seq = 1; in subflow_ulp_clone() 2048 new_ctx->tcp_sock = newsk; in subflow_ulp_clone() 2054 new_ctx->mp_capable = 1; in subflow_ulp_clone() 2056 new_ctx->token = subflow_req->token; in subflow_ulp_clone() 2058 new_ctx->idsn = subflow_req->idsn; in subflow_ulp_clone() 2061 subflow_set_local_id(new_ctx, 0); in subflow_ulp_clone() 2064 new_ctx->mp_join = 1; in subflow_ulp_clone() 2065 new_ctx->fully_established = 1; 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/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 2753 struct dc_state *new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() argument 2776 new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() 2799 struct dc_state *new_ctx, in resource_append_dpp_pipes_for_plane_composition() argument 2809 plane_state, new_ctx); in resource_append_dpp_pipes_for_plane_composition() 2894 struct dc_state *new_ctx, in acquire_pipes_and_add_odm_slice() argument 2923 cur_ctx, new_ctx, pool, in acquire_pipes_and_add_odm_slice() 3033 struct dc_state *new_ctx, in acquire_dpp_pipe_and_add_mpc_slice() argument 4044 if (!new_ctx) in dc_validate_global_state() 4078 &new_ctx->res_ctx, in dc_validate_global_state() 4084 &new_ctx->res_ctx, in dc_validate_global_state() [all …]
|
/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/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/dce100/ |
H A D | dce100_resource.h | 46 struct dc_state *new_ctx,
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dce112/ |
H A D | dce112_resource.h | 52 struct dc_state *new_ctx,
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_wrapper.h | 78 struct dc_state *new_ctx, 84 struct dc_state *new_ctx,
|
/linux/arch/sparc/mm/ |
H A D | init_64.c | 769 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local 806 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap() 807 set_bit(new_ctx & CTX_NR_MASK, mmu_context_bmap); in mmu_context_wrap() 808 mm->context.sparc64_ctx_val = new_ctx; in mmu_context_wrap() 825 unsigned long ctx, new_ctx; in get_new_mmu_context() local 836 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context() 838 if (new_ctx >= ctx) { in get_new_mmu_context() 845 mmu_context_bmap[new_ctx>>6] |= (1UL << (new_ctx & 63)); in get_new_mmu_context() 846 new_ctx |= (tlb_context_cache & CTX_VERSION_MASK); in get_new_mmu_context() 847 tlb_context_cache = new_ctx; in get_new_mmu_context() [all …]
|
/linux/fs/ |
H A D | libfs.c | 378 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename() local 385 return simple_offset_replace(new_ctx, old_dentry, new_offset); in simple_offset_rename() 387 return simple_offset_add(new_ctx, old_dentry); in simple_offset_rename() 409 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename_exchange() local 415 simple_offset_remove(new_ctx, new_dentry); in simple_offset_rename_exchange() 417 ret = simple_offset_replace(new_ctx, old_dentry, new_index); in simple_offset_rename_exchange() 423 simple_offset_remove(new_ctx, old_dentry); in simple_offset_rename_exchange() 429 simple_offset_remove(new_ctx, old_dentry); in simple_offset_rename_exchange() 437 (void)simple_offset_replace(new_ctx, new_dentry, new_index); in simple_offset_rename_exchange()
|
/linux/net/bpf/ |
H A D | test_run.c | 134 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local 146 new_ctx = &head->ctx; in xdp_test_run_init_page() 151 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page() 152 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page() 153 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page() 155 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page() 156 frm->mem = new_ctx->rxq->mem; in xdp_test_run_init_page() 158 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
H A D | dcn30_resource.h | 98 struct dc_state *new_ctx,
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
H A D | dce110_resource.c | 1104 struct dc_state *new_ctx, in dce110_add_stream_to_ctx() argument 1109 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1112 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1116 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce110_add_stream_to_ctx() 1123 struct dc_state *new_ctx, in dce110_acquire_underlay() argument 1130 struct resource_context *res_ctx = &new_ctx->res_ctx; in dce110_acquire_underlay() 1179 new_ctx->stream_count); in dce110_acquire_underlay()
|
/linux/fs/xfs/ |
H A D | xfs_log_cil.c | 1305 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local 1316 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work() 1317 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work() 1413 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work() 1519 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work() 1520 kfree(new_ctx); in xlog_cil_push_work()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.h | 129 const struct dc_state *new_ctx);
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
H A D | dcn10_resource.c | 1074 struct dc_state *new_ctx, in dcn10_add_stream_to_ctx() argument 1079 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1082 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1086 result = build_mapped_resource(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1093 struct dc_state *new_ctx, in dcn10_acquire_free_pipe_for_layer() argument 1097 struct resource_context *res_ctx = &new_ctx->res_ctx; in dcn10_acquire_free_pipe_for_layer()
|