/Linux-v6.6/net/mac80211/ |
D | chan.c | 856 struct ieee80211_chanctx *new_ctx) in ieee80211_assign_link_chanctx() argument 878 if (new_ctx) { in ieee80211_assign_link_chanctx() 880 ieee80211_recalc_chanctx_min_def(local, new_ctx, link); in ieee80211_assign_link_chanctx() 882 ret = drv_assign_vif_chanctx(local, sdata, link->conf, new_ctx); in ieee80211_assign_link_chanctx() 886 conf = &new_ctx->conf; in ieee80211_assign_link_chanctx() 888 &new_ctx->assigned_links); in ieee80211_assign_link_chanctx() 903 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx() 905 ieee80211_recalc_chanctx_min_def(local, new_ctx, NULL); in ieee80211_assign_link_chanctx() 1109 struct ieee80211_chanctx *new_ctx, *curr_ctx, *ctx; in ieee80211_link_reserve_chanctx() local 1117 new_ctx = ieee80211_find_reservation_chanctx(local, chandef, mode); in ieee80211_link_reserve_chanctx() [all …]
|
D | driver-ops.c | 348 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 349 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 359 new_ctx->driver_present) || in drv_switch_vif_chanctx() 361 !new_ctx->driver_present)); in drv_switch_vif_chanctx() 371 struct ieee80211_chanctx *new_ctx = in drv_switch_vif_chanctx() local 372 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 380 new_ctx->driver_present = true; in drv_switch_vif_chanctx()
|
/Linux-v6.6/fs/smb/client/ |
D | fs_context.c | 301 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \ 302 if (new_ctx->field == NULL) { \ 303 smb3_cleanup_fs_context_contents(new_ctx); \ 310 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument 312 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup() 313 new_ctx->prepath = NULL; in smb3_fs_context_dup() 314 new_ctx->nodename = NULL; in smb3_fs_context_dup() 315 new_ctx->username = NULL; in smb3_fs_context_dup() 316 new_ctx->password = NULL; in smb3_fs_context_dup() 317 new_ctx->server_hostname = NULL; in smb3_fs_context_dup() [all …]
|
/Linux-v6.6/tools/perf/arch/x86/tests/ |
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-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.h | 63 struct dc_state *new_ctx, 133 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx); 162 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… 164 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre…
|
D | dcn20_resource.c | 1395 struct dc_state *new_ctx, in remove_dsc_from_stream_resource() argument 1402 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() 1403 pipe_ctx = &new_ctx->res_ctx.pipe_ctx[i]; in remove_dsc_from_stream_resource() 1406 dcn20_release_dsc(&new_ctx->res_ctx, dc->res_pool, &pipe_ctx->stream_res.dsc); in remove_dsc_from_stream_resource() 1417 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 1421 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1424 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1428 result = dcn20_add_dsc_to_stream_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1431 result = dcn20_build_mapped_resource(dc, new_ctx, dc_stream); in dcn20_add_stream_to_ctx() 1437 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-v6.6/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1871 struct dc_state *new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() argument 1884 new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() 1890 &new_ctx->res_ctx, pool, in acquire_secondary_dpp_pipes_and_add_plane() 1894 sec_pipe = &new_ctx->res_ctx.pipe_ctx[pipe_idx]; in acquire_secondary_dpp_pipes_and_add_plane() 2417 struct dc_state *new_ctx, in dc_add_stream_to_ctx() argument 2423 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) { in dc_add_stream_to_ctx() 2428 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx() 2430 new_ctx->stream_count++; in dc_add_stream_to_ctx() 2432 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in dc_add_stream_to_ctx() 2444 struct dc_state *new_ctx, in dc_remove_stream_from_ctx() argument [all …]
|
/Linux-v6.6/net/mptcp/ |
D | subflow.c | 1906 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local 1914 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone() 1915 if (!new_ctx) { in subflow_ulp_clone() 1920 new_ctx->conn_finished = 1; in subflow_ulp_clone() 1921 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone() 1922 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone() 1923 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone() 1924 new_ctx->rel_write_seq = 1; in subflow_ulp_clone() 1925 new_ctx->tcp_sock = newsk; in subflow_ulp_clone() 1931 new_ctx->mp_capable = 1; in subflow_ulp_clone() [all …]
|
/Linux-v6.6/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-v6.6/arch/powerpc/kernel/ |
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()
|
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-v6.6/arch/powerpc/include/asm/ |
D | syscalls.h | 54 struct ucontext __user *new_ctx, long ctx_size); 76 struct ucontext32 __user *new_ctx,
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.h | 46 struct dc_state *new_ctx,
|
D | dce100_resource.c | 896 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument 901 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx() 904 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx() 907 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.h | 52 struct dc_state *new_ctx,
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 131 struct dc_state *new_ctx, 141 struct dc_state *new_ctx, 146 struct dc_state *new_ctx,
|
/Linux-v6.6/arch/sparc/mm/ |
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 835 new_ctx = find_next_zero_bit(mmu_context_bmap, 1 << CTX_NR_BITS, ctx); in get_new_mmu_context() 836 if (new_ctx >= (1 << CTX_NR_BITS)) { in get_new_mmu_context() 837 new_ctx = find_next_zero_bit(mmu_context_bmap, ctx, 1); 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() [all …]
|
/Linux-v6.6/net/bpf/ |
D | test_run.c | 132 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local 144 new_ctx = &head->ctx; in xdp_test_run_init_page() 149 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page() 150 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page() 151 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page() 153 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page() 154 frm->mem = new_ctx->rxq->mem; in xdp_test_run_init_page() 156 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.h | 98 struct dc_state *new_ctx,
|
/Linux-v6.6/fs/xfs/ |
D | xfs_log_cil.c | 1128 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local 1139 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work() 1140 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work() 1236 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work() 1341 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work() 1342 kmem_free(new_ctx); in xlog_cil_push_work()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
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() 1178 new_ctx->stream_count); in dce110_acquire_underlay()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/ |
D | dc_stream.h | 421 struct dc_state *new_ctx, 426 struct dc_state *new_ctx,
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 1069 struct dc_state *new_ctx, in dcn10_add_stream_to_ctx() argument 1074 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1077 result = resource_map_phy_clock_resources(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1081 result = build_mapped_resource(dc, new_ctx, dc_stream); in dcn10_add_stream_to_ctx() 1088 struct dc_state *new_ctx, in dcn10_acquire_free_pipe_for_layer() argument 1092 struct resource_context *res_ctx = &new_ctx->res_ctx; in dcn10_acquire_free_pipe_for_layer()
|
/Linux-v6.6/fs/ |
D | libfs.c | 328 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename_exchange() local 334 simple_offset_remove(new_ctx, new_dentry); in simple_offset_rename_exchange() 336 ret = simple_offset_add(new_ctx, old_dentry); in simple_offset_rename_exchange() 342 simple_offset_remove(new_ctx, old_dentry); in simple_offset_rename_exchange() 348 simple_offset_remove(new_ctx, old_dentry); in simple_offset_rename_exchange() 358 xa_store(&new_ctx->xa, new_index, new_dentry, GFP_KERNEL); in simple_offset_rename_exchange()
|
/Linux-v6.6/mm/damon/ |
D | dbgfs.c | 817 struct damon_ctx **new_ctxs, *new_ctx; in dbgfs_mk_context() local 844 new_ctx = dbgfs_new_ctx(); in dbgfs_mk_context() 845 if (!new_ctx) { in dbgfs_mk_context() 851 dbgfs_ctxs[dbgfs_nr_ctxs] = new_ctx; in dbgfs_mk_context()
|