Searched refs:oc (Results 1 - 11 of 11) sorted by relevance

/fs/exofs/
H A Dexofs.h78 struct ore_components oc; /* comps for the partition */ member in struct:exofs_sb_info
93 struct ore_components oc; /* inode view of the device table */ member in struct:exofs_i_info
224 static inline void exofs_init_comps(struct ore_components *oc, argument
234 oc->first_dev = 0;
235 oc->numdevs = sbi->layout.group_width * sbi->layout.mirrors_p1 *
237 oc->single_comp = EC_SINGLE_COMP;
238 oc->comps = one_comp;
241 first_dev = (dev_mod * sbi->layout.mirrors_p1) % sbi->oc.numdevs;
242 oc->ods = &sbi->oc
[all...]
H A Dore.c126 return ios->oc->comps[index & ios->oc->single_comp].cred;
131 return &ios->oc->comps[index & ios->oc->single_comp].obj;
136 ORE_DBGMSG2("oc->first_dev=%d oc->numdevs=%d i=%d oc->ods=%p\n",
137 ios->oc->first_dev, ios->oc->numdevs, index,
138 ios->oc
143 _ore_get_io_state(struct ore_layout *layout, struct ore_components *oc, unsigned numdevs, unsigned sgs_per_dev, unsigned num_par_pages, struct ore_io_state **pios) argument
242 ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, bool is_reading, u64 offset, u64 length, struct ore_io_state **pios) argument
311 ore_get_io_state(struct ore_layout *layout, struct ore_components *oc, struct ore_io_state **pios) argument
1100 ore_truncate(struct ore_layout *layout, struct ore_components *oc, u64 size) argument
[all...]
H A Dsuper.c274 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios);
329 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios);
368 struct ore_components oc; local
386 exofs_init_comps(&oc, &one_comp, sbi, EXOFS_SUPER_ID);
388 ret = ore_get_io_state(&sbi->layout, &oc, &ios);
425 unsigned numdevs = sbi->oc.numdevs;
429 struct osd_dev *od = ore_comp_dev(&sbi->oc, i);
432 ore_comp_set_dev(&sbi->oc, i, NULL);
436 kfree(sbi->oc.ods);
463 _exofs_print_device("Unmounting", NULL, ore_comp_dev(&sbi->oc,
[all...]
H A Dore_raid.h55 struct ore_components *oc, unsigned numdevs,
H A Dinode.c319 int ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, true,
638 ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, false,
1017 ret = ore_truncate(&sbi->layout, &oi->oc, (u64)newsize);
1084 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios);
1090 attrs[1].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs);
1091 attrs[2].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs);
1174 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info,
1328 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info,
1334 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios);
1423 ret = ore_get_io_state(&sbi->layout, &oi->oc,
[all...]
H A Dore_raid.c328 ret = _ore_get_io_state(layout, ios->oc,
374 q = osd_request_queue(ore_comp_dev(read_ios->oc, per_dev->dev));
/fs/nfs/objlayout/
H A Dobjio_osd.c67 struct ore_components oc; member in struct:objio_segment
160 static void copy_single_comp(struct ore_components *oc, unsigned c, argument
163 struct ore_comp *ocomp = &oc->comps[c];
191 numdevs * sizeof(lseg->oc.ods[0]) +
192 numdevs * sizeof(*lseg->oc.comps);
201 lseg->oc.numdevs = numdevs;
202 lseg->oc.single_comp = EC_MULTPLE_COMPS;
203 lseg->oc.ods = (void *)(lseg + 1);
204 lseg->oc.comps = (void *)(lseg->oc
[all...]
/fs/nfsd/
H A Dxdr4.h620 struct nfsd4_compound_state *, struct nfsd4_open_confirm *oc);
H A Dnfs4state.c4701 struct nfsd4_open_confirm *oc)
4716 oc->oc_seqid, &oc->oc_req_stateid,
4726 memcpy(&oc->oc_resp_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t));
4728 __func__, oc->oc_seqid, STATEID_VAL(&stp->st_stid.sc_stateid));
4700 nfsd4_open_confirm(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open_confirm *oc) argument
H A Dnfs4xdr.c3081 nfsd4_encode_open_confirm(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_open_confirm *oc) argument
3086 nfserr = nfsd4_encode_stateid(xdr, &oc->oc_resp_stateid);
/fs/dlm/
H A Dlock.c5269 int error = 0, mstype, err, oc, ou; local
5287 oc = is_overlap_cancel(lkb);
5295 dlm_dir_nodeid(r), oc, ou);
5311 if (oc || ou) {
5321 if (oc) {
5351 dlm_dir_nodeid(r), oc, ou);

Completed in 62 milliseconds