/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | obdo.c | 118 void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj) in obdo_to_ioobj() argument 120 ioobj->ioo_oid = oa->o_oi; in obdo_to_ioobj() 121 if (unlikely(!(oa->o_valid & OBD_MD_FLGROUP))) in obdo_to_ioobj() 130 static void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) in iattr_from_obdo() argument 132 valid &= oa->o_valid; in iattr_from_obdo() 136 oa->o_valid, oa->o_mtime, oa->o_ctime); in iattr_from_obdo() 140 LTIME_S(attr->ia_atime) = oa->o_atime; in iattr_from_obdo() 144 LTIME_S(attr->ia_mtime) = oa->o_mtime; in iattr_from_obdo() 148 LTIME_S(attr->ia_ctime) = oa->o_ctime; in iattr_from_obdo() 152 attr->ia_size = oa->o_size; in iattr_from_obdo() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 209 lustre_set_wire_obdo(&req->rq_import->imp_connect_data, &body->oa, in osc_pack_req_body() 224 CDEBUG(D_INODE, "mode: %o\n", body->oa.o_mode); in osc_getattr_interpret() 226 aa->aa_oi->oi_oa, &body->oa); in osc_getattr_interpret() 302 CDEBUG(D_INODE, "mode: %o\n", body->oa.o_mode); in osc_getattr() 304 &body->oa); in osc_getattr() 348 &body->oa); in osc_setattr() 371 &body->oa); in osc_setattr_interpret() 434 int osc_real_create(struct obd_export *exp, struct obdo *oa, in osc_real_create() argument 442 LASSERT(oa); in osc_real_create() 467 lustre_set_wire_obdo(&req->rq_import->imp_connect_data, &body->oa, oa); in osc_real_create() [all …]
|
D | osc_io.c | 399 struct obdo *oa = &oio->oi_oa; in osc_io_setattr_start() local 437 memset(oa, 0, sizeof(*oa)); in osc_io_setattr_start() 439 oa->o_oi = loi->loi_oi; in osc_io_setattr_start() 440 oa->o_mtime = attr->cat_mtime; in osc_io_setattr_start() 441 oa->o_atime = attr->cat_atime; in osc_io_setattr_start() 442 oa->o_ctime = attr->cat_ctime; in osc_io_setattr_start() 443 oa->o_valid = OBD_MD_FLID | OBD_MD_FLGROUP | OBD_MD_FLATIME | in osc_io_setattr_start() 446 oa->o_size = size; in osc_io_setattr_start() 447 oa->o_blocks = OBD_OBJECT_EOF; in osc_io_setattr_start() 448 oa->o_valid |= OBD_MD_FLSIZE | OBD_MD_FLBLOCKS; in osc_io_setattr_start() [all …]
|
D | osc_internal.h | 93 struct obdo *oa, struct lov_stripe_md **ea, 95 int osc_real_create(struct obd_export *exp, struct obdo *oa,
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1322 int on_target, struct obdo *oa, void *ulsm, in echo_create_object() argument 1331 if ((oa->o_valid & OBD_MD_FLID) == 0 && /* no obj id */ in echo_create_object() 1370 if (oa->o_valid & OBD_MD_FLID) { in echo_create_object() 1371 LASSERT(oa->o_valid & OBD_MD_FLGROUP); in echo_create_object() 1372 lsm->lsm_oi = oa->o_oi; in echo_create_object() 1381 LASSERT((oa->o_valid & OBD_MD_FLGROUP) && in echo_create_object() 1382 (ostid_seq(&oa->o_oi) == FID_SEQ_ECHO)); in echo_create_object() 1383 rc = obd_create(env, ec->ec_exp, oa, &lsm, oti); in echo_create_object() 1392 oa->o_oi = lsm->lsm_oi; in echo_create_object() 1393 oa->o_valid |= OBD_MD_FLID; in echo_create_object() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/llite/ |
D | llite_close.c | 215 struct obdo *oa; in ll_som_update() local 224 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); 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 kmem_cache_free(obdo_cachep, oa); in ll_som_update()
|
D | namei.c | 877 struct obdo *oa; in ll_objects_destroy() local 906 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in ll_objects_destroy() 907 if (oa == NULL) { in ll_objects_destroy() 912 oa->o_oi = lsm->lsm_oi; in ll_objects_destroy() 913 oa->o_mode = body->mode & S_IFMT; in ll_objects_destroy() 914 oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE | OBD_MD_FLGROUP; in ll_objects_destroy() 917 oa->o_valid |= OBD_MD_FLCOOKIE; in ll_objects_destroy() 924 oa->o_valid &= ~OBD_MD_FLCOOKIE; in ll_objects_destroy() 929 rc = obd_destroy(NULL, ll_i2dtexp(dir), oa, lsm, &oti, in ll_objects_destroy() 936 kmem_cache_free(obdo_cachep, oa); in ll_objects_destroy()
|
D | file.c | 1258 struct obdo *oa = NULL; in ll_lov_recreate() local 1263 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in ll_lov_recreate() 1264 if (oa == NULL) in ll_lov_recreate() 1282 oa->o_oi = *oi; in ll_lov_recreate() 1283 oa->o_nlink = ost_idx; in ll_lov_recreate() 1284 oa->o_flags |= OBD_FL_RECREATE_OBJS; in ll_lov_recreate() 1285 oa->o_valid = OBD_MD_FLID | OBD_MD_FLFLAGS | OBD_MD_FLGROUP; in ll_lov_recreate() 1286 obdo_from_inode(oa, inode, OBD_MD_FLTYPE | OBD_MD_FLATIME | in ll_lov_recreate() 1288 obdo_set_parent_fid(oa, &ll_i2info(inode)->lli_fid); in ll_lov_recreate() 1291 rc = obd_create(NULL, exp, oa, &lsm2, &oti); in ll_lov_recreate() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gds.h | 54 struct amdgpu_gds_asic_info oa; member 69 uint32_t oa; member
|
D | amdgpu_ttm.c | 918 adev->gds.oa.total_size = adev->gds.oa.total_size << AMDGPU_OA_SHIFT; in amdgpu_ttm_init() 919 adev->gds.oa.gfx_partition_size = adev->gds.oa.gfx_partition_size << AMDGPU_OA_SHIFT; in amdgpu_ttm_init() 920 adev->gds.oa.cs_partition_size = adev->gds.oa.cs_partition_size << AMDGPU_OA_SHIFT; in amdgpu_ttm_init() 939 adev->gds.oa.total_size >> PAGE_SHIFT); in amdgpu_ttm_init()
|
D | amdgpu_cs.c | 702 struct amdgpu_bo *oa = parser->bo_list->oa_obj; in amdgpu_cs_ib_fill() local 713 if (oa) { in amdgpu_cs_ib_fill() 714 ib->oa_base = amdgpu_bo_gpu_offset(oa); in amdgpu_cs_ib_fill() 715 ib->oa_size = amdgpu_bo_size(oa); in amdgpu_cs_ib_fill()
|
D | amdgpu_kms.c | 376 gds_info.oa_per_gfx_partition = adev->gds.oa.gfx_partition_size >> AMDGPU_OA_SHIFT; in amdgpu_info_ioctl() 377 gds_info.oa_per_compute_partition = adev->gds.oa.cs_partition_size >> AMDGPU_OA_SHIFT; in amdgpu_info_ioctl()
|
D | gfx_v8_0.c | 1291 r = amdgpu_bo_create(adev, adev->gds.oa.gfx_partition_size, in gfx_v8_0_sw_init() 4443 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].oa); in gfx_v8_0_ring_emit_gds_switch() 5089 adev->gds.oa.total_size = 16; in gfx_v8_0_set_gds_init() 5098 adev->gds.oa.gfx_partition_size = 4; in gfx_v8_0_set_gds_init() 5099 adev->gds.oa.cs_partition_size = 1; in gfx_v8_0_set_gds_init() 5107 adev->gds.oa.gfx_partition_size = 4; in gfx_v8_0_set_gds_init() 5108 adev->gds.oa.cs_partition_size = 4; in gfx_v8_0_set_gds_init()
|
D | gfx_v7_0.c | 4736 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].oa); in gfx_v7_0_ring_emit_gds_switch() 4850 r = amdgpu_bo_create(adev, adev->gds.oa.gfx_partition_size, in gfx_v7_0_sw_init() 5632 adev->gds.oa.total_size = 16; in gfx_v7_0_set_gds_init() 5641 adev->gds.oa.gfx_partition_size = 4; in gfx_v7_0_set_gds_init() 5642 adev->gds.oa.cs_partition_size = 1; in gfx_v7_0_set_gds_init() 5650 adev->gds.oa.gfx_partition_size = 4; in gfx_v7_0_set_gds_init() 5651 adev->gds.oa.cs_partition_size = 4; in gfx_v7_0_set_gds_init()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | pack_generic.c | 1613 lustre_swab_obdo(&b->oa); in lustre_swab_ost_body() 2065 static void dump_obdo(struct obdo *oa) in dump_obdo() argument 2067 __u32 valid = oa->o_valid; in dump_obdo() 2071 CDEBUG(D_RPCTRACE, "obdo: id = "DOSTID"\n", POSTID(&oa->o_oi)); in dump_obdo() 2074 oa->o_parent_seq); in dump_obdo() 2076 CDEBUG(D_RPCTRACE, "obdo: o_size = %lld\n", oa->o_size); in dump_obdo() 2078 CDEBUG(D_RPCTRACE, "obdo: o_mtime = %lld\n", oa->o_mtime); in dump_obdo() 2080 CDEBUG(D_RPCTRACE, "obdo: o_atime = %lld\n", oa->o_atime); in dump_obdo() 2082 CDEBUG(D_RPCTRACE, "obdo: o_ctime = %lld\n", oa->o_ctime); in dump_obdo() 2084 CDEBUG(D_RPCTRACE, "obdo: o_blocks = %lld\n", oa->o_blocks); in dump_obdo() [all …]
|
D | wiretest.c | 1818 LASSERTF((int)offsetof(struct ost_body, oa) == 0, "found %lld\n", in lustre_assert_wire_constants() 1819 (long long)(int)offsetof(struct ost_body, oa)); in lustre_assert_wire_constants() 1820 LASSERTF((int)sizeof(((struct ost_body *)0)->oa) == 208, "found %lld\n", in lustre_assert_wire_constants() 1821 (long long)(int)sizeof(((struct ost_body *)0)->oa)); in lustre_assert_wire_constants() 3747 LASSERTF((int)offsetof(struct ll_fiemap_info_key, oa) == 8, "found %lld\n", in lustre_assert_wire_constants() 3748 (long long)(int)offsetof(struct ll_fiemap_info_key, oa)); in lustre_assert_wire_constants() 3749 LASSERTF((int)sizeof(((struct ll_fiemap_info_key *)0)->oa) == 208, "found %lld\n", in lustre_assert_wire_constants() 3750 (long long)(int)sizeof(((struct ll_fiemap_info_key *)0)->oa)); in lustre_assert_wire_constants()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | gth.c | 338 struct output_attribute *oa = in output_attr_show() local 340 struct gth_device *gth = oa->gth; in output_attr_show() 345 gth_output_parm_get(gth, oa->port, oa->parm)); in output_attr_show() 355 struct output_attribute *oa = in output_attr_store() local 357 struct gth_device *gth = oa->gth; in output_attr_store() 364 gth_output_parm_set(gth, oa->port, oa->parm, config); in output_attr_store()
|
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 835 struct obdo *oa; in ccc_req_attr_set() local 838 oa = attr->cra_oa; in ccc_req_attr_set() 844 oa->o_valid |= OBD_MD_FLEPOCH; in ccc_req_attr_set() 845 oa->o_ioepoch = cl_i2info(inode)->lli_ioepoch; in ccc_req_attr_set() 850 obdo_from_inode(oa, inode, valid_flags & flags); in ccc_req_attr_set() 851 obdo_set_parent_fid(oa, &cl_i2info(inode)->lli_fid); in ccc_req_attr_set()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | obd.h | 1026 struct obdo *oa, struct lov_stripe_md **ea, 1029 struct obdo *oa, struct lov_stripe_md *ea, 1043 struct obd_export *exp, struct obdo *oa, int objcount, 1048 struct obd_export *exp, struct obdo *oa, 1220 int (*lsm_destroy)(struct lov_stripe_md *, struct obdo *oa,
|
D | obd_class.h | 269 void obdo_to_ioobj(struct obdo *oa, struct obd_ioobj *ioobj); 270 void md_from_obdo(struct md_op_data *op_data, struct obdo *oa, u32 valid); 1113 struct obd_export *exp, struct obdo *oa, in obd_preprw() argument 1124 rc = OBP(exp->exp_obd, preprw)(env, cmd, exp, oa, objcount, obj, remote, in obd_preprw() 1130 struct obd_export *exp, struct obdo *oa, in obd_commitrw() argument 1139 rc = OBP(exp->exp_obd, commitrw)(env, cmd, exp, oa, objcount, obj, in obd_commitrw() 1739 static inline void obdo2fid(struct obdo *oa, struct lu_fid *fid) in obdo2fid() argument 1744 static inline void fid2obdo(struct lu_fid *fid, struct obdo *oa) in fid2obdo() argument
|
D | lclient.h | 334 struct cl_req_attr *oa, u64 flags);
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 1062 struct obdo *oa, struct lov_stripe_md *lsm, in lov_destroy() argument 1077 if (oa->o_valid & OBD_MD_FLCOOKIE) { in lov_destroy() 1084 rc = lov_prep_destroy_set(exp, &oinfo, oa, lsm, oti, &set); in lov_destroy() 1091 if (oa->o_valid & OBD_MD_FLCOOKIE) in lov_destroy() 1100 exp->exp_obd->obd_name, POSTID(&oa->o_oi), in lov_destroy() 1110 rc = lsm_op_find(lsm->lsm_magic)->lsm_destroy(lsm, oa, md_exp); in lov_destroy() 1755 fm_end = (fm_length == ~0ULL ? fm_key->oa.o_size : in lov_fiemap() 1758 if (fm_end > fm_key->oa.o_size) in lov_fiemap() 1759 fm_end = fm_key->oa.o_size; in lov_fiemap() 1840 fm_key->oa.o_oi = lsm->lsm_oinfo[cur_stripe]->loi_oi; in lov_fiemap() [all …]
|
D | lov_ea.c | 158 static int lsm_destroy_plain(struct lov_stripe_md *lsm, struct obdo *oa, in lsm_destroy_plain() argument
|
/linux-4.4.14/Documentation/ |
D | BUG-HUNTING | 90 find dir -name '*.[oa]' -print | xargs rm -f
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 3317 struct obdo oa; member 3323 struct obdo oa; member
|