Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 7 of 7) sorted by relevance

/fs/nilfs2/
Dmdt.c455 struct nilfs_mdt_info *mi; in nilfs_mdt_init() local
457 mi = kzalloc(max(sizeof(*mi), objsz), GFP_NOFS); in nilfs_mdt_init()
458 if (!mi) in nilfs_mdt_init()
461 init_rwsem(&mi->mi_sem); in nilfs_mdt_init()
462 inode->i_private = mi; in nilfs_mdt_init()
501 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_set_entry_size() local
503 mi->mi_entry_size = entry_size; in nilfs_mdt_set_entry_size()
504 mi->mi_entries_per_block = i_blocksize(inode) / entry_size; in nilfs_mdt_set_entry_size()
505 mi->mi_first_entry_offset = DIV_ROUND_UP(header_size, entry_size); in nilfs_mdt_set_entry_size()
516 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_setup_shadow_map() local
[all …]
Dalloc.c58 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_palloc_init_blockgroup() local
60 mi->mi_bgl = kmalloc(sizeof(*mi->mi_bgl), GFP_NOFS); in nilfs_palloc_init_blockgroup()
61 if (!mi->mi_bgl) in nilfs_palloc_init_blockgroup()
64 bgl_lock_init(mi->mi_bgl); in nilfs_palloc_init_blockgroup()
68 mi->mi_blocks_per_group = in nilfs_palloc_init_blockgroup()
70 mi->mi_entries_per_block) + 1; in nilfs_palloc_init_blockgroup()
75 mi->mi_blocks_per_desc_block = in nilfs_palloc_init_blockgroup()
77 mi->mi_blocks_per_group + 1; in nilfs_palloc_init_blockgroup()
Ddat.c39 struct nilfs_mdt_info mi; member
507 lockdep_set_class(&di->mi.mi_sem, &dat_lock_key); in nilfs_dat_read()
Difile.c34 struct nilfs_mdt_info mi; member
Dsufile.c38 struct nilfs_mdt_info mi; member
/fs/quota/
Ddquot.c2749 struct mem_dqinfo *mi; in dquot_get_state() local
2760 mi = sb_dqopt(sb)->info + type; in dquot_get_state()
2763 if (mi->dqi_flags & DQF_SYS_FILE) in dquot_get_state()
2765 if (mi->dqi_flags & DQF_ROOT_SQUASH) in dquot_get_state()
2769 tstate->spc_timelimit = mi->dqi_bgrace; in dquot_get_state()
2770 tstate->ino_timelimit = mi->dqi_igrace; in dquot_get_state()
2784 struct mem_dqinfo *mi; in dquot_set_dqinfo() local
2795 mi = sb_dqopt(sb)->info + type; in dquot_set_dqinfo()
2798 mi->dqi_format->qf_fmt_id != QFMT_VFS_OLD)) { in dquot_set_dqinfo()
2805 mi->dqi_bgrace = ii->i_spc_timelimit; in dquot_set_dqinfo()
[all …]
/fs/ceph/
Dmds_client.c980 struct ceph_mds_info *mi; in __open_export_target_sessions() local
987 mi = &mdsc->mdsmap->m_info[mds]; in __open_export_target_sessions()
989 session->s_mds, mi->num_export_targets); in __open_export_target_sessions()
991 for (i = 0; i < mi->num_export_targets; i++) { in __open_export_target_sessions()
992 ts = __open_export_target_session(mdsc, mi->export_targets[i]); in __open_export_target_sessions()