/fs/exofs/ |
D | exofs.h | 78 struct ore_components oc; /* comps for the partition */ member 93 struct ore_components oc; /* inode view of the device table */ member 220 static inline void exofs_init_comps(struct ore_components *oc, in exofs_init_comps() argument 230 oc->first_dev = 0; in exofs_init_comps() 231 oc->numdevs = sbi->layout.group_width * sbi->layout.mirrors_p1 * in exofs_init_comps() 233 oc->single_comp = EC_SINGLE_COMP; in exofs_init_comps() 234 oc->comps = one_comp; in exofs_init_comps() 237 first_dev = (dev_mod * sbi->layout.mirrors_p1) % sbi->oc.numdevs; in exofs_init_comps() 238 oc->ods = &sbi->oc.ods[first_dev]; in exofs_init_comps()
|
D | super.c | 275 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats() 330 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats() 369 struct ore_components oc; in exofs_sync_fs() local 387 exofs_init_comps(&oc, &one_comp, sbi, EXOFS_SUPER_ID); in exofs_sync_fs() 389 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs() 426 unsigned numdevs = sbi->oc.numdevs; in exofs_free_sbi() 430 struct osd_dev *od = ore_comp_dev(&sbi->oc, i); in exofs_free_sbi() 433 ore_comp_set_dev(&sbi->oc, i, NULL); in exofs_free_sbi() 437 kfree(sbi->oc.ods); in exofs_free_sbi() 464 _exofs_print_device("Unmounting", NULL, ore_comp_dev(&sbi->oc, 0), in exofs_put_super() [all …]
|
D | ore.c | 126 return ios->oc->comps[index & ios->oc->single_comp].cred; in _ios_cred() 131 return &ios->oc->comps[index & ios->oc->single_comp].obj; in _ios_obj() 137 ios->oc->first_dev, ios->oc->numdevs, index, in _ios_od() 138 ios->oc->ods); in _ios_od() 140 return ore_comp_dev(ios->oc, index); in _ios_od() 144 struct ore_components *oc, unsigned numdevs, in _ore_get_io_state() argument 221 ios->oc = oc; in _ore_get_io_state() 242 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_rw_state() argument 282 ret = _ore_get_io_state(layout, oc, numdevs, sgs_per_dev, max_par_pages, in ore_get_rw_state() 311 int ore_get_io_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_io_state() argument [all …]
|
D | inode.c | 319 int ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, true, in read_exec() 635 ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, false, in write_exec() 1013 ret = ore_truncate(&sbi->layout, &oi->oc, (u64)newsize); in _do_truncate() 1080 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_get_inode() 1086 attrs[1].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs); in exofs_get_inode() 1087 attrs[2].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs); in exofs_get_inode() 1170 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info, in exofs_iget() 1323 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info, in exofs_new_inode() 1329 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_new_inode() 1418 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_update_inode() [all …]
|
D | ore_raid.h | 55 struct ore_components *oc, unsigned numdevs,
|
D | ore_raid.c | 328 ret = _ore_get_io_state(layout, ios->oc, in _alloc_read_4_write() 374 q = osd_request_queue(ore_comp_dev(read_ios->oc, per_dev->dev)); in _add_to_r4w()
|
/fs/nfs/objlayout/ |
D | objio_osd.c | 67 struct ore_components oc; member 160 static void copy_single_comp(struct ore_components *oc, unsigned c, in copy_single_comp() argument 163 struct ore_comp *ocomp = &oc->comps[c]; in copy_single_comp() 191 numdevs * sizeof(lseg->oc.ods[0]) + in __alloc_objio_seg() 192 numdevs * sizeof(*lseg->oc.comps); in __alloc_objio_seg() 201 lseg->oc.numdevs = numdevs; in __alloc_objio_seg() 202 lseg->oc.single_comp = EC_MULTPLE_COMPS; in __alloc_objio_seg() 203 lseg->oc.ods = (void *)(lseg + 1); in __alloc_objio_seg() 204 lseg->oc.comps = (void *)(lseg->oc.ods + numdevs); in __alloc_objio_seg() 243 objio_seg->oc.first_dev = layout.olo_comps_index; in objio_alloc_lseg() [all …]
|
/fs/nfsd/ |
D | xdr4.h | 689 struct nfsd4_compound_state *, struct nfsd4_open_confirm *oc);
|
D | nfs4state.c | 5095 struct nfsd4_open_confirm *oc) in nfsd4_open_confirm() argument 5110 oc->oc_seqid, &oc->oc_req_stateid, in nfsd4_open_confirm() 5121 nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid); in nfsd4_open_confirm() 5124 __func__, oc->oc_seqid, STATEID_VAL(&stp->st_stid.sc_stateid)); in nfsd4_open_confirm()
|
D | nfs4xdr.c | 3329 …4_encode_open_confirm(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_open_confirm *oc) in nfsd4_encode_open_confirm() argument 3334 nfserr = nfsd4_encode_stateid(xdr, &oc->oc_resp_stateid); in nfsd4_encode_open_confirm()
|
/fs/dlm/ |
D | lock.c | 5281 int error = 0, mstype, err, oc, ou; in dlm_recover_waiters_post() local 5299 oc = is_overlap_cancel(lkb); in dlm_recover_waiters_post() 5307 dlm_dir_nodeid(r), oc, ou); in dlm_recover_waiters_post() 5323 if (oc || ou) { in dlm_recover_waiters_post() 5333 if (oc) { in dlm_recover_waiters_post() 5363 dlm_dir_nodeid(r), oc, ou); in dlm_recover_waiters_post()
|