Home
last modified time | relevance | path

Searched refs:mds (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.15/crypto/
Dtwofish_common.c109 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-v5.15/fs/ceph/
Dmdsmap.c48 int mds; in ceph_mdsmap_get_random_mds() local
50 mds = __mdsmap_get_random_mds(m, false); in ceph_mdsmap_get_random_mds()
51 if (mds == m->possible_max_rank || mds == -1) in ceph_mdsmap_get_random_mds()
52 mds = __mdsmap_get_random_mds(m, true); in ceph_mdsmap_get_random_mds()
54 return mds == m->possible_max_rank ? -1 : mds; in ceph_mdsmap_get_random_mds()
177 s32 mds, inc, state; in ceph_mdsmap_decode() local
205 ceph_decode_32_safe(p, end, mds, bad); in ceph_mdsmap_decode()
237 i+1, n, global_id, mds, inc, in ceph_mdsmap_decode()
242 if (mds < 0 || mds >= m->possible_max_rank) { in ceph_mdsmap_decode()
243 pr_warn("mdsmap_decode got incorrect mds(%d)\n", mds); in ceph_mdsmap_decode()
[all …]
Dmds_client.c679 int mds) in __ceph_lookup_mds_session() argument
681 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __ceph_lookup_mds_session()
683 return ceph_get_mds_session(mdsc->sessions[mds]); in __ceph_lookup_mds_session()
686 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session() argument
688 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __have_session()
708 int mds) in register_session() argument
712 if (mds >= mdsc->mdsmap->possible_max_rank) in register_session()
719 if (mds >= mdsc->max_sessions) { in register_session()
720 int newmax = 1 << get_count_order(mds + 1); in register_session()
736 dout("%s: mds%d\n", __func__, mds); in register_session()
[all …]
Dcaps.c433 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument
440 if (mds < cap->mds) in __get_cap_for_mds()
442 else if (mds > cap->mds) in __get_cap_for_mds()
450 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument
455 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds()
473 if (new->mds < cap->mds) in __insert_cap_node()
475 else if (new->mds > cap->mds) in __insert_cap_node()
639 int mds = session->s_mds; in ceph_add_cap() local
650 cap = __get_cap_for_mds(ci, mds); in ceph_add_cap()
657 cap->mds = mds; in ceph_add_cap()
[all …]
Ddebugfs.c306 int mds; in mds_sessions_show() local
317 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show()
319 __ceph_lookup_mds_session(mdsc, mds); in mds_sessions_show()
Dsuper.h164 int mds; /* mds index for this cap */ member
253 int mds; /* -1 if same authority as parent */ member
1154 int mds);
1179 int mds, int drop, int unless, int force);
1182 int mds, int drop, int unless);
Dmds_client.h484 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds);
493 struct ceph_msg *msg, int mds);
Dinode.c166 frag->mds = -1; in __get_or_create_frag()
266 int mds = le32_to_cpu(dirinfo->auth); in ceph_fill_dirfrag() local
274 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()
277 if (mds == -1) /* CDIR_AUTH_PARENT */ in ceph_fill_dirfrag()
278 mds = diri_auth; in ceph_fill_dirfrag()
281 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag()
296 frag->mds = -1; in ceph_fill_dirfrag()
314 frag->mds = mds; in ceph_fill_dirfrag()
Dsnap.c906 int mds = session->s_mds; in ceph_handle_snap() local
931 dout("handle_snap from mds%d op %s split %llx tracelen %d\n", mds, in ceph_handle_snap()
1041 pr_err("corrupt snap message from mds%d\n", mds); in ceph_handle_snap()
/Linux-v5.15/Documentation/admin-guide/hw-vuln/
Dmds.rst61 architecture section: :ref:`Documentation/x86/mds.rst <mds>`.
94 /sys/devices/system/cpu/vulnerabilities/mds
137 The state in the mds sysfs file reflects this situation accordingly.
251 time with the option "mds=". The valid arguments for this option are:
261 full,nosmt The same as mds=full, with SMT disabled on vulnerable
268 Not specifying this option is equivalent to "mds=full". For processors
270 specifying just "mds=off" without an accompanying "tsx_async_abort=off"
Dindex.rst14 mds
Dspecial-register-buffer-data-sampling.rst7 Documentation/admin-guide/hw-vuln/mds.rst techniques to
Dtsx_async_abort.rst177 "tsx_async_abort=off" without an accompanying "mds=off" will have no
/Linux-v5.15/fs/nfs/
Dwrite.c841 list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) { in nfs_page_search_commits_for_head_request_locked()
868 atomic_long_inc(&cinfo->mds->ncommit); in nfs_request_add_commit_list_locked()
888 nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); in nfs_request_add_commit_list()
913 atomic_long_dec(&cinfo->mds->ncommit); in nfs_request_remove_commit_list()
921 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode()
1030 return atomic_long_read(&cinfo->mds->ncommit); in nfs_reqs_to_commit()
1088 if (!atomic_long_read(&cinfo->mds->ncommit)) in nfs_scan_commit()
1091 if (atomic_long_read(&cinfo->mds->ncommit) > 0) { in nfs_scan_commit()
1094 ret = nfs_scan_commit_list(&cinfo->mds->list, dst, in nfs_scan_commit()
1823 atomic_inc(&cinfo->mds->rpcs_out); in nfs_commit_list()
[all …]
Ddirect.c190 cinfo->mds = &dreq->mds_cinfo; in nfs_init_cinfo_from_dreq()
533 nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); in nfs_direct_write_scan_commit_list()
623 if (atomic_dec_and_test(&cinfo.mds->rpcs_out)) in nfs_direct_commit_complete()
Dpnfs_nfs.c471 atomic_inc(&cinfo->mds->rpcs_out); in pnfs_bucket_alloc_ds_commits()
523 atomic_inc(&cinfo->mds->rpcs_out); in pnfs_generic_commit_pagelist()
/Linux-v5.15/Documentation/x86/
Dindex.rst28 mds
Dtsx_async_abort.rst31 :ref:`Documentation/admin-guide/hw-vuln/mds.rst <mds>`.
Dmds.rst117 mds=off is supplied on the kernel command line
129 If the CPU is affected and mds=off is not supplied on the kernel command
/Linux-v5.15/net/dsa/
Ddsa2.c1231 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local
1241 mds = mdp->ds; in dsa_get_tag_protocol()
1242 mdp_upstream = dsa_upstream_port(mds, mdp->index); in dsa_get_tag_protocol()
1243 tag_protocol = mds->ops->get_tag_protocol(mds, mdp_upstream, in dsa_get_tag_protocol()
/Linux-v5.15/drivers/media/platform/
Daspeed-video.c758 u32 mds; in aspeed_video_get_resolution() local
808 mds = aspeed_video_read(video, VE_MODE_DETECT_STATUS); in aspeed_video_get_resolution()
815 det->vbackporch = ((mds & VE_MODE_DETECT_V_LINES) >> in aspeed_video_get_resolution()
826 det->hbackporch = (mds & VE_MODE_DETECT_H_PIXELS) - in aspeed_video_get_resolution()
/Linux-v5.15/drivers/base/
Dcpu.c572 static DEVICE_ATTR(mds, 0444, cpu_show_mds, NULL);
/Linux-v5.15/include/linux/ceph/
Dceph_fs.h780 __le32 mds; member
/Linux-v5.15/include/linux/
Dnfs_xdr.h1656 struct nfs_mds_commit_info *mds; member
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-devices-system-cpu519 /sys/devices/system/cpu/vulnerabilities/mds

12