mds 109 crypto/twofish_common.c static const u32 mds[4][256] = { mds 484 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ mds 485 crypto/twofish_common.c ctx->s[1][i] = mds[1][q0[(b) ^ sb] ^ sf]; \ mds 486 crypto/twofish_common.c ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ mds 487 crypto/twofish_common.c ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh] mds 492 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \ mds 493 crypto/twofish_common.c ctx->s[1][i] = mds[1][q0[q1[(b) ^ sb] ^ sf] ^ sj]; \ mds 494 crypto/twofish_common.c ctx->s[2][i] = mds[2][q1[q0[(a) ^ sc] ^ sg] ^ sk]; \ mds 495 crypto/twofish_common.c ctx->s[3][i] = mds[3][q1[q1[(a) ^ sd] ^ sh] ^ sl]; mds 500 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \ mds 501 crypto/twofish_common.c ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \ mds 502 crypto/twofish_common.c ctx->s[2][i] = mds[2][q1[q0[q0[(a) ^ sc] ^ sg] ^ sk] ^ so]; \ mds 503 crypto/twofish_common.c ctx->s[3][i] = mds[3][q1[q1[q0[(b) ^ sd] ^ sh] ^ sl] ^ sp]; mds 530 crypto/twofish_common.c mds[0][q0[a ^ key[(j) + 8]] ^ key[j]] \ mds 531 crypto/twofish_common.c ^ mds[1][q0[b ^ key[(j) + 9]] ^ key[(j) + 1]] \ mds 532 crypto/twofish_common.c ^ mds[2][q1[c ^ key[(j) + 10]] ^ key[(j) + 2]] \ mds 533 crypto/twofish_common.c ^ mds[3][q1[d ^ key[(j) + 11]] ^ key[(j) + 3]] mds 581 drivers/base/cpu.c static DEVICE_ATTR(mds, 0444, cpu_show_mds, NULL); mds 736 drivers/media/platform/aspeed-video.c u32 mds; mds 786 drivers/media/platform/aspeed-video.c mds = aspeed_video_read(video, VE_MODE_DETECT_STATUS); mds 793 drivers/media/platform/aspeed-video.c det->vbackporch = ((mds & VE_MODE_DETECT_V_LINES) >> mds 804 drivers/media/platform/aspeed-video.c det->hbackporch = (mds & VE_MODE_DETECT_H_PIXELS) - mds 433 fs/ceph/caps.c static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) mds 440 fs/ceph/caps.c if (mds < cap->mds) mds 442 fs/ceph/caps.c else if (mds > cap->mds) mds 450 fs/ceph/caps.c struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) mds 455 fs/ceph/caps.c cap = __get_cap_for_mds(ci, mds); mds 473 fs/ceph/caps.c if (new->mds < cap->mds) mds 475 fs/ceph/caps.c else if (new->mds > cap->mds) mds 615 fs/ceph/caps.c int mds = session->s_mds; mds 635 fs/ceph/caps.c cap = __get_cap_for_mds(ci, mds); mds 642 fs/ceph/caps.c cap->mds = mds; mds 743 fs/ceph/caps.c ceph_cap_string(issued|cap->issued), seq, mds); mds 1554 fs/ceph/caps.c int mds; mds 1570 fs/ceph/caps.c mds = ci->i_auth_cap->session->s_mds; mds 1571 fs/ceph/caps.c if (session && session->s_mds != mds) { mds 1580 fs/ceph/caps.c session = __ceph_lookup_mds_session(mdsc, mds); mds 1828 fs/ceph/caps.c int mds = -1; /* keep track of how far we've gone through i_caps list mds 1927 fs/ceph/caps.c if (mds >= cap->mds || mds 1939 fs/ceph/caps.c cap->mds, cap, ceph_cap_string(cap_used), mds 2064 fs/ceph/caps.c mds = cap->mds; /* remember mds, so we don't repeat */ mds 2657 fs/ceph/caps.c inode, ceph_cap_string(need), ci->i_auth_cap->mds); mds 3549 fs/ceph/caps.c int mds = session->s_mds; mds 3562 fs/ceph/caps.c inode, mds, seq, truncate_size, truncate_seq); mds 3591 fs/ceph/caps.c int mds = session->s_mds; mds 3597 fs/ceph/caps.c target = le32_to_cpu(ph->mds); mds 3604 fs/ceph/caps.c inode, ci, mds, mseq, target); mds 3607 fs/ceph/caps.c cap = __get_cap_for_mds(ci, mds); mds 3628 fs/ceph/caps.c ceph_vinop(inode), mds, cap->seq, cap->mseq, mds 3682 fs/ceph/caps.c if (mds > target) { mds 3725 fs/ceph/caps.c int mds = session->s_mds; mds 3738 fs/ceph/caps.c peer = le32_to_cpu(ph->mds); mds 3745 fs/ceph/caps.c inode, ci, mds, mseq, peer); mds 3749 fs/ceph/caps.c cap = __get_cap_for_mds(ci, mds); mds 3782 fs/ceph/caps.c ocap->mseq, mds, le32_to_cpu(ph->seq), mds 4166 fs/ceph/caps.c int mds, int drop, int unless, int force) mds 4179 fs/ceph/caps.c inode, mds, ceph_cap_string(used|dirty), ceph_cap_string(drop), mds 4185 fs/ceph/caps.c cap = __get_cap_for_mds(ci, mds); mds 4242 fs/ceph/caps.c int mds, int drop, int unless) mds 4257 fs/ceph/caps.c if (di->lease_session && di->lease_session->s_mds == mds) mds 4265 fs/ceph/caps.c ret = ceph_encode_inode_release(p, dir, mds, drop, unless, force); mds 4269 fs/ceph/caps.c if (ret && di->lease_session && di->lease_session->s_mds == mds) { mds 4271 fs/ceph/caps.c dentry, mds, (int)di->lease_seq); mds 178 fs/ceph/debugfs.c int mds = -1; mds 189 fs/ceph/debugfs.c for (mds = 0; mds < mdsc->max_sessions; mds++) { mds 191 fs/ceph/debugfs.c __ceph_lookup_mds_session(mdsc, mds); mds 142 fs/ceph/inode.c frag->mds = -1; mds 242 fs/ceph/inode.c int mds = le32_to_cpu(dirinfo->auth); mds 250 fs/ceph/inode.c diri_auth = ci->i_auth_cap->mds; mds 253 fs/ceph/inode.c if (mds == -1) /* CDIR_AUTH_PARENT */ mds 254 fs/ceph/inode.c mds = diri_auth; mds 257 fs/ceph/inode.c if (ndist == 0 && mds == diri_auth) { mds 272 fs/ceph/inode.c frag->mds = -1; mds 290 fs/ceph/inode.c frag->mds = mds; mds 567 fs/ceph/mds_client.c int mds) mds 569 fs/ceph/mds_client.c if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) mds 571 fs/ceph/mds_client.c return get_session(mdsc->sessions[mds]); mds 574 fs/ceph/mds_client.c static bool __have_session(struct ceph_mds_client *mdsc, int mds) mds 576 fs/ceph/mds_client.c if (mds >= mdsc->max_sessions || !mdsc->sessions[mds]) mds 596 fs/ceph/mds_client.c int mds) mds 600 fs/ceph/mds_client.c if (mds >= mdsc->mdsmap->m_num_mds) mds 607 fs/ceph/mds_client.c if (mds >= mdsc->max_sessions) { mds 608 fs/ceph/mds_client.c int newmax = 1 << get_count_order(mds + 1); mds 624 fs/ceph/mds_client.c dout("%s: mds%d\n", __func__, mds); mds 626 fs/ceph/mds_client.c s->s_mds = mds; mds 654 fs/ceph/mds_client.c mdsc->sessions[mds] = s; mds 658 fs/ceph/mds_client.c ceph_con_open(&s->s_con, CEPH_ENTITY_TYPE_MDS, mds, mds 659 fs/ceph/mds_client.c ceph_mdsmap_get_addr(mdsc->mdsmap, mds)); mds 887 fs/ceph/mds_client.c int mds = -1; mds 970 fs/ceph/mds_client.c mds = frag.dist[r]; mds 974 fs/ceph/mds_client.c frag.frag, mds, mds 976 fs/ceph/mds_client.c if (ceph_mdsmap_get_state(mdsc->mdsmap, mds) >= mds 985 fs/ceph/mds_client.c if (frag.mds >= 0) { mds 987 fs/ceph/mds_client.c mds = frag.mds; mds 990 fs/ceph/mds_client.c inode, ceph_vinop(inode), frag.frag, mds); mds 991 fs/ceph/mds_client.c if (ceph_mdsmap_get_state(mdsc->mdsmap, mds) >= mds 1009 fs/ceph/mds_client.c mds = cap->session->s_mds; mds 1011 fs/ceph/mds_client.c inode, ceph_vinop(inode), mds, mds 1018 fs/ceph/mds_client.c return mds; mds 1021 fs/ceph/mds_client.c mds = ceph_mdsmap_get_random_mds(mdsc->mdsmap); mds 1022 fs/ceph/mds_client.c dout("choose_mds chose random mds%d\n", mds); mds 1023 fs/ceph/mds_client.c return mds; mds 1161 fs/ceph/mds_client.c int mds = session->s_mds; mds 1164 fs/ceph/mds_client.c mstate = ceph_mdsmap_get_state(mdsc->mdsmap, mds); mds 1165 fs/ceph/mds_client.c dout("open_session to mds%d (%s)\n", mds, mds 1220 fs/ceph/mds_client.c int i, mds = session->s_mds; mds 1222 fs/ceph/mds_client.c if (mds >= mdsc->mdsmap->m_num_mds) mds 1225 fs/ceph/mds_client.c mi = &mdsc->mdsmap->m_info[mds]; mds 2286 fs/ceph/mds_client.c int mds, bool drop_cap_releases) mds 2363 fs/ceph/mds_client.c mds, req->r_inode_drop, req->r_inode_unless, 0); mds 2366 fs/ceph/mds_client.c req->r_parent, mds, req->r_dentry_drop, mds 2370 fs/ceph/mds_client.c req->r_old_dentry_dir, mds, mds 2376 fs/ceph/mds_client.c mds, req->r_old_inode_drop, req->r_old_inode_unless, 0); mds 2433 fs/ceph/mds_client.c int mds, bool drop_cap_releases) mds 2442 fs/ceph/mds_client.c ceph_get_cap_for_mds(ceph_inode(req->r_inode), mds); mds 2492 fs/ceph/mds_client.c msg = create_request_message(mdsc, req, mds, drop_cap_releases); mds 2521 fs/ceph/mds_client.c int mds = -1; mds 2562 fs/ceph/mds_client.c mds = __choose_mds(mdsc, req); mds 2563 fs/ceph/mds_client.c if (mds < 0 || mds 2564 fs/ceph/mds_client.c ceph_mdsmap_get_state(mdsc->mdsmap, mds) < CEPH_MDS_STATE_ACTIVE) { mds 2571 fs/ceph/mds_client.c session = __ceph_lookup_mds_session(mdsc, mds); mds 2573 fs/ceph/mds_client.c session = register_session(mdsc, mds); mds 2581 fs/ceph/mds_client.c dout("do_request mds%d session %p state %s\n", mds, session, mds 2602 fs/ceph/mds_client.c err = __prepare_send_request(mdsc, req, mds, false); mds 2644 fs/ceph/mds_client.c static void kick_requests(struct ceph_mds_client *mdsc, int mds) mds 2649 fs/ceph/mds_client.c dout("kick_requests mds%d\n", mds); mds 2658 fs/ceph/mds_client.c req->r_session->s_mds == mds) { mds 2797 fs/ceph/mds_client.c int mds = session->s_mds; mds 2829 fs/ceph/mds_client.c head->safe ? "safe" : "unsafe", tid, mds); mds 2835 fs/ceph/mds_client.c tid, mds); mds 2859 fs/ceph/mds_client.c int mds = __choose_mds(mdsc, req); mds 2860 fs/ceph/mds_client.c if (mds >= 0 && mds != req->r_session->s_mds) { mds 2883 fs/ceph/mds_client.c dout("got safe reply %llu, mds%d\n", tid, mds); mds 2914 fs/ceph/mds_client.c pr_err("mdsc_handle_reply got corrupt reply mds%d(tid:%lld)\n", mds, tid); mds 3069 fs/ceph/mds_client.c int mds = session->s_mds; mds 3110 fs/ceph/mds_client.c mds, ceph_session_op_name(op), session, mds 3182 fs/ceph/mds_client.c pr_err("mdsc_handle_session bad op %d mds%d\n", op, mds); mds 3191 fs/ceph/mds_client.c kick_requests(mdsc, mds); mds 3199 fs/ceph/mds_client.c pr_err("mdsc_handle_session corrupt message mds%d len %d\n", mds, mds 3578 fs/ceph/mds_client.c int mds = session->s_mds; mds 3585 fs/ceph/mds_client.c pr_info("mds%d reconnect start\n", mds); mds 3626 fs/ceph/mds_client.c CEPH_ENTITY_TYPE_MDS, mds, mds 3627 fs/ceph/mds_client.c ceph_mdsmap_get_addr(mdsc->mdsmap, mds)); mds 3736 fs/ceph/mds_client.c pr_err("error %d preparing reconnect for mds%d\n", err, mds); mds 3870 fs/ceph/mds_client.c int mds = session->s_mds; mds 3877 fs/ceph/mds_client.c dout("handle_lease from mds%d\n", mds); mds 4399 fs/ceph/mds_client.c int mds; mds 4404 fs/ceph/mds_client.c for (mds = 0; mds < mdsc->max_sessions; mds++) { mds 4405 fs/ceph/mds_client.c session = __ceph_lookup_mds_session(mdsc, mds); mds 4424 fs/ceph/mds_client.c kick_requests(mdsc, mds); mds 443 fs/ceph/mds_client.h __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); mds 457 fs/ceph/mds_client.h struct ceph_msg *msg, int mds); mds 149 fs/ceph/mdsmap.c s32 mds, inc, state; mds 182 fs/ceph/mdsmap.c mds = ceph_decode_32(p); mds 208 fs/ceph/mdsmap.c i+1, n, global_id, mds, inc, mds 212 fs/ceph/mdsmap.c if (mds < 0 || state <= 0) mds 215 fs/ceph/mdsmap.c if (mds >= m->m_num_mds) { mds 216 fs/ceph/mdsmap.c int new_num = max(mds + 1, m->m_num_mds * 2); mds 226 fs/ceph/mdsmap.c info = &m->m_info[mds]; mds 293 fs/ceph/mdsmap.c s32 mds = ceph_decode_32(p); mds 294 fs/ceph/mdsmap.c if (mds >= 0 && mds < m->m_num_mds) { mds 295 fs/ceph/mdsmap.c if (m->m_info[mds].laggy) mds 847 fs/ceph/snap.c int mds = session->s_mds; mds 872 fs/ceph/snap.c dout("handle_snap from mds%d op %s split %llx tracelen %d\n", mds, mds 1002 fs/ceph/snap.c pr_err("corrupt snap message from mds%d\n", mds); mds 158 fs/ceph/super.h int mds, mds_wanted; mds 245 fs/ceph/super.h int mds; /* -1 if same authority as parent */ mds 1057 fs/ceph/super.h int mds); mds 1071 fs/ceph/super.h int mds, int drop, int unless, int force); mds 1074 fs/ceph/super.h int mds, int drop, int unless); mds 290 fs/nfs/direct.c cinfo->mds = &dreq->mds_cinfo; mds 618 fs/nfs/direct.c nfs_scan_commit_list(&cinfo->mds->list, list, cinfo, 0); mds 699 fs/nfs/direct.c if (atomic_dec_and_test(&cinfo.mds->rpcs_out)) mds 245 fs/nfs/pnfs_nfs.c if (atomic_dec_and_test(&cinfo->mds->rpcs_out)) mds 246 fs/nfs/pnfs_nfs.c wake_up_var(&cinfo->mds->rpcs_out); mds 281 fs/nfs/pnfs_nfs.c atomic_add(nreq, &cinfo->mds->rpcs_out); mds 847 fs/nfs/write.c list_for_each_entry_safe(freq, t, &cinfo.mds->list, wb_list) { mds 874 fs/nfs/write.c atomic_long_inc(&cinfo->mds->ncommit); mds 894 fs/nfs/write.c nfs_request_add_commit_list_locked(req, &cinfo->mds->list, cinfo); mds 919 fs/nfs/write.c atomic_long_dec(&cinfo->mds->ncommit); mds 927 fs/nfs/write.c cinfo->mds = &NFS_I(inode)->commit_info; mds 1036 fs/nfs/write.c return atomic_long_read(&cinfo->mds->ncommit); mds 1094 fs/nfs/write.c if (!atomic_long_read(&cinfo->mds->ncommit)) mds 1097 fs/nfs/write.c if (atomic_long_read(&cinfo->mds->ncommit) > 0) { mds 1100 fs/nfs/write.c ret = nfs_scan_commit_list(&cinfo->mds->list, dst, mds 1819 fs/nfs/write.c atomic_inc(&cinfo->mds->rpcs_out); mds 1891 fs/nfs/write.c nfs_commit_end(cinfo.mds); mds 1933 fs/nfs/write.c nfs_commit_begin(cinfo.mds); mds 1952 fs/nfs/write.c nfs_commit_end(cinfo.mds); mds 1955 fs/nfs/write.c return wait_on_commit(cinfo.mds); mds 722 include/linux/ceph/ceph_fs.h __le32 mds; mds 1560 include/linux/nfs_xdr.h struct nfs_mds_commit_info *mds; mds 763 samples/vfio-mdev/mtty.c struct mdev_state *mds, *tmp_mds; mds 768 samples/vfio-mdev/mtty.c list_for_each_entry_safe(mds, tmp_mds, &mdev_devices_list, next) { mds 769 samples/vfio-mdev/mtty.c if (mdev_state == mds) { mds 1335 samples/vfio-mdev/mtty.c struct mdev_state *mds; mds 1350 samples/vfio-mdev/mtty.c list_for_each_entry(mds, &mdev_devices_list, next) mds 1351 samples/vfio-mdev/mtty.c used += mds->nr_ports;