/Linux-v4.19/fs/ceph/ |
D | debugfs.c | 25 struct ceph_fs_client *fsc = s->private; in mdsmap_show() local 28 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show() 30 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show() 51 struct ceph_fs_client *fsc = s->private; in mdsc_show() local 52 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show() 129 struct ceph_fs_client *fsc = s->private; in caps_show() local 132 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show() 144 struct ceph_fs_client *fsc = s->private; in dentry_lru_show() local 145 struct ceph_mds_client *mdsc = fsc->mdsc; in dentry_lru_show() 161 struct ceph_fs_client *fsc = s->private; in mds_sessions_show() local [all …]
|
D | super.c | 39 struct ceph_fs_client *fsc = ceph_sb_to_client(s); in ceph_put_super() local 42 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super() 47 struct ceph_fs_client *fsc = ceph_inode_to_client(d_inode(dentry)); in ceph_statfs() local 48 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() 54 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs() 55 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs() 85 if (ceph_test_mount_opt(fsc, NOQUOTADF) || in ceph_statfs() 86 !ceph_quota_update_statfs(fsc, buf)) { in ceph_statfs() 111 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_sync_fs() local 115 ceph_flush_dirty_caps(fsc->mdsc); in ceph_sync_fs() [all …]
|
D | cache.c | 65 int ceph_fscache_register_fs(struct ceph_fs_client* fsc) in ceph_fscache_register_fs() argument 67 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() 68 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs() 100 fsc->fscache = fscache_acquire_cookie(ceph_cache_netfs.primary_index, in ceph_fscache_register_fs() 104 fsc, 0, true); in ceph_fscache_register_fs() 106 if (fsc->fscache) { in ceph_fscache_register_fs() 107 ent->fscache = fsc->fscache; in ceph_fscache_register_fs() 153 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fscache_register_inode_cookie() local 157 if (!fsc->fscache) in ceph_fscache_register_inode_cookie() 170 ci->fscache = fscache_acquire_cookie(fsc->fscache, in ceph_fscache_register_inode_cookie() [all …]
|
D | addr.c | 441 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readpages() local 457 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages() 579 struct ceph_fs_client *fsc; in writepage_nounlock() local 589 fsc = ceph_inode_to_client(inode); in writepage_nounlock() 622 if (atomic_long_inc_return(&fsc->writeback_count) > in writepage_nounlock() 623 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 627 err = ceph_osdc_writepages(&fsc->client->osdc, ceph_vino(inode), in writepage_nounlock() 658 if (atomic_long_dec_return(&fsc->writeback_count) < in writepage_nounlock() 659 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 716 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in writepages_finish() local [all …]
|
D | cache.h | 34 int ceph_fscache_register_fs(struct ceph_fs_client* fsc); 35 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); 106 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc) in ceph_fscache_register_fs() argument 111 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
|
D | file.c | 180 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in prepare_open_request() local 181 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request() 340 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local 341 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() 434 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local 435 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() 571 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in striped_read() local 585 ret = ceph_osdc_readpages(&fsc->client->osdc, ceph_vino(inode), in striped_read() 917 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local 959 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write() [all …]
|
D | dir.c | 304 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readdir() local 305 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() 336 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir() 337 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir() 664 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local 671 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 732 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local 733 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup() 753 fsc->mount_options->snapdir_name, in ceph_lookup() 756 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup() [all …]
|
D | mds_client.c | 498 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session() 786 if (!dir || dir->i_sb != mdsc->fsc->sb) { in __choose_mds() 937 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg() 938 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 1230 struct ceph_fs_client *fsc = (struct ceph_fs_client *)arg; in remove_session_caps_cb() local 1242 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb() 1247 READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) in remove_session_caps_cb() 1316 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local 1317 struct super_block *sb = fsc->sb; in remove_session_caps() 1321 iterate_session_caps(session, remove_session_caps_cb, fsc); in remove_session_caps() [all …]
|
D | quota.c | 45 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota() 319 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument 321 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs() 329 realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root)); in ceph_quota_update_statfs()
|
D | mds_client.h | 315 struct ceph_fs_client *fsc; member 412 extern int ceph_mdsc_init(struct ceph_fs_client *fsc); 415 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
|
D | super.h | 46 #define ceph_set_mount_opt(fsc, opt) \ argument 47 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; 48 #define ceph_test_mount_opt(fsc, opt) \ argument 49 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 1109 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
|
D | xattr.c | 74 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout() local 75 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout() 153 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout_pool() local 154 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout_pool() 944 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_sync_setxattr() local 947 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
|
D | inode.c | 1172 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local 1276 fsc->mount_options->snapdir_name, in ceph_fill_trace() 1779 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_invalidate_work() local 1785 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in ceph_invalidate_work() 2160 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_setattr() local 2171 attr->ia_size > max(inode->i_size, fsc->max_file_size)) in ceph_setattr() 2193 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local 2194 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
|
D | caps.c | 386 void ceph_reservation_status(struct ceph_fs_client *fsc, in ceph_reservation_status() argument 390 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status() 503 struct ceph_mount_options *ma = mdsc->fsc->mount_options; in __cap_set_timeouts() 1136 struct ceph_osd_client *osdc = &arg->session->s_mdsc->fsc->client->osdc; in send_cap_msg() 1811 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); in ceph_check_caps() local 1812 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_check_caps() 2614 if (READ_ONCE(mdsc->fsc->mount_state) == in try_get_cap_refs() 3794 struct ceph_osd_client *osdc = &mdsc->fsc->client->osdc; in ceph_handle_caps() 3841 inode = ceph_find_inode(mdsc->fsc->sb, vino); in ceph_handle_caps()
|
D | snap.c | 827 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_snap()
|
/Linux-v4.19/drivers/dma/ |
D | fsl-edma.c | 159 struct fsl_edma_slave_config fsc; member 350 fsl_chan->fsc.dir = cfg->direction; in fsl_edma_slave_config() 352 fsl_chan->fsc.dev_addr = cfg->src_addr; in fsl_edma_slave_config() 353 fsl_chan->fsc.addr_width = cfg->src_addr_width; in fsl_edma_slave_config() 354 fsl_chan->fsc.burst = cfg->src_maxburst; in fsl_edma_slave_config() 355 fsl_chan->fsc.attr = fsl_edma_get_tcd_attr(cfg->src_addr_width); in fsl_edma_slave_config() 357 fsl_chan->fsc.dev_addr = cfg->dst_addr; in fsl_edma_slave_config() 358 fsl_chan->fsc.addr_width = cfg->dst_addr_width; in fsl_edma_slave_config() 359 fsl_chan->fsc.burst = cfg->dst_maxburst; in fsl_edma_slave_config() 360 fsl_chan->fsc.attr = fsl_edma_get_tcd_attr(cfg->dst_addr_width); in fsl_edma_slave_config() [all …]
|
/Linux-v4.19/net/sched/ |
D | sch_hfsc.c | 900 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc() argument 902 sc2isc(fsc, &cl->cl_fsc); in hfsc_change_fsc() 932 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local 950 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class() 951 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class() 952 fsc = NULL; in hfsc_change_class() 988 if (fsc != NULL) in hfsc_change_class() 989 hfsc_change_fsc(cl, fsc); in hfsc_change_class() 1030 if (rsc == NULL && fsc == NULL) in hfsc_change_class() 1057 if (fsc != NULL) in hfsc_change_class() [all …]
|
/Linux-v4.19/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 851 struct esas2r_ioctlfs_command *fsc = &fs->command; in esas2r_process_fs_ioctl() local 863 if (fsc->command >= cmdcnt) { in esas2r_process_fs_ioctl() 868 func = cmd_to_fls_func[fsc->command]; in esas2r_process_fs_ioctl() 874 if (fsc->command != ESAS2R_FS_CMD_CANCEL) { in esas2r_process_fs_ioctl() 900 datalen = le32_to_cpu(fsc->length); in esas2r_process_fs_ioctl() 904 fsc->checksum, in esas2r_process_fs_ioctl() 905 le32_to_cpu(fsc->flash_addr), in esas2r_process_fs_ioctl()
|
/Linux-v4.19/drivers/net/fddi/skfp/ |
D | smt.c | 92 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc); 949 smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ in smt_send_nif() 1451 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) in smt_fill_fsc() argument 1454 SMTSETPARA(fsc,SMT_P_FSC) ; in smt_fill_fsc() 1455 fsc->fsc_pad0 = 0 ; in smt_fill_fsc() 1456 fsc->fsc_mac_index = INDEX_MAC ; /* this is MIB ; MIB is NOT in smt_fill_fsc() 1459 fsc->fsc_pad1 = 0 ; in smt_fill_fsc() 1460 fsc->fsc_value = FSC_TYPE0 ; /* "normal" node */ in smt_fill_fsc() 1462 fsc->fsc_mac_index = smt_swap_short(INDEX_MAC) ; in smt_fill_fsc() 1463 fsc->fsc_value = smt_swap_short(FSC_TYPE0) ; in smt_fill_fsc()
|
/Linux-v4.19/drivers/media/pci/cx18/ |
D | cx18-av-core.c | 456 int fsc, pll; in cx18_av_std_setup() local 472 fsc = tmp >> 13; in cx18_av_std_setup() 475 fsc / 1000000, fsc % 1000000); in cx18_av_std_setup()
|
/Linux-v4.19/drivers/net/fddi/skfp/h/ |
D | smt.h | 734 struct smt_p_fsc fsc ; /* frame status cap. */ member
|
/Linux-v4.19/Documentation/sound/hd-audio/ |
D | models.rst | 37 fsc-h270 39 fsc-s7110
|
/Linux-v4.19/fs/cifs/ |
D | cifsglob.h | 544 bool fsc:1; /* enable fscache */ member
|
/Linux-v4.19/drivers/media/pci/ttpci/ |
D | av7110.c | 2872 MAKE_AV7110_INFO(fsc, "Fujitsu Siemens DVB-C"); 2877 MAKE_EXTENSION_PCI(fsc, 0x110a, 0x0000),
|
/Linux-v4.19/drivers/media/i2c/cx25840/ |
D | cx25840-core.c | 875 int fin, fsc; in cx25840_std_setup() local 889 fsc = (((u64)sc) * pll) >> 24L; in cx25840_std_setup() 892 fsc / 1000000, fsc % 1000000); in cx25840_std_setup()
|