Home
last modified time | relevance | path

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

12

/linux/drivers/cxl/core/
H A Dmemdev.c46 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in firmware_version_show() local
48 if (!mds) in firmware_version_show()
50 return sysfs_emit(buf, "%.16s\n", mds->firmware_version); in firmware_version_show()
59 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in payload_max_show() local
61 if (!mds) in payload_max_show()
72 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in label_storage_size_show() local
74 if (!mds) in label_storage_size_show()
76 return sysfs_emit(buf, "%zu\n", mds->lsa_size); in label_storage_size_show()
138 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in security_state_show() local
139 unsigned long state = mds->security.state; in security_state_show()
[all …]
H A Dmbox.c667 static int cxl_xfer_log(struct cxl_memdev_state *mds, uuid_t *uuid, in cxl_xfer_log() argument
670 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in cxl_xfer_log()
757 static void cxl_walk_cel(struct cxl_memdev_state *mds, size_t size, u8 *cel) in cxl_walk_cel() argument
759 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in cxl_walk_cel()
762 struct device *dev = mds->cxlds.dev; in cxl_walk_cel()
781 cxl_set_poison_cmd_enabled(&mds->poison, opcode); in cxl_walk_cel()
786 cxl_set_security_cmd_enabled(&mds->security, opcode); in cxl_walk_cel()
797 static struct cxl_mbox_get_supported_logs *cxl_get_gsl(struct cxl_memdev_state *mds) in cxl_get_gsl() argument
799 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in cxl_get_gsl()
846 int cxl_enumerate_cmds(struct cxl_memdev_state *mds) in cxl_enumerate_cmds() argument
[all …]
H A Dcore.h105 int cxl_mem_get_partition_info(struct cxl_memdev_state *mds);
H A Dhdm.c826 struct cxl_memdev_state *mds = in cxl_decoder_commit() local
829 if (mds && mds->security.sanitize_active) { in cxl_decoder_commit()
/linux/drivers/cxl/
H A Dpci.c130 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_pci_mbox_irq() local
139 if (mds->security.sanitize_node) in cxl_pci_mbox_irq()
140 mod_delayed_work(system_percpu_wq, &mds->security.poll_dwork, 0); in cxl_pci_mbox_irq()
155 struct cxl_memdev_state *mds = in cxl_mbox_sanitize_work() local
156 container_of(work, typeof(*mds), security.poll_dwork.work); in cxl_mbox_sanitize_work()
157 struct cxl_dev_state *cxlds = &mds->cxlds; in cxl_mbox_sanitize_work()
162 mds->security.poll_tmo_secs = 0; in cxl_mbox_sanitize_work()
163 if (mds->security.sanitize_node) in cxl_mbox_sanitize_work()
164 sysfs_notify_dirent(mds->security.sanitize_node); in cxl_mbox_sanitize_work()
165 mds->security.sanitize_active = false; in cxl_mbox_sanitize_work()
[all …]
H A Dpmem.c30 static void clear_exclusive(void *mds) in clear_exclusive() argument
32 clear_exclusive_cxl_commands(mds, exclusive_cmds); in clear_exclusive()
108 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_nvdimm_arm_dirty_shutdown_tracking() local
120 if (cxl_arm_dirty_shutdown(mds)) { in cxl_nvdimm_arm_dirty_shutdown_tracking()
128 if (cxl_get_dirty_count(mds, &count)) { in cxl_nvdimm_arm_dirty_shutdown_tracking()
141 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_nvdimm_probe() local
149 set_exclusive_cxl_commands(mds, exclusive_cmds); in cxl_nvdimm_probe()
150 rc = devm_add_action_or_reset(dev, clear_exclusive, mds); in cxl_nvdimm_probe()
187 static int cxl_pmem_get_config_size(struct cxl_memdev_state *mds, in cxl_pmem_get_config_size() argument
191 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in cxl_pmem_get_config_size()
[all …]
H A Dcxlmem.h133 int devm_cxl_setup_fw_upload(struct device *host, struct cxl_memdev_state *mds);
794 int cxl_dev_state_identify(struct cxl_memdev_state *mds);
796 int cxl_enumerate_cmds(struct cxl_memdev_state *mds);
797 int cxl_mem_dpa_fetch(struct cxl_memdev_state *mds, struct cxl_dpa_info *info);
800 void set_exclusive_cxl_commands(struct cxl_memdev_state *mds,
802 void clear_exclusive_cxl_commands(struct cxl_memdev_state *mds,
804 void cxl_mem_get_event_records(struct cxl_memdev_state *mds, u32 status);
809 int cxl_get_dirty_count(struct cxl_memdev_state *mds, u32 *count);
810 int cxl_arm_dirty_shutdown(struct cxl_memdev_state *mds);
811 int cxl_set_timestamp(struct cxl_memdev_state *mds);
[all …]
H A Dsecurity.c18 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_get_security_flags() local
39 mds->security.state = sec_out; in cxl_pmem_get_security_flags()
/linux/crypto/
H A 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/tools/testing/cxl/test/
H A Dmem.c179 struct cxl_memdev_state *mds; member
375 cxl_mem_get_event_records(mdata->mds, mes->ev_status); in cxl_mock_event_trigger()
578 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log() argument
580 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in mock_get_log()
667 struct cxl_memdev_state *mds = in cxl_mockmem_sanitize_work() local
668 container_of(work, typeof(*mds), security.poll_dwork.work); in cxl_mockmem_sanitize_work()
669 struct cxl_mailbox *cxl_mbox = &mds->cxlds.cxl_mbox; in cxl_mockmem_sanitize_work()
672 if (mds->security.sanitize_node) in cxl_mockmem_sanitize_work()
673 sysfs_notify_dirent(mds->security.sanitize_node); in cxl_mockmem_sanitize_work()
674 mds->security.sanitize_active = false; in cxl_mockmem_sanitize_work()
[all …]
/linux/include/trace/events/
H A Dceph.h100 __field(int, mds)
107 __entry->mds = session ? session->s_mds : -1;
147 __field(int, mds)
153 __entry->mds = session->s_mds;
159 __entry->mds)
200 __field(int, mds)
210 __entry->mds = session->s_mds;
220 __entry->mds,
/linux/fs/ceph/
H A Dmds_client.c983 int mds) in __ceph_lookup_mds_session() argument
985 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __ceph_lookup_mds_session()
987 return ceph_get_mds_session(mdsc->sessions[mds]); in __ceph_lookup_mds_session()
990 static bool __have_session(struct ceph_mds_client *mdsc, int mds) in __have_session() argument
992 if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) in __have_session()
1012 int mds) in register_session() argument
1020 if (mds >= mdsc->mdsmap->possible_max_rank) in register_session()
1027 if (mds >= mdsc->max_sessions) { in register_session()
1028 int newmax = 1 << get_count_order(mds + 1); in register_session()
1045 doutc(cl, "mds%d\n", mds); in register_session()
[all …]
H A Dcaps.c442 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() argument
449 if (mds < cap->mds) in __get_cap_for_mds()
451 else if (mds > cap->mds) in __get_cap_for_mds()
459 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds() argument
464 cap = __get_cap_for_mds(ci, mds); in ceph_get_cap_for_mds()
482 if (new->mds < cap->mds) in __insert_cap_node()
484 else if (new->mds > cap->mds) in __insert_cap_node()
661 int mds = session->s_mds; in ceph_add_cap() local
673 cap = __get_cap_for_mds(ci, mds); in ceph_add_cap()
680 cap->mds = mds; in ceph_add_cap()
[all …]
H A Ddebugfs.c282 static int caps_show_cb(struct inode *inode, int mds, void *p) in caps_show_cb() argument
289 cap = __get_cap_for_mds(ci, mds); in caps_show_cb()
353 int mds; in mds_sessions_show() local
364 for (mds = 0; mds < mdsc->max_sessions; mds++) { in mds_sessions_show()
366 __ceph_lookup_mds_session(mdsc, mds); in mds_sessions_show()
H A Dsuper.h216 int mds; /* mds index for this cap */ member
307 int mds; /* -1 if same authority as parent */ member
1290 int mds);
1292 int mds);
1315 int mds, int drop, int unless, int force);
1318 int mds, int drop, int unless);
H A Dmds_client.h618 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds);
676 int (*cb)(struct inode *, int mds, void *),
H A Dinode.c330 frag->mds = -1; in __get_or_create_frag()
431 int mds = le32_to_cpu(dirinfo->auth); in ceph_fill_dirfrag() local
439 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()
442 if (mds == -1) /* CDIR_AUTH_PARENT */ in ceph_fill_dirfrag()
443 mds = diri_auth; in ceph_fill_dirfrag()
446 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag()
461 frag->mds = -1; in ceph_fill_dirfrag()
480 frag->mds = mds; in ceph_fill_dirfrag()
H A Dsnap.c1022 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/fs/nfs/
H A Dwrite.c788 atomic_long_inc(&cinfo->mds->ncommit); in nfs_request_add_commit_list_locked()
808 nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); in nfs_request_add_commit_list()
832 atomic_long_dec(&cinfo->mds->ncommit); in nfs_request_remove_commit_list()
840 cinfo->mds = &NFS_I(inode)->commit_info; in nfs_init_cinfo_from_inode()
956 return atomic_long_read(&cinfo->mds->ncommit); in nfs_reqs_to_commit()
1000 if (!atomic_long_read(&cinfo->mds->ncommit)) in nfs_scan_commit()
1003 if (atomic_long_read(&cinfo->mds->ncommit) > 0) { in nfs_scan_commit()
1006 ret = nfs_scan_commit_list(&cinfo->mds->list, dst, in nfs_scan_commit()
1731 nfs_commit_begin(cinfo->mds); in nfs_init_commit()
1858 nfs_commit_end(cinfo.mds); in nfs_commit_release_pages()
[all …]
/linux/Documentation/arch/x86/
H A Dindex.rst34 mds
H A Dtsx_async_abort.rst31 :ref:`Documentation/admin-guide/hw-vuln/mds.rst <mds>`.
H A Dmds.rst120 mds=off is supplied on the kernel command line
132 If the CPU is affected and mds=off is not supplied on the kernel command
/linux/Documentation/admin-guide/hw-vuln/
H A Dindex.rst15 mds
/linux/net/dsa/
H A Ddsa.c1133 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local
1143 mds = mdp->ds; in dsa_get_tag_protocol()
1144 mdp_upstream = dsa_upstream_port(mds, mdp->index); in dsa_get_tag_protocol()
1145 tag_protocol = mds->ops->get_tag_protocol(mds, mdp_upstream, in dsa_get_tag_protocol()
/linux/drivers/base/
H A Dcpu.c611 CPU_SHOW_VULN_FALLBACK(mds);
631 static DEVICE_ATTR(mds, 0444, cpu_show_mds, NULL);

12