| /linux-4.4.14/fs/ceph/ |
| D | debugfs.c | 24 struct ceph_fs_client *fsc = s->private; in mdsmap_show() local 26 if (fsc->mdsc == NULL || fsc->mdsc->mdsmap == NULL) in mdsmap_show() 28 seq_printf(s, "epoch %d\n", fsc->mdsc->mdsmap->m_epoch); in mdsmap_show() 29 seq_printf(s, "root %d\n", fsc->mdsc->mdsmap->m_root); in mdsmap_show() 31 fsc->mdsc->mdsmap->m_session_timeout); in mdsmap_show() 33 fsc->mdsc->mdsmap->m_session_autoclose); in mdsmap_show() 34 for (i = 0; i < fsc->mdsc->mdsmap->m_max_mds; i++) { in mdsmap_show() 36 &fsc->mdsc->mdsmap->m_info[i].addr; in mdsmap_show() 37 int state = fsc->mdsc->mdsmap->m_info[i].state; in mdsmap_show() 51 struct ceph_fs_client *fsc = s->private; in mdsc_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_monmap *monmap = fsc->client->monc.monmap; in ceph_statfs() 54 err = ceph_monc_do_statfs(&fsc->client->monc, &st); in ceph_statfs() 91 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_sync_fs() local 95 ceph_flush_dirty_caps(fsc->mdsc); in ceph_sync_fs() 101 ceph_osdc_sync(&fsc->client->osdc); in ceph_sync_fs() 102 ceph_mdsc_sync(fsc->mdsc); in ceph_sync_fs() 316 struct ceph_fs_client *fsc) in compare_mount_options() argument [all …]
|
| D | cache.c | 40 const struct ceph_fs_client* fsc = cookie_netfs_data; in ceph_fscache_session_get_key() local 43 klen = sizeof(fsc->client->fsid); in ceph_fscache_session_get_key() 47 memcpy(buffer, &fsc->client->fsid, klen); in ceph_fscache_session_get_key() 67 int ceph_fscache_register_fs(struct ceph_fs_client* fsc) in ceph_fscache_register_fs() argument 69 fsc->fscache = fscache_acquire_cookie(ceph_cache_netfs.primary_index, in ceph_fscache_register_fs() 71 fsc, true); in ceph_fscache_register_fs() 73 if (fsc->fscache == NULL) { in ceph_fscache_register_fs() 74 pr_err("Unable to resgister fsid: %p fscache cookie", fsc); in ceph_fscache_register_fs() 78 fsc->revalidate_wq = alloc_workqueue("ceph-revalidate", 0, 1); in ceph_fscache_register_fs() 79 if (fsc->revalidate_wq == NULL) in ceph_fscache_register_fs() [all …]
|
| D | addr.c | 405 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readpages() local 418 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages() 419 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages() 479 struct ceph_fs_client *fsc; in writepage_nounlock() local 497 fsc = ceph_inode_to_client(inode); in writepage_nounlock() 498 osdc = &fsc->client->osdc; in writepage_nounlock() 535 writeback_stat = atomic_long_inc_return(&fsc->writeback_count); in writepage_nounlock() 537 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock() 538 set_bdi_congested(&fsc->backing_dev_info, BLK_RW_ASYNC); in writepage_nounlock() 617 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); 38 void ceph_fscache_register_inode_cookie(struct ceph_fs_client* fsc, 102 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc) in ceph_fscache_register_fs() argument 107 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
|
| D | file.c | 113 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in prepare_open_request() local 114 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request() 141 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_init_file() local 142 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_init_file() 154 ceph_fscache_register_inode_cookie(mdsc->fsc, ci); in ceph_init_file() 203 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local 204 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() 298 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local 299 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() 417 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in striped_read() local [all …]
|
| D | dir.c | 259 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readdir() local 260 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() 294 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir() 295 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir() 555 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local 562 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 623 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local 624 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup() 647 fsc->mount_options->snapdir_name, in ceph_lookup() 650 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup() [all …]
|
| D | mds_client.h | 278 struct ceph_fs_client *fsc; member 370 extern int ceph_mdsc_init(struct ceph_fs_client *fsc); 373 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
|
| D | mds_client.c | 382 s->s_mdsc->fsc->client->monc.auth, in ceph_put_mds_session() 443 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session() 741 if (dir->i_sb != mdsc->fsc->sb) { in __choose_mds() 864 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg() 1222 struct super_block *sb = session->s_mdsc->fsc->sb; in remove_session_caps() 1667 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer() 2161 if (ACCESS_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in __do_request() 2527 err = ceph_fill_trace(mdsc->fsc->sb, req, req->r_session); in handle_reply() 2954 if (mdsc->fsc->sb->s_root) in send_mds_reconnect() 2955 shrink_dcache_parent(mdsc->fsc->sb->s_root); in send_mds_reconnect() [all …]
|
| D | xattr.c | 71 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout() local 72 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout() 139 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout_pool() local 140 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout_pool() 849 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_sync_setxattr() local 853 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr() 1044 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_send_removexattr() local 1045 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_send_removexattr()
|
| D | super.h | 43 #define ceph_set_mount_opt(fsc, opt) \ argument 44 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; 45 #define ceph_test_mount_opt(fsc, opt) \ argument 46 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
|
| D | caps.c | 287 void ceph_reservation_status(struct ceph_fs_client *fsc, in ceph_reservation_status() argument 291 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status() 400 struct ceph_mount_options *ma = mdsc->fsc->mount_options; in __cap_set_timeouts() 1572 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); in ceph_check_caps() local 1573 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_check_caps() 2413 ACCESS_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in try_get_cap_refs() 3395 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_caps()
|
| D | inode.c | 1037 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local 1178 fsc->mount_options->snapdir_name, in ceph_fill_trace() 2008 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local 2009 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
|
| D | snap.c | 835 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_snap()
|
| /linux-4.4.14/drivers/dma/ |
| D | fsl-edma.c | 152 struct fsl_edma_slave_config fsc; member 340 fsl_chan->fsc.dir = cfg->direction; in fsl_edma_slave_config() 342 fsl_chan->fsc.dev_addr = cfg->src_addr; in fsl_edma_slave_config() 343 fsl_chan->fsc.addr_width = cfg->src_addr_width; in fsl_edma_slave_config() 344 fsl_chan->fsc.burst = cfg->src_maxburst; in fsl_edma_slave_config() 345 fsl_chan->fsc.attr = fsl_edma_get_tcd_attr(cfg->src_addr_width); in fsl_edma_slave_config() 347 fsl_chan->fsc.dev_addr = cfg->dst_addr; in fsl_edma_slave_config() 348 fsl_chan->fsc.addr_width = cfg->dst_addr_width; in fsl_edma_slave_config() 349 fsl_chan->fsc.burst = cfg->dst_maxburst; in fsl_edma_slave_config() 350 fsl_chan->fsc.attr = fsl_edma_get_tcd_attr(cfg->dst_addr_width); in fsl_edma_slave_config() [all …]
|
| /linux-4.4.14/net/sched/ |
| D | sch_hfsc.c | 947 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc() argument 949 sc2isc(fsc, &cl->cl_fsc); in hfsc_change_fsc() 978 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local 996 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class() 997 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class() 998 fsc = NULL; in hfsc_change_class() 1031 if (fsc != NULL) in hfsc_change_class() 1032 hfsc_change_fsc(cl, fsc); in hfsc_change_class() 1062 if (rsc == NULL && fsc == NULL) in hfsc_change_class() 1081 if (fsc != NULL) in hfsc_change_class() [all …]
|
| /linux-4.4.14/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-4.4.14/drivers/net/fddi/skfp/ |
| D | smt.c | 93 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc); 950 smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ in smt_send_nif() 1452 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) in smt_fill_fsc() argument 1455 SMTSETPARA(fsc,SMT_P_FSC) ; in smt_fill_fsc() 1456 fsc->fsc_pad0 = 0 ; in smt_fill_fsc() 1457 fsc->fsc_mac_index = INDEX_MAC ; /* this is MIB ; MIB is NOT in smt_fill_fsc() 1460 fsc->fsc_pad1 = 0 ; in smt_fill_fsc() 1461 fsc->fsc_value = FSC_TYPE0 ; /* "normal" node */ in smt_fill_fsc() 1463 fsc->fsc_mac_index = smt_swap_short(INDEX_MAC) ; in smt_fill_fsc() 1464 fsc->fsc_value = smt_swap_short(FSC_TYPE0) ; in smt_fill_fsc()
|
| /linux-4.4.14/drivers/media/pci/cx18/ |
| D | cx18-av-core.c | 461 int fsc, pll; in cx18_av_std_setup() local 477 fsc = tmp >> 13; in cx18_av_std_setup() 480 "MHz\n", fsc / 1000000, fsc % 1000000); in cx18_av_std_setup()
|
| /linux-4.4.14/drivers/net/fddi/skfp/h/ |
| D | smt.h | 734 struct smt_p_fsc fsc ; /* frame status cap. */ member
|
| /linux-4.4.14/fs/cifs/ |
| D | cifsglob.h | 492 bool fsc:1; /* enable fscache */ member
|
| D | connect.c | 1492 vol->fsc = true; in cifs_parse_mount_options() 3318 if (pvolume_info->fsc) in cifs_setup_cifs_sb()
|
| /linux-4.4.14/drivers/media/pci/ttpci/ |
| D | av7110.c | 2884 MAKE_AV7110_INFO(fsc, "Fujitsu Siemens DVB-C"); 2889 MAKE_EXTENSION_PCI(fsc, 0x110a, 0x0000),
|
| /linux-4.4.14/drivers/media/i2c/cx25840/ |
| D | cx25840-core.c | 851 int fin, fsc; in cx25840_std_setup() local 865 fsc = (((u64)sc) * pll) >> 24L; in cx25840_std_setup() 868 fsc / 1000000, fsc % 1000000); in cx25840_std_setup()
|
| /linux-4.4.14/drivers/media/pci/bt8xx/ |
| D | bttv-driver.c | 882 int fsc = bttv_tvnorms[btv->tvnorm].Fsc; in bt848A_set_timing() local 902 btv->pll.pll_ofreq = fsc; in bt848A_set_timing()
|
| /linux-4.4.14/Documentation/filesystems/cifs/ |
| D | README | 304 fsc Enable local disk caching using FS-Cache (off by default). This
|