Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-obdo.c53 void obdo_from_la(struct obdo *dst, struct lu_attr *la, __u64 valid) in obdo_from_la()
100 void la_from_obdo(struct lu_attr *dst, struct obdo *obdo, u32 valid) in la_from_obdo() argument
104 valid &= obdo->o_valid; in la_from_obdo()
107 dst->la_atime = obdo->o_atime; in la_from_obdo()
111 dst->la_mtime = obdo->o_mtime; in la_from_obdo()
115 dst->la_ctime = obdo->o_ctime; in la_from_obdo()
119 dst->la_size = obdo->o_size; in la_from_obdo()
123 dst->la_blocks = obdo->o_blocks; in la_from_obdo()
128 (obdo->o_mode & S_IFMT); in la_from_obdo()
133 (obdo->o_mode & S_IALLUGO); in la_from_obdo()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobdo.c48 void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent) in obdo_set_parent_fid()
59 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid) in obdo_from_inode()
118 void obdo_cpy_md(struct obdo *dst, struct obdo *src, u32 valid) in obdo_cpy_md()
160 int obdo_cmp_md(struct obdo *dst, struct obdo *src, u32 compare) in obdo_cmp_md()
202 void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj) in obdo_to_ioobj()
214 void obdo_from_iattr(struct obdo *oa, struct iattr *attr, unsigned int ia_valid) in obdo_from_iattr()
250 void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) in iattr_from_obdo()
299 void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid) in md_from_obdo()
314 void obdo_from_md(struct obdo *oa, struct md_op_data *op_data, in obdo_from_md()
330 void obdo_cpu_to_le(struct obdo *dobdo, struct obdo *sobdo) in obdo_cpu_to_le()
[all …]
DMakefile3 obdclass-y := linux/linux-module.o linux/linux-obdo.o linux/linux-sysctl.o \
7 statfs_pack.o obdo.o obd_config.o obd_mount.o \
Dgenops.c663 obdo_cachep = kmem_cache_create("ll_obdo_cache", sizeof(struct obdo), in obd_init_caches()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c1117 LASSERTF((int)sizeof(struct obdo) == 208, "found %lld\n", in lustre_assert_wire_constants()
1118 (long long)(int)sizeof(struct obdo)); in lustre_assert_wire_constants()
1119 LASSERTF((int)offsetof(struct obdo, o_valid) == 0, "found %lld\n", in lustre_assert_wire_constants()
1120 (long long)(int)offsetof(struct obdo, o_valid)); in lustre_assert_wire_constants()
1121 LASSERTF((int)sizeof(((struct obdo *)0)->o_valid) == 8, "found %lld\n", in lustre_assert_wire_constants()
1122 (long long)(int)sizeof(((struct obdo *)0)->o_valid)); in lustre_assert_wire_constants()
1123 LASSERTF((int)offsetof(struct obdo, o_oi) == 8, "found %lld\n", in lustre_assert_wire_constants()
1124 (long long)(int)offsetof(struct obdo, o_oi)); in lustre_assert_wire_constants()
1125 LASSERTF((int)sizeof(((struct obdo *)0)->o_oi) == 16, "found %lld\n", in lustre_assert_wire_constants()
1126 (long long)(int)sizeof(((struct obdo *)0)->o_oi)); in lustre_assert_wire_constants()
[all …]
Dpack_generic.c1691 void lustre_swab_obdo(struct obdo *o) in lustre_swab_obdo()
2272 void dump_obdo(struct obdo *oa) in dump_obdo()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h311 struct obdo;
312 void obdo_from_la(struct obdo *dst, struct lu_attr *la, __u64 valid);
313 void la_from_obdo(struct lu_attr *la, struct obdo *dst, u32 valid);
314 void obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid);
315 void obdo_to_inode(struct inode *dst, struct obdo *src, u32 valid);
317 void obdo_cpy_md(struct obdo *dst, struct obdo *src, u32 valid);
318 void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj);
319 void obdo_from_iattr(struct obdo *oa, struct iattr *attr,
321 void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid);
322 void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid);
[all …]
Dobd.h163 struct obdo *oi_oa;
1164 struct obdo *oa, struct lov_stripe_md **ea,
1167 struct obdo *oa, struct lov_stripe_md *ea,
1182 struct obd_export *exp, struct obdo *oa, int objcount,
1187 struct obd_export *exp, struct obdo *oa,
1369 int (*lsm_destroy)(struct lov_stripe_md *, struct obdo *oa,
1426 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid);
1427 void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent);
Dlustre_lib.h142 struct obdo ioc_obdo1;
143 struct obdo ioc_obdo2;
Dcl_object.h2475 struct obdo *cra_oa;
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c916 struct obd_capa *capa, struct obdo *obdo, in ll_lsm_getattr() argument
926 oinfo.oi_oa = obdo; in ll_lsm_getattr()
964 int ll_inode_getattr(struct inode *inode, struct obdo *obdo, in ll_inode_getattr() argument
973 capa, obdo, ioepoch, sync); in ll_inode_getattr()
976 struct ost_id *oi = lsm ? &lsm->lsm_oi : &obdo->o_oi; in ll_inode_getattr()
978 obdo_refresh_inode(inode, obdo, obdo->o_valid); in ll_inode_getattr()
1039 struct obdo obdo = { 0 }; in ll_glimpse_ioctl() local
1042 rc = ll_lsm_getattr(lsm, sbi->ll_dt_exp, NULL, &obdo, 0, 0); in ll_glimpse_ioctl()
1044 st->st_size = obdo.o_size; in ll_glimpse_ioctl()
1045 st->st_blocks = obdo.o_blocks; in ll_glimpse_ioctl()
[all …]
Dllite_close.c215 struct obdo *oa; in ll_som_update()
Dllite_internal.h757 int ll_inode_getattr(struct inode *inode, struct obdo *obdo,
Dnamei.c903 struct obdo *oa; in ll_objects_destroy()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_internal.h89 struct obdo *oa, struct lov_stripe_md **ea,
91 int osc_real_create(struct obd_export *exp, struct obdo *oa,
Dosc_request.c57 struct obdo *aa_oa;
75 struct obdo *sa_oa;
458 int osc_real_create(struct obd_export *exp, struct obdo *oa, in osc_real_create()
660 static int osc_resource_get_unused(struct obd_export *exp, struct obdo *oa, in osc_resource_get_unused()
721 struct obdo *oa, struct lov_stripe_md **ea, in osc_create()
755 struct obdo *oa, struct lov_stripe_md *ea, in osc_destroy()
823 static void osc_announce_cached(struct client_obd *cli, struct obdo *oa, in osc_announce_cached()
900 struct obdo *oa = ((struct osc_brw_async_args *)aa)->aa_oa; in osc_shrink_grant_interpret()
916 static void osc_shrink_grant_local(struct client_obd *cli, struct obdo *oa) in osc_shrink_grant_local()
1245 struct obdo *oa, in osc_brw_prep_request()
[all …]
Dosc_io.c400 struct obdo *oa = &oio->oi_oa; in osc_io_setattr_start()
548 struct obdo *oa = &oio->oi_oa; in osc_fsync_ost()
725 struct obdo *oa; in osc_req_attr_set()
Dosc_cl_internal.h79 struct obdo oi_oa;
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_merge.c149 void lov_merge_attrs(struct obdo *tgt, struct obdo *src, u64 valid, in lov_merge_attrs()
Dlov_internal.h169 void lov_merge_attrs(struct obdo *tgt, struct obdo *src, u64 valid,
212 struct obdo *src_oa, struct lov_stripe_md *lsm,
Dlov_ea.c160 static int lsm_destroy_plain(struct lov_stripe_md *lsm, struct obdo *oa, in lsm_destroy_plain()
Dlov_request.c206 struct obdo *tmp_oa; in common_attr_done()
364 struct obdo *src_oa, struct lov_stripe_md *lsm, in lov_prep_destroy_set()
Dlov_obd.c986 static int lov_recreate(struct obd_export *exp, struct obdo *src_oa, in lov_recreate()
1041 struct obdo *src_oa, struct lov_stripe_md **ea, in lov_create()
1081 struct obdo *oa, struct lov_stripe_md *lsm, in lov_destroy()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h3245 struct obdo { struct
3292 struct obdo *wobdo, in lustre_set_wire_obdo() argument
3293 const struct obdo *lobdo) in lustre_set_wire_obdo()
3310 struct obdo *lobdo, in lustre_get_wire_obdo()
3311 const struct obdo *wobdo) in lustre_get_wire_obdo()
3336 extern void lustre_swab_obdo (struct obdo *o);
3340 struct obdo oa;
3346 struct obdo oa;
3373 void dump_obdo(struct obdo *oa);
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1321 int on_target, struct obdo *oa, void *ulsm, in echo_create_object()
1414 struct obdo *oa) in echo_get_object()
1545 static int echo_client_kbrw(struct echo_device *ed, int rw, struct obdo *oa, in echo_client_kbrw()
1644 struct obdo *oa, struct echo_object *eco, in echo_client_prep_commit()
1757 struct obdo *oa = &data->ioc_obdo1; in echo_client_brw_ioctl()
1807 echo_client_enqueue(struct obd_export *exp, struct obdo *oa, in echo_client_enqueue()
1841 echo_client_cancel(struct obd_export *exp, struct obdo *oa) in echo_client_cancel()
1865 struct obdo *oa; in echo_client_iocontrol()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c908 struct obdo *oa; in ccc_req_attr_set()