Home
last modified time | relevance | path

Searched refs:oir (Results 1 – 4 of 4) sorted by relevance

/fs/nfs/objlayout/
Dobjlayout.h96 void objlayout_init_ioerrs(struct objlayout_io_res *oir, unsigned num_comps, in objlayout_init_ioerrs() argument
100 oir->objlay = OBJLAYOUT(pnfs_layout_type); in objlayout_init_ioerrs()
101 oir->rpcdata = rpcdata; in objlayout_init_ioerrs()
102 INIT_LIST_HEAD(&oir->err_list); in objlayout_init_ioerrs()
103 oir->num_comps = num_comps; in objlayout_init_ioerrs()
104 oir->ioerrs = ioerrs; in objlayout_init_ioerrs()
120 extern void objio_free_result(struct objlayout_io_res *oir);
128 extern void objlayout_io_set_result(struct objlayout_io_res *oir,
147 extern void objlayout_read_done(struct objlayout_io_res *oir,
149 extern void objlayout_write_done(struct objlayout_io_res *oir,
Dobjlayout.c185 objlayout_iodone(struct objlayout_io_res *oir) in objlayout_iodone() argument
187 if (likely(oir->status >= 0)) { in objlayout_iodone()
188 objio_free_result(oir); in objlayout_iodone()
190 struct objlayout *objlay = oir->objlay; in objlayout_iodone()
194 list_add(&objlay->err_list, &oir->err_list); in objlayout_iodone()
206 objlayout_io_set_result(struct objlayout_io_res *oir, unsigned index, in objlayout_io_set_result() argument
210 struct pnfs_osd_ioerr *ioerr = &oir->ioerrs[index]; in objlayout_io_set_result()
212 BUG_ON(index >= oir->num_comps); in objlayout_io_set_result()
253 objlayout_read_done(struct objlayout_io_res *oir, ssize_t status, bool sync) in objlayout_read_done() argument
255 struct nfs_read_data *rdata = oir->rpcdata; in objlayout_read_done()
[all …]
Dobjio_osd.c123 struct objlayout_io_res oir; member
342 objlayout_init_ioerrs(&aos->objios.oir, objio_seg->oc.numdevs, in objio_alloc_io_state()
363 void objio_free_result(struct objlayout_io_res *oir) in objio_free_result() argument
365 struct objio_state *objios = container_of(oir, struct objio_state, oir); in objio_free_result()
417 objlayout_io_set_result(&objios->oir, comp, in __on_dev_error()
438 objlayout_read_done(&objios->oir, status, objios->sync); in _read_done()
458 objio_free_result(&objios->oir); in objio_read_pagelist()
476 objios->oir.committed = NFS_FILE_SYNC; in _write_done()
482 objlayout_write_done(&objios->oir, status, objios->sync); in _write_done()
488 struct nfs_write_data *wdata = objios->oir.rpcdata; in __r4w_get_page()
[all …]
/fs/ocfs2/
Dioctl.c726 struct ocfs2_info_request oir; in ocfs2_info_handle_unknown() local
728 if (o2info_from_user(oir, req)) in ocfs2_info_handle_unknown()
731 o2info_clear_request_filled(&oir); in ocfs2_info_handle_unknown()
733 if (o2info_to_user(oir, req)) in ocfs2_info_handle_unknown()
739 o2info_set_request_error(&oir, req); in ocfs2_info_handle_unknown()
755 struct ocfs2_info_request oir; in ocfs2_info_handle_request() local
757 if (o2info_from_user(oir, req)) in ocfs2_info_handle_request()
761 if (oir.ir_magic != OCFS2_INFO_MAGIC) in ocfs2_info_handle_request()
764 switch (oir.ir_code) { in ocfs2_info_handle_request()
766 if (oir.ir_size == sizeof(struct ocfs2_info_blocksize)) in ocfs2_info_handle_request()
[all …]