/linux/crypto/ |
H A D | twofish_common.c | 109 static const u32 mds[4][256] = { variable 484 ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ 485 ctx->s[1][i] = mds[1][q0[(b) ^ sb] ^ sf]; \ 486 ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ 487 ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh] 492 ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \ 493 ctx->s[1][i] = mds[1][q0[q1[(b) ^ sb] ^ sf] ^ sj]; \ 494 ctx->s[2][i] = mds[2][q1[q0[(a) ^ sc] ^ sg] ^ sk]; \ 495 ctx->s[3][i] = mds[3][q1[q1[(a) ^ sd] ^ sh] ^ sl]; 500 ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \ [all …]
|
/linux/fs/ceph/ |
H A D | mdsmap.c | 49 int mds; in ceph_mdsmap_get_random_mds() local 51 mds = __mdsmap_get_random_mds(m, false); in ceph_mdsmap_get_random_mds() 52 if (mds == m->possible_max_rank || mds == -1) in ceph_mdsmap_get_random_mds() 53 mds = __mdsmap_get_random_mds(m, true); in ceph_mdsmap_get_random_mds() 55 return mds == m->possible_max_rank ? -1 : mds; in ceph_mdsmap_get_random_mds() 180 s32 mds, inc, state; in ceph_mdsmap_decode() local 208 ceph_decode_32_safe(p, end, mds, bad); in ceph_mdsmap_decode() 240 mds, inc, ceph_pr_addr(&addr), in ceph_mdsmap_decode() 243 if (mds < 0 || mds >= m->possible_max_rank) { in ceph_mdsmap_decode() 244 pr_warn_client(cl, "got incorrect mds(%d)\n", mds); in ceph_mdsmap_decode() [all …]
|
H A D | mds_client.c | 935 int mds) in __ceph_lookup_mds_session() argument 937 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __ceph_lookup_mds_session() 939 return ceph_get_mds_session(mdsc->sessions[mds]); in __ceph_lookup_mds_session() 942 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session() argument 944 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __have_session() 964 int mds) in register_session() argument 972 if (mds >= mdsc->mdsmap->possible_max_rank) in register_session() 979 if (mds >= mdsc->max_sessions) { in register_session() 980 int newmax = 1 << get_count_order(mds + 1); in register_session() 996 doutc(cl, "mds%d\n", mds); in register_session() [all …]
|
H A D | debugfs.c | 251 static int caps_show_cb(struct inode *inode, int mds, void *p) in caps_show_cb() argument 258 cap = __get_cap_for_mds(ci, mds); in caps_show_cb() 322 int mds; in mds_sessions_show() local 333 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show() 335 __ceph_lookup_mds_session(mdsc, mds); in mds_sessions_show()
|
H A D | caps.c | 441 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument 448 if (mds < cap->mds) in __get_cap_for_mds() 450 else if (mds > cap->mds) in __get_cap_for_mds() 458 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument 463 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds() 481 if (new->mds < cap->mds) in __insert_cap_node() 483 else if (new->mds > cap->mds) in __insert_cap_node() 660 int mds = session->s_mds; in ceph_add_cap() local 672 cap = __get_cap_for_mds(ci, mds); in ceph_add_cap() 679 cap->mds = mds; in ceph_add_cap() [all …]
|
H A D | super.h | 188 int mds; /* mds index for this cap */ member 278 int mds; /* -1 if same authority as parent */ member 1245 int mds); 1247 int mds); 1270 int mds, int drop, int unless, int force); 1273 int mds, int drop, int unless);
|
H A D | mds_client.h | 554 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); 608 int (*cb)(struct inode *, int mds, void *),
|
H A D | inode.c | 284 frag->mds = -1; in __get_or_create_frag() 385 int mds = le32_to_cpu(dirinfo->auth); in ceph_fill_dirfrag() local 393 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag() 396 if (mds == -1) /* CDIR_AUTH_PARENT */ in ceph_fill_dirfrag() 397 mds = diri_auth; in ceph_fill_dirfrag() 400 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag() 415 frag->mds = -1; in ceph_fill_dirfrag() 434 frag->mds = mds; in ceph_fill_dirfrag()
|
H A D | snap.c | 1022 int mds = session->s_mds; in ceph_handle_snap() local 1051 doutc(cl, "from mds%d op %s split %llx tracelen %d\n", mds, in ceph_handle_snap() 1175 pr_err_client(cl, "corrupt snap message from mds%d\n", mds); in ceph_handle_snap()
|
/linux/tools/testing/cxl/test/ |
H A D | mem.c | 160 struct cxl_memdev_state *mds; 350 cxl_mem_get_event_records(mdata->mds, mes->ev_status); in cxl_mock_event_trigger() 536 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log() 538 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in mock_get_log() 620 struct cxl_memdev_state *mds = in cxl_mockmem_sanitize_work() 621 container_of(work, typeof(*mds), security.poll_dwork.work); in cxl_mockmem_sanitize_work() 622 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in cxl_mockmem_sanitize_work() 625 if (mds->security.sanitize_node) in cxl_mockmem_sanitize_work() 626 sysfs_notify_dirent(mds->security.sanitize_node); in cxl_mockmem_sanitize_work() 627 mds in cxl_mockmem_sanitize_work() 159 struct cxl_memdev_state *mds; global() member 535 mock_get_log(struct cxl_memdev_state * mds,struct cxl_mbox_cmd * cmd) mock_get_log() argument 618 struct cxl_memdev_state *mds = cxl_mockmem_sanitize_work() local 633 struct cxl_memdev_state *mds = mdata->mds; mock_sanitize() local 1336 cxl_mock_mbox_send(struct cxl_memdev_state * mds,struct cxl_mbox_cmd * cmd) cxl_mock_mbox_send() argument 1460 struct cxl_memdev_state *mds; cxl_mock_mem_probe() local [all...] |
H A D | cxl.c | 1007 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in mock_cxl_endpoint_parse_cdat() local 1022 dpa_perf_setup(port, &ram_range, &mds->ram_perf); in mock_cxl_endpoint_parse_cdat() 1025 dpa_perf_setup(port, &pmem_range, &mds->pmem_perf); in mock_cxl_endpoint_parse_cdat()
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | mds.rst | 61 architecture section: :ref:`Documentation/arch/x86/mds.rst <mds>`. 94 /sys/devices/system/cpu/vulnerabilities/mds 243 time with the option "mds=". The valid arguments for this option are: 253 full,nosmt The same as mds=full, with SMT disabled on vulnerable 260 Not specifying this option is equivalent to "mds=full". For processors 262 specifying just "mds=off" without an accompanying "tsx_async_abort=off"
|
H A D | index.rst | 14 mds
|
H A D | special-register-buffer-data-sampling.rst | 7 Documentation/admin-guide/hw-vuln/mds.rst techniques to
|
H A D | tsx_async_abort.rst | 170 "tsx_async_abort=off" without an accompanying "mds=off" will have no
|
/linux/Documentation/arch/x86/ |
H A D | index.rst | 32 mds
|
H A D | tsx_async_abort.rst | 31 :ref:`Documentation/admin-guide/hw-vuln/mds.rst <mds>`.
|
/linux/fs/nfs/ |
H A D | direct.c | 164 cinfo->mds = &dreq->mds_cinfo; in nfs_init_cinfo_from_dreq() 534 nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); in nfs_direct_write_scan_commit_list() 643 if (nfs_commit_end(cinfo.mds)) in nfs_direct_commit_complete() 673 nfs_commit_begin(cinfo.mds); in nfs_direct_commit_schedule() 682 if (nfs_commit_end(cinfo.mds)) in nfs_direct_commit_schedule()
|
/linux/drivers/media/platform/aspeed/ |
H A D | aspeed-video.c | 985 u32 mds, sync, htotal, vtotal, vsync, hsync; in aspeed_video_get_timings() local 987 mds = aspeed_video_read(v, VE_MODE_DETECT_STATUS); in aspeed_video_get_timings() 990 vtotal = FIELD_GET(VE_MODE_DETECT_V_LINES, mds); in aspeed_video_get_timings() 1036 u32 mds; in aspeed_video_get_resolution() local 1067 mds = aspeed_video_read(video, VE_MODE_DETECT_STATUS); in aspeed_video_get_resolution() 1069 if (!(mds & VE_MODE_DETECT_H_STABLE) || in aspeed_video_get_resolution() 1070 !(mds & VE_MODE_DETECT_V_STABLE) || in aspeed_video_get_resolution() 1071 (mds & VE_MODE_DETECT_EXTSRC_ADC)) in aspeed_video_get_resolution()
|
/linux/net/dsa/ |
H A D | dsa.c | 1130 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local 1140 mds = mdp->ds; in dsa_get_tag_protocol() 1141 mdp_upstream = dsa_upstream_port(mds, mdp->index); in dsa_get_tag_protocol() 1142 tag_protocol = mds->ops->get_tag_protocol(mds, mdp_upstream, in dsa_get_tag_protocol()
|
/linux/drivers/base/ |
H A D | cpu.c | 593 CPU_SHOW_VULN_FALLBACK(mds); 608 static DEVICE_ATTR(mds, 0444, cpu_show_mds, NULL);
|
/linux/drivers/cxl/core/ |
H A D | hdm.c | 655 struct cxl_memdev_state *mds = in cxl_decoder_commit() local 658 if (mds && mds->security.sanitize_active) { in cxl_decoder_commit()
|
/linux/include/linux/ceph/ |
H A D | ceph_fs.h | 813 __le32 mds; member
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-system-cpu | 516 /sys/devices/system/cpu/vulnerabilities/mds
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 3265 mds= [X86,INTEL,EARLY] 3286 On TAA-affected machines, mds=off can be prevented by 3293 mds=full. 3295 For details see: Documentation/admin-guide/hw-vuln/mds.rst 3513 mds=off [X86] 3550 mds=full,nosmt [X86] 3589 mds=off and tsx_async_abort=off too. 7059 this mitigation, you need to specify mds=off too.
|