/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | obdo.c | 202 void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj) in obdo_to_ioobj() argument 204 ioobj->ioo_oid = oa->o_oi; in obdo_to_ioobj() 205 if (unlikely(!(oa->o_valid & OBD_MD_FLGROUP))) in obdo_to_ioobj() 214 void obdo_from_iattr(struct obdo *oa, struct iattr *attr, unsigned int ia_valid) in obdo_from_iattr() argument 217 oa->o_atime = LTIME_S(attr->ia_atime); in obdo_from_iattr() 218 oa->o_valid |= OBD_MD_FLATIME; in obdo_from_iattr() 221 oa->o_mtime = LTIME_S(attr->ia_mtime); in obdo_from_iattr() 222 oa->o_valid |= OBD_MD_FLMTIME; in obdo_from_iattr() 225 oa->o_ctime = LTIME_S(attr->ia_ctime); in obdo_from_iattr() 226 oa->o_valid |= OBD_MD_FLCTIME; in obdo_from_iattr() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 205 body->oa.o_valid |= OBD_MD_FLOSSCAPA; in osc_pack_capa() 217 lustre_set_wire_obdo(&req->rq_import->imp_connect_data, &body->oa, in osc_pack_req_body() 244 CDEBUG(D_INODE, "mode: %o\n", body->oa.o_mode); in osc_getattr_interpret() 246 aa->aa_oi->oi_oa, &body->oa); in osc_getattr_interpret() 324 CDEBUG(D_INODE, "mode: %o\n", body->oa.o_mode); in osc_getattr() 326 &body->oa); in osc_getattr() 371 &body->oa); in osc_setattr() 394 &body->oa); in osc_setattr_interpret() 458 int osc_real_create(struct obd_export *exp, struct obdo *oa, in osc_real_create() argument 466 LASSERT(oa); in osc_real_create() [all …]
|
D | osc_io.c | 400 struct obdo *oa = &oio->oi_oa; in osc_io_setattr_start() local 438 memset(oa, 0, sizeof(*oa)); in osc_io_setattr_start() 440 oa->o_oi = loi->loi_oi; in osc_io_setattr_start() 441 oa->o_mtime = attr->cat_mtime; in osc_io_setattr_start() 442 oa->o_atime = attr->cat_atime; in osc_io_setattr_start() 443 oa->o_ctime = attr->cat_ctime; in osc_io_setattr_start() 444 oa->o_valid = OBD_MD_FLID | OBD_MD_FLGROUP | OBD_MD_FLATIME | in osc_io_setattr_start() 447 oa->o_size = size; in osc_io_setattr_start() 448 oa->o_blocks = OBD_OBJECT_EOF; in osc_io_setattr_start() 449 oa->o_valid |= OBD_MD_FLSIZE | OBD_MD_FLBLOCKS; in osc_io_setattr_start() [all …]
|
D | osc_internal.h | 89 struct obdo *oa, struct lov_stripe_md **ea, 91 int osc_real_create(struct obd_export *exp, struct obdo *oa,
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1321 int on_target, struct obdo *oa, void *ulsm, in echo_create_object() argument 1330 if ((oa->o_valid & OBD_MD_FLID) == 0 && /* no obj id */ in echo_create_object() 1369 if (oa->o_valid & OBD_MD_FLID) { in echo_create_object() 1370 LASSERT(oa->o_valid & OBD_MD_FLGROUP); in echo_create_object() 1371 lsm->lsm_oi = oa->o_oi; in echo_create_object() 1380 LASSERT((oa->o_valid & OBD_MD_FLGROUP) && in echo_create_object() 1381 (ostid_seq(&oa->o_oi) == FID_SEQ_ECHO)); in echo_create_object() 1382 rc = obd_create(env, ec->ec_exp, oa, &lsm, oti); in echo_create_object() 1391 oa->o_oi = lsm->lsm_oi; in echo_create_object() 1392 oa->o_valid |= OBD_MD_FLID; in echo_create_object() [all …]
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_initiator.c | 231 void *attr_last, const struct osd_attr *oa) in _osd_req_alist_elem_encode() argument 236 attr->attr_page = cpu_to_be32(oa->attr_page); in _osd_req_alist_elem_encode() 237 attr->attr_id = cpu_to_be32(oa->attr_id); in _osd_req_alist_elem_encode() 238 attr->attr_bytes = cpu_to_be16(oa->len); in _osd_req_alist_elem_encode() 239 memcpy(attr->attr_val, oa->val_ptr, oa->len); in _osd_req_alist_elem_encode() 243 attr->attr_page = cpu_to_be32(oa->attr_page); in _osd_req_alist_elem_encode() 244 attr->attr_id = cpu_to_be32(oa->attr_id); in _osd_req_alist_elem_encode() 245 attr->attr_bytes = cpu_to_be16(oa->len); in _osd_req_alist_elem_encode() 246 memcpy(attr->attr_val, oa->val_ptr, oa->len); in _osd_req_alist_elem_encode() 251 void *cur_p, struct osd_attr *oa, unsigned max_bytes) in _osd_req_alist_elem_decode() argument [all …]
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.c | 133 struct gssx_option_array *oa) in dummy_enc_opt_array() argument 137 if (oa->count != 0) in dummy_enc_opt_array() 149 struct gssx_option_array *oa) in dummy_dec_opt_array() argument 164 oa->count = 0; in dummy_dec_opt_array() 165 oa->data = NULL; in dummy_dec_opt_array() 242 struct gssx_option_array *oa) in gssx_dec_option_array() argument 257 oa->count = 1; in gssx_dec_option_array() 259 oa->data = kmalloc(sizeof(struct gssx_option), GFP_KERNEL); in gssx_dec_option_array() 260 if (!oa->data) in gssx_dec_option_array() 265 kfree(oa->data); in gssx_dec_option_array() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_close.c | 215 struct obdo *oa; in ll_som_update() local 224 OBDO_ALLOC(oa); in ll_som_update() 225 if (!oa) { in ll_som_update() 235 rc = ll_inode_getattr(inode, oa, op_data->op_ioepoch, in ll_som_update() 238 oa->o_valid = 0; in ll_som_update() 248 md_from_obdo(op_data, oa, oa->o_valid); in ll_som_update() 255 OBDO_FREE(oa); in ll_som_update()
|
D | namei.c | 903 struct obdo *oa; in ll_objects_destroy() local 933 OBDO_ALLOC(oa); in ll_objects_destroy() 934 if (oa == NULL) { in ll_objects_destroy() 939 oa->o_oi = lsm->lsm_oi; in ll_objects_destroy() 940 oa->o_mode = body->mode & S_IFMT; in ll_objects_destroy() 941 oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE | OBD_MD_FLGROUP; in ll_objects_destroy() 944 oa->o_valid |= OBD_MD_FLCOOKIE; in ll_objects_destroy() 951 oa->o_valid &= ~OBD_MD_FLCOOKIE; in ll_objects_destroy() 962 rc = obd_destroy(NULL, ll_i2dtexp(dir), oa, lsm, &oti, in ll_objects_destroy() 970 OBDO_FREE(oa); in ll_objects_destroy()
|
D | file.c | 1267 struct obdo *oa = NULL; in ll_lov_recreate() local 1272 OBDO_ALLOC(oa); in ll_lov_recreate() 1273 if (oa == NULL) in ll_lov_recreate() 1291 oa->o_oi = *oi; in ll_lov_recreate() 1292 oa->o_nlink = ost_idx; in ll_lov_recreate() 1293 oa->o_flags |= OBD_FL_RECREATE_OBJS; in ll_lov_recreate() 1294 oa->o_valid = OBD_MD_FLID | OBD_MD_FLFLAGS | OBD_MD_FLGROUP; in ll_lov_recreate() 1295 obdo_from_inode(oa, inode, OBD_MD_FLTYPE | OBD_MD_FLATIME | in ll_lov_recreate() 1297 obdo_set_parent_fid(oa, &ll_i2info(inode)->lli_fid); in ll_lov_recreate() 1300 rc = obd_create(NULL, exp, oa, &lsm2, &oti); in ll_lov_recreate() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | pack_generic.c | 1768 lustre_swab_obdo(&b->oa); in lustre_swab_ost_body() 2272 void dump_obdo(struct obdo *oa) in dump_obdo() argument 2274 __u32 valid = oa->o_valid; in dump_obdo() 2278 CDEBUG(D_RPCTRACE, "obdo: id = "DOSTID"\n", POSTID(&oa->o_oi)); in dump_obdo() 2281 oa->o_parent_seq); in dump_obdo() 2283 CDEBUG(D_RPCTRACE, "obdo: o_size = %lld\n", oa->o_size); in dump_obdo() 2285 CDEBUG(D_RPCTRACE, "obdo: o_mtime = %lld\n", oa->o_mtime); in dump_obdo() 2287 CDEBUG(D_RPCTRACE, "obdo: o_atime = %lld\n", oa->o_atime); in dump_obdo() 2289 CDEBUG(D_RPCTRACE, "obdo: o_ctime = %lld\n", oa->o_ctime); in dump_obdo() 2291 CDEBUG(D_RPCTRACE, "obdo: o_blocks = %lld\n", oa->o_blocks); in dump_obdo() [all …]
|
D | wiretest.c | 1820 LASSERTF((int)offsetof(struct ost_body, oa) == 0, "found %lld\n", in lustre_assert_wire_constants() 1821 (long long)(int)offsetof(struct ost_body, oa)); in lustre_assert_wire_constants() 1822 LASSERTF((int)sizeof(((struct ost_body *)0)->oa) == 208, "found %lld\n", in lustre_assert_wire_constants() 1823 (long long)(int)sizeof(((struct ost_body *)0)->oa)); in lustre_assert_wire_constants() 3749 LASSERTF((int)offsetof(struct ll_fiemap_info_key, oa) == 8, "found %lld\n", in lustre_assert_wire_constants() 3750 (long long)(int)offsetof(struct ll_fiemap_info_key, oa)); in lustre_assert_wire_constants() 3751 LASSERTF((int)sizeof(((struct ll_fiemap_info_key *)0)->oa) == 208, "found %lld\n", in lustre_assert_wire_constants() 3752 (long long)(int)sizeof(((struct ll_fiemap_info_key *)0)->oa)); in lustre_assert_wire_constants()
|
/linux-4.1.27/fs/logfs/ |
D | journal.c | 689 struct logfs_obj_alias *oa = super->s_je; in write_alias_journal() local 694 oa[fill].ino = cpu_to_be64(ino); in write_alias_journal() 695 oa[fill].bix = cpu_to_be64(bix); in write_alias_journal() 696 oa[fill].val = val; in write_alias_journal() 697 oa[fill].level = (__force u8)level; in write_alias_journal() 698 oa[fill].child_no = cpu_to_be16(child_no); in write_alias_journal() 700 if (fill >= sb->s_blocksize / sizeof(*oa)) { in write_alias_journal() 701 err = logfs_write_je_buf(sb, oa, JE_OBJ_ALIAS, sb->s_blocksize); in write_alias_journal()
|
D | segment.c | 207 struct logfs_obj_alias *oa, int count) in logfs_load_object_aliases() argument 217 count /= sizeof(*oa); in logfs_load_object_aliases() 225 item->val = oa[i].val; in logfs_load_object_aliases() 226 item->child_no = be16_to_cpu(oa[i].child_no); in logfs_load_object_aliases() 228 ino = be64_to_cpu(oa[i].ino); in logfs_load_object_aliases() 229 bix = be64_to_cpu(oa[i].bix); in logfs_load_object_aliases() 230 level = LEVEL(oa[i].level); in logfs_load_object_aliases()
|
D | logfs.h | 593 struct logfs_obj_alias *oa, int count);
|
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 908 struct obdo *oa; in ccc_req_attr_set() local 911 oa = attr->cra_oa; in ccc_req_attr_set() 923 oa->o_valid |= OBD_MD_FLEPOCH; in ccc_req_attr_set() 924 oa->o_ioepoch = cl_i2info(inode)->lli_ioepoch; in ccc_req_attr_set() 929 obdo_from_inode(oa, inode, valid_flags & flags); in ccc_req_attr_set() 930 obdo_set_parent_fid(oa, &cl_i2info(inode)->lli_fid); in ccc_req_attr_set()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 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); 323 void obdo_from_md(struct obdo *oa, struct md_op_data *op_data, 1210 struct obd_export *exp, struct obdo *oa, in obd_preprw() argument 1222 rc = OBP(exp->exp_obd, preprw)(env, cmd, exp, oa, objcount, obj, remote, in obd_preprw() 1228 struct obd_export *exp, struct obdo *oa, in obd_commitrw() argument 1237 rc = OBP(exp->exp_obd, commitrw)(env, cmd, exp, oa, objcount, obj, in obd_commitrw() 1877 static inline void obdo2fid(struct obdo *oa, struct lu_fid *fid) in obdo2fid() argument [all …]
|
D | obd.h | 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,
|
D | lclient.h | 358 struct cl_req_attr *oa, u64 flags);
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 1081 struct obdo *oa, struct lov_stripe_md *lsm, in lov_destroy() argument 1097 if (oa->o_valid & OBD_MD_FLCOOKIE) { in lov_destroy() 1104 rc = lov_prep_destroy_set(exp, &oinfo, oa, lsm, oti, &set); in lov_destroy() 1111 if (oa->o_valid & OBD_MD_FLCOOKIE) in lov_destroy() 1120 exp->exp_obd->obd_name, POSTID(&oa->o_oi), in lov_destroy() 1130 rc = lsm_op_find(lsm->lsm_magic)->lsm_destroy(lsm, oa, md_exp); in lov_destroy() 1773 fm_end = (fm_length == ~0ULL ? fm_key->oa.o_size : in lov_fiemap() 1776 if (fm_end > fm_key->oa.o_size) in lov_fiemap() 1777 fm_end = fm_key->oa.o_size; in lov_fiemap() 1858 fm_key->oa.o_oi = lsm->lsm_oinfo[cur_stripe]->loi_oi; in lov_fiemap() [all …]
|
D | lov_ea.c | 160 static int lsm_destroy_plain(struct lov_stripe_md *lsm, struct obdo *oa, in lsm_destroy_plain() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 3340 struct obdo oa; member 3346 struct obdo oa; member 3373 void dump_obdo(struct obdo *oa);
|
/linux-4.1.27/Documentation/ |
D | BUG-HUNTING | 90 find dir -name '*.[oa]' -print | xargs rm -f
|