Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/fs/ceph/
Dmdsmap.c149 s32 mds, inc, state; in ceph_mdsmap_decode() local
182 mds = ceph_decode_32(p); in ceph_mdsmap_decode()
208 i+1, n, global_id, mds, inc, in ceph_mdsmap_decode()
212 if (mds < 0 || state <= 0) in ceph_mdsmap_decode()
215 if (mds >= m->m_num_mds) { in ceph_mdsmap_decode()
216 int new_num = max(mds + 1, m->m_num_mds * 2); in ceph_mdsmap_decode()
226 info = &m->m_info[mds]; in ceph_mdsmap_decode()
293 s32 mds = ceph_decode_32(p); in ceph_mdsmap_decode() local
294 if (mds >= 0 && mds < m->m_num_mds) { in ceph_mdsmap_decode()
295 if (m->m_info[mds].laggy) in ceph_mdsmap_decode()
Dmds_client.c567 int mds) in __ceph_lookup_mds_session() argument
569 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __ceph_lookup_mds_session()
571 return get_session(mdsc->sessions[mds]); in __ceph_lookup_mds_session()
574 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session() argument
576 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __have_session()
596 int mds) in register_session() argument
600 if (mds >= mdsc->mdsmap->m_num_mds) in register_session()
607 if (mds >= mdsc->max_sessions) { in register_session()
608 int newmax = 1 << get_count_order(mds + 1); in register_session()
624 dout("%s: mds%d\n", __func__, mds); in register_session()
[all …]
Ddebugfs.c178 int mds = -1; in mds_sessions_show() local
189 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show()
191 __ceph_lookup_mds_session(mdsc, mds); in mds_sessions_show()
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()
615 int mds = session->s_mds; in ceph_add_cap() local
635 cap = __get_cap_for_mds(ci, mds); in ceph_add_cap()
642 cap->mds = mds; in ceph_add_cap()
[all …]
Dsuper.h158 int mds, mds_wanted; member
245 int mds; /* -1 if same authority as parent */ member
1057 int mds);
1071 int mds, int drop, int unless, int force);
1074 int mds, int drop, int unless);
Dmds_client.h443 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds);
457 struct ceph_msg *msg, int mds);
Dinode.c142 frag->mds = -1; in __get_or_create_frag()
242 int mds = le32_to_cpu(dirinfo->auth); in ceph_fill_dirfrag() local
250 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()
253 if (mds == -1) /* CDIR_AUTH_PARENT */ in ceph_fill_dirfrag()
254 mds = diri_auth; in ceph_fill_dirfrag()
257 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag()
272 frag->mds = -1; in ceph_fill_dirfrag()
290 frag->mds = mds; in ceph_fill_dirfrag()
Dsnap.c847 int mds = session->s_mds; in ceph_handle_snap() local
872 dout("handle_snap from mds%d op %s split %llx tracelen %d\n", mds, in ceph_handle_snap()
1002 pr_err("corrupt snap message from mds%d\n", mds); in ceph_handle_snap()
/Linux-v5.4/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".
Dindex.rst14 mds
/Linux-v5.4/fs/nfs/
Dwrite.c838 list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) { in nfs_page_search_commits_for_head_request_locked()
865 atomic_long_inc(&cinfo->mds->ncommit); in nfs_request_add_commit_list_locked()
885 nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); in nfs_request_add_commit_list()
910 atomic_long_dec(&cinfo->mds->ncommit); in nfs_request_remove_commit_list()
918 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode()
1027 return atomic_long_read(&cinfo->mds->ncommit); in nfs_reqs_to_commit()
1085 if (!atomic_long_read(&cinfo->mds->ncommit)) in nfs_scan_commit()
1088 if (atomic_long_read(&cinfo->mds->ncommit) > 0) { in nfs_scan_commit()
1091 ret = nfs_scan_commit_list(&cinfo->mds->list, dst, in nfs_scan_commit()
1810 atomic_inc(&cinfo->mds->rpcs_out); in nfs_commit_list()
[all …]
Ddirect.c290 cinfo->mds = &dreq->mds_cinfo; in nfs_init_cinfo_from_dreq()
617 nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); in nfs_direct_write_scan_commit_list()
698 if (atomic_dec_and_test(&cinfo.mds->rpcs_out)) in nfs_direct_commit_complete()
Dpnfs_nfs.c246 if (atomic_dec_and_test(&cinfo->mds->rpcs_out)) in pnfs_generic_commit_cancel_empty_pagelist()
247 wake_up_var(&cinfo->mds->rpcs_out); in pnfs_generic_commit_cancel_empty_pagelist()
282 atomic_add(nreq, &cinfo->mds->rpcs_out); in pnfs_generic_commit_pagelist()
/Linux-v5.4/Documentation/x86/
Dindex.rst27 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.4/samples/vfio-mdev/
Dmtty.c763 struct mdev_state *mds, *tmp_mds; in mtty_remove() local
768 list_for_each_entry_safe(mds, tmp_mds, &mdev_devices_list, next) { in mtty_remove()
769 if (mdev_state == mds) { in mtty_remove()
1335 struct mdev_state *mds; in available_instances_show() local
1350 list_for_each_entry(mds, &mdev_devices_list, next) in available_instances_show()
1351 used += mds->nr_ports; in available_instances_show()
/Linux-v5.4/drivers/media/platform/
Daspeed-video.c726 u32 mds; in aspeed_video_get_resolution() local
774 mds = aspeed_video_read(video, VE_MODE_DETECT_STATUS); in aspeed_video_get_resolution()
781 det->vbackporch = ((mds & VE_MODE_DETECT_V_LINES) >> in aspeed_video_get_resolution()
792 det->hbackporch = (mds & VE_MODE_DETECT_H_PIXELS) - in aspeed_video_get_resolution()
/Linux-v5.4/drivers/base/
Dcpu.c575 static DEVICE_ATTR(mds, 0444, cpu_show_mds, NULL);
/Linux-v5.4/include/linux/ceph/
Dceph_fs.h722 __le32 mds; member
/Linux-v5.4/include/linux/
Dnfs_xdr.h1558 struct nfs_mds_commit_info *mds; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-devices-system-cpu488 /sys/devices/system/cpu/vulnerabilities/mds
/Linux-v5.4/Documentation/admin-guide/
Dkernel-parameters.txt2455 mds= [X86,INTEL]
2477 mds=full.
2479 For details see: Documentation/admin-guide/hw-vuln/mds.rst
2657 mds=off [X86]
2679 mds=full,nosmt [X86]