Home
last modified time | relevance | path

Searched refs:fsc (Results 1 – 26 of 26) sorted by relevance

/linux-4.1.27/fs/ceph/
Ddebugfs.c24 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 …]
Dsuper.c39 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()
305 struct ceph_fs_client *fsc) in compare_mount_options() argument
[all …]
Dcache.c40 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 …]
Dcache.h34 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
Daddr.c401 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readpages() local
414 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages()
415 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages()
475 struct ceph_fs_client *fsc; in writepage_nounlock() local
492 fsc = ceph_inode_to_client(inode); in writepage_nounlock()
493 osdc = &fsc->client->osdc; in writepage_nounlock()
530 writeback_stat = atomic_long_inc_return(&fsc->writeback_count); in writepage_nounlock()
532 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
533 set_bdi_congested(&fsc->backing_dev_info, BLK_RW_ASYNC); in writepage_nounlock()
612 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in writepages_finish() local
[all …]
Dfile.c45 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in prepare_open_request() local
46 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request()
73 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_init_file() local
74 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_init_file()
86 ceph_fscache_register_inode_cookie(mdsc->fsc, ci); in ceph_init_file()
134 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local
135 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
233 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local
234 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
353 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in striped_read() local
[all …]
Ddir.c248 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readdir() local
249 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
284 ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir()
285 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir()
545 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local
552 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
613 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local
614 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup()
637 fsc->mount_options->snapdir_name, in ceph_lookup()
640 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup()
[all …]
Dmds_client.h267 struct ceph_fs_client *fsc; member
352 extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
354 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
Dmds_client.c381 s->s_mdsc->fsc->client->monc.auth, in ceph_put_mds_session()
442 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
721 if (dir->i_sb != mdsc->fsc->sb) { in __choose_mds()
844 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg()
1168 struct super_block *sb = session->s_mdsc->fsc->sb; in remove_session_caps()
1438 int extra = mdsc->fsc->mount_options->cap_release_safety; in ceph_add_cap_releases()
1625 struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; in ceph_alloc_readdir_reply_buffer()
2472 err = ceph_fill_trace(mdsc->fsc->sb, req, req->r_session); in handle_reply()
2895 if (mdsc->fsc->sb->s_root) in send_mds_reconnect()
2896 shrink_dcache_parent(mdsc->fsc->sb->s_root); in send_mds_reconnect()
[all …]
Dxattr.c71 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()
1019 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_send_removexattr() local
1020 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_send_removexattr()
Dsuper.h42 #define ceph_set_mount_opt(fsc, opt) \ argument
43 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
44 #define ceph_test_mount_opt(fsc, opt) \ argument
45 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
Dinode.c1032 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local
1173 fsc->mount_options->snapdir_name, in ceph_fill_trace()
1927 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local
1928 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
Dcaps.c287 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()
1523 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); in ceph_check_caps() local
1524 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_check_caps()
3088 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_caps()
Dsnap.c809 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_snap()
/linux-4.1.27/drivers/dma/
Dfsl-edma.c152 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.1.27/net/sched/
Dsch_hfsc.c946 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc() argument
948 sc2isc(fsc, &cl->cl_fsc); in hfsc_change_fsc()
977 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local
995 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class()
996 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class()
997 fsc = NULL; in hfsc_change_class()
1030 if (fsc != NULL) in hfsc_change_class()
1031 hfsc_change_fsc(cl, fsc); in hfsc_change_class()
1061 if (rsc == NULL && fsc == NULL) in hfsc_change_class()
1080 if (fsc != NULL) in hfsc_change_class()
[all …]
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_flash.c851 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.1.27/drivers/net/fddi/skfp/
Dsmt.c93 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.1.27/drivers/media/pci/cx18/
Dcx18-av-core.c461 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.1.27/drivers/net/fddi/skfp/h/
Dsmt.h734 struct smt_p_fsc fsc ; /* frame status cap. */ member
/linux-4.1.27/fs/cifs/
Dcifsglob.h483 bool fsc:1; /* enable fscache */ member
Dconnect.c1475 vol->fsc = true; in cifs_parse_mount_options()
3237 if (pvolume_info->fsc) in cifs_setup_cifs_sb()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110.c2883 MAKE_AV7110_INFO(fsc, "Fujitsu Siemens DVB-C");
2888 MAKE_EXTENSION_PCI(fsc, 0x110a, 0x0000),
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-core.c851 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.1.27/drivers/media/pci/bt8xx/
Dbttv-driver.c882 int fsc = bttv_tvnorms[btv->tvnorm].Fsc; in bt848A_set_timing() local
902 btv->pll.pll_ofreq = fsc; in bt848A_set_timing()
/linux-4.1.27/Documentation/filesystems/cifs/
DREADME304 fsc Enable local disk caching using FS-Cache (off by default). This