Home
last modified time | relevance | path

Searched refs:lov_stripe_md (Results 1 – 25 of 30) sorted by relevance

12

/drivers/staging/lustre/lustre/lov/
Dlov_internal.h133 struct lov_stripe_md *lsm, int stripeno, int *set);
134 int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm,
136 int lov_merge_lvb_kms(struct lov_stripe_md *lsm,
140 u64 lov_stripe_size(struct lov_stripe_md *lsm, u64 ost_size,
142 int lov_stripe_offset(struct lov_stripe_md *lsm, u64 lov_off,
144 u64 lov_size_to_stripe(struct lov_stripe_md *lsm, u64 file_size,
146 int lov_stripe_intersects(struct lov_stripe_md *lsm, int stripeno,
149 int lov_stripe_number(struct lov_stripe_md *lsm, u64 lov_off);
175 struct obdo *src_oa, struct lov_stripe_md *lsm,
211 struct lov_stripe_md *lsm);
[all …]
Dlov_ea.c52 struct lov_stripe_md *lsm;
87 struct lov_stripe_md *lsm_alloc_plain(__u16 stripe_count, int *size) in lsm_alloc_plain()
89 struct lov_stripe_md *lsm; in lsm_alloc_plain()
96 *size = sizeof(struct lov_stripe_md) + oinfo_ptrs_size; in lsm_alloc_plain()
118 void lsm_free_plain(struct lov_stripe_md *lsm) in lsm_free_plain()
128 static void lsm_unpackmd_common(struct lov_stripe_md *lsm, in lsm_unpackmd_common()
143 lsm_stripe_by_index_plain(struct lov_stripe_md *lsm, int *stripeno, in lsm_stripe_by_index_plain()
151 lsm_stripe_by_offset_plain(struct lov_stripe_md *lsm, int *stripeno, in lsm_stripe_by_offset_plain()
158 static int lsm_destroy_plain(struct lov_stripe_md *lsm, struct obdo *oa, in lsm_destroy_plain()
210 static int lsm_unpackmd_v1(struct lov_obd *lov, struct lov_stripe_md *lsm, in lsm_unpackmd_v1()
[all …]
Dlov_offset.c46 u64 lov_stripe_size(struct lov_stripe_md *lsm, u64 ost_size, in lov_stripe_size()
119 int lov_stripe_offset(struct lov_stripe_md *lsm, u64 lov_off, in lov_stripe_offset()
176 u64 lov_size_to_stripe(struct lov_stripe_md *lsm, u64 file_size, in lov_size_to_stripe()
217 int lov_stripe_intersects(struct lov_stripe_md *lsm, int stripeno, in lov_stripe_intersects()
249 int lov_stripe_number(struct lov_stripe_md *lsm, u64 lov_off) in lov_stripe_number()
Dlov_object.c205 struct lov_stripe_md *lsm = conf->u.coc_md->lsm; in lov_init_raid0()
270 struct lov_stripe_md *lsm = conf->u.coc_md->lsm; in lov_init_released()
342 struct lov_stripe_md *lsm = lov->lo_lsm; in lov_delete_raid0()
405 struct lov_stripe_md *lsm = lov->lo_lsm; in lov_print_raid0()
429 struct lov_stripe_md *lsm = lov->lo_lsm; in lov_print_released()
472 struct lov_stripe_md *lsm = lov->lo_lsm; in lov_attr_get_raid0()
570 static enum lov_layout_type lov_type(struct lov_stripe_md *lsm) in lov_type()
747 struct lov_stripe_md *lsm = NULL; in lov_conf_set()
911 static struct lov_stripe_md *lov_lsm_addref(struct lov_object *lov) in lov_lsm_addref()
913 struct lov_stripe_md *lsm = NULL; in lov_lsm_addref()
[all …]
Dlov_pack.c112 struct lov_stripe_md *lsm) in lov_packmd()
284 int lov_alloc_memmd(struct lov_stripe_md **lsmp, __u16 stripe_count, in lov_alloc_memmd()
314 int lov_free_memmd(struct lov_stripe_md **lsmp) in lov_free_memmd()
316 struct lov_stripe_md *lsm = *lsmp; in lov_free_memmd()
332 int lov_unpackmd(struct obd_export *exp, struct lov_stripe_md **lsmp, in lov_unpackmd()
391 int lov_getstripe(struct obd_export *exp, struct lov_stripe_md *lsm, in lov_getstripe()
Dlov_merge.c49 int lov_merge_lvb_kms(struct lov_stripe_md *lsm, in lov_merge_lvb_kms()
113 int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm, in lov_adjust_kms()
151 struct lov_stripe_md *lsm, int stripeno, int *set) in lov_merge_attrs()
Dlov_obd.c968 struct lov_stripe_md **ea, struct obd_trans_info *oti) in lov_recreate()
970 struct lov_stripe_md *obj_mdp, *lsm; in lov_recreate()
1022 struct obdo *src_oa, struct lov_stripe_md **ea, in lov_create()
1062 struct obdo *oa, struct lov_stripe_md *lsm, in lov_destroy()
1277 struct lov_stripe_md *lsm, ldlm_iterator_t it, in lov_find_cbdata()
1290 struct lov_stripe_md submd; in lov_find_cbdata()
1595 struct lov_stripe_md *lsm, u64 fm_start, in fiemap_calc_fm_end_offset()
1655 static int fiemap_calc_last_stripe(struct lov_stripe_md *lsm, u64 fm_start, in fiemap_calc_last_stripe()
1715 __u32 *vallen, void *val, struct lov_stripe_md *lsm) in lov_fiemap()
1953 struct lov_stripe_md *lsm) in lov_get_info()
[all …]
Dlov_io.c87 struct lov_stripe_md *lsm = lio->lis_object->lo_lsm; in lov_io_sub_inherit()
262 struct lov_stripe_md *lsm = lio->lis_object->lo_lsm; in lov_page_subio()
278 struct lov_stripe_md *lsm = lio->lis_object->lo_lsm; in lov_io_subio_init()
384 struct lov_stripe_md *lsm = lio->lis_object->lo_lsm; in lov_io_iter_init()
432 struct lov_stripe_md *lsm = lio->lis_object->lo_lsm; in lov_io_rw_iter_init()
Dlov_request.c352 struct obdo *src_oa, struct lov_stripe_md *lsm, in lov_prep_destroy_set()
437 struct lov_stripe_md *lsm = req->rq_rqset->set_oi->oi_md; in lov_update_setattr_set()
Dlov_cl_internal.h233 struct lov_stripe_md *lo_lsm;
/drivers/staging/lustre/lustre/include/
Dobd.h87 struct lov_stripe_md { struct
119 static inline bool lsm_is_released(struct lov_stripe_md *lsm) in lsm_is_released() argument
124 static inline bool lsm_has_objects(struct lov_stripe_md *lsm) in lsm_has_objects()
135 struct lov_stripe_md lsm; in lov_stripe_md_size()
154 struct lov_stripe_md *oi_md;
166 void lov_stripe_lock(struct lov_stripe_md *md);
167 void lov_stripe_unlock(struct lov_stripe_md *md);
971 struct lov_stripe_md *lsm);
1020 struct lov_stripe_md *mem_src);
1022 struct lov_stripe_md **mem_tgt,
[all …]
Dlclient.h387 struct lov_stripe_md *lov_lsm_get(struct cl_object *clobj);
388 void lov_lsm_put(struct cl_object *clobj, struct lov_stripe_md *lsm);
391 struct lov_stripe_md *ccc_inode_lsm_get(struct inode *inode);
392 void ccc_inode_lsm_put(struct inode *inode, struct lov_stripe_md *lsm);
Dobd_class.h415 struct lov_stripe_md *lsm) in obd_get_info()
616 struct lov_stripe_md *mem_src) in obd_packmd()
628 struct lov_stripe_md *mem_src) in obd_size_diskmd()
659 struct lov_stripe_md **mem_tgt, in obd_unpackmd()
674 struct lov_stripe_md **mem_tgt) in obd_alloc_memmd()
682 struct lov_stripe_md **mem_tgt) in obd_free_memmd()
694 struct obdo *obdo, struct lov_stripe_md **ea, in obd_create()
707 struct obdo *obdo, struct lov_stripe_md *ea, in obd_destroy()
1145 struct lov_stripe_md *lsm, u64 size, in obd_adjust_kms()
1170 struct lov_stripe_md *lsm, in obd_find_cbdata()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c72 struct lov_stripe_md *eo_lsm;
79 struct lov_stripe_md **eoc_md;
163 struct lov_stripe_md **lsm);
472 struct lov_stripe_md **lsmp) in echo_alloc_memmd()
500 static int echo_free_memmd(struct echo_device *ed, struct lov_stripe_md **lsmp) in echo_free_memmd()
936 struct lov_stripe_md **lsmp) in cl_echo_object_find()
941 struct lov_stripe_md *lsm; in cl_echo_object_find()
1270 echo_copyout_lsm(struct lov_stripe_md *lsm, void *_ulsm, int ulsm_nob) in echo_copyout_lsm()
1272 struct lov_stripe_md *ulsm = _ulsm; in echo_copyout_lsm()
1276 nob = offsetof(struct lov_stripe_md, lsm_oinfo[lsm->lsm_stripe_count]); in echo_copyout_lsm()
[all …]
/drivers/staging/lustre/lustre/osc/
Dosc_internal.h93 struct obdo *oa, struct lov_stripe_md **ea,
96 struct lov_stripe_md **ea, struct obd_trans_info *oti);
Dosc_request.c111 struct lov_stripe_md *lsm) in osc_packmd()
140 static int osc_unpackmd(struct obd_export *exp, struct lov_stripe_md **lsmp, in osc_unpackmd()
435 struct lov_stripe_md **ea, struct obd_trans_info *oti) in osc_real_create()
439 struct lov_stripe_md *lsm; in osc_real_create()
693 struct obdo *oa, struct lov_stripe_md **ea, in osc_create()
727 struct obdo *oa, struct lov_stripe_md *ea, in osc_destroy()
1216 struct lov_stripe_md *lsm, u32 page_count, in osc_brw_prep_request()
2067 static int osc_find_cbdata(struct obd_export *exp, struct lov_stripe_md *lsm, in osc_find_cbdata()
2536 static int osc_getstripe(struct lov_stripe_md *lsm, struct lov_user_md *lump) in osc_getstripe()
2684 struct lov_stripe_md *lsm) in osc_get_info()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c54 struct lov_stripe_md lsm = { .lsm_magic = LOV_MAGIC_V3 }; in cl_init_ea_size()
Dlcommon_cl.c1198 struct lov_stripe_md *ccc_inode_lsm_get(struct inode *inode) in ccc_inode_lsm_get()
1203 inline void ccc_inode_lsm_put(struct inode *inode, struct lov_stripe_md *lsm) in ccc_inode_lsm_put()
/drivers/staging/lustre/lustre/llite/
Dfile.c910 static int ll_lsm_getattr(struct lov_stripe_md *lsm, struct obd_export *exp, in ll_lsm_getattr()
960 struct lov_stripe_md *lsm; in ll_inode_getattr()
1027 int ll_glimpse_ioctl(struct ll_sb_info *sbi, struct lov_stripe_md *lsm, in ll_glimpse_ioctl()
1261 struct lov_stripe_md *lsm = NULL, *lsm2; in ll_lov_recreate()
1339 struct lov_stripe_md *lsm = NULL; in ll_lov_setstripe_ea_info()
1513 struct lov_stripe_md *lsm; in ll_lov_setstripe()
1529 struct lov_stripe_md *lsm; in ll_lov_getstripe()
1672 struct lov_stripe_md *lsm = NULL; in ll_do_fiemap()
1849 struct lov_stripe_md *lsm = NULL; in ll_data_version()
Ddcache.c124 struct lov_stripe_md *lsm; in find_cbdata()
Drw26.c462 struct lov_stripe_md *lsm; in ll_direct_IO_26()
Dllite_internal.h632 struct lov_stripe_md;
715 struct lov_stripe_md *lsm, lstat_t *st);
Dxattr.c471 struct lov_stripe_md *lsm; in ll_getxattr()
Dllite_lib.c1294 struct lov_stripe_md *lsm; in ll_setattr_raw()
1513 struct lov_stripe_md *lsm = md->lsm; in ll_update_inode()
1750 struct lov_stripe_md *lsm; in ll_iocontrol()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c861 static int mgc_enqueue(struct obd_export *exp, struct lov_stripe_md *lsm, in mgc_enqueue()
1032 struct lov_stripe_md *unused) in mgc_get_info()

12