Searched refs:oir (Results 1 – 4 of 4) sorted by relevance
/fs/nfs/objlayout/ |
D | objlayout.c | 174 objlayout_iodone(struct objlayout_io_res *oir) in objlayout_iodone() argument 176 if (likely(oir->status >= 0)) { in objlayout_iodone() 177 objio_free_result(oir); in objlayout_iodone() 179 struct objlayout *objlay = oir->objlay; in objlayout_iodone() 183 list_add(&objlay->err_list, &oir->err_list); in objlayout_iodone() 195 objlayout_io_set_result(struct objlayout_io_res *oir, unsigned index, in objlayout_io_set_result() argument 199 struct pnfs_osd_ioerr *ioerr = &oir->ioerrs[index]; in objlayout_io_set_result() 201 BUG_ON(index >= oir->num_comps); in objlayout_io_set_result() 242 objlayout_read_done(struct objlayout_io_res *oir, ssize_t status, bool sync) in objlayout_read_done() argument 244 struct nfs_pgio_header *hdr = oir->rpcdata; in objlayout_read_done() [all …]
|
D | objlayout.h | 96 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,
|
D | objio_osd.c | 78 struct objlayout_io_res oir; member 311 objlayout_init_ioerrs(&aos->objios.oir, objio_seg->oc.numdevs, in objio_alloc_io_state() 332 void objio_free_result(struct objlayout_io_res *oir) in objio_free_result() argument 334 struct objio_state *objios = container_of(oir, struct objio_state, oir); in objio_free_result() 386 objlayout_io_set_result(&objios->oir, comp, in __on_dev_error() 407 objlayout_read_done(&objios->oir, status, objios->sync); in _read_done() 427 objio_free_result(&objios->oir); in objio_read_pagelist() 445 objios->oir.committed = NFS_FILE_SYNC; in _write_done() 451 objlayout_write_done(&objios->oir, status, objios->sync); in _write_done() 457 struct nfs_pgio_header *hdr = objios->oir.rpcdata; in __r4w_get_page() [all …]
|
/fs/ocfs2/ |
D | ioctl.c | 691 struct ocfs2_info_request oir; in ocfs2_info_handle_unknown() local 693 if (o2info_from_user(oir, req)) in ocfs2_info_handle_unknown() 696 o2info_clear_request_filled(&oir); in ocfs2_info_handle_unknown() 698 if (o2info_to_user(oir, req)) in ocfs2_info_handle_unknown() 715 struct ocfs2_info_request oir; in ocfs2_info_handle_request() local 717 if (o2info_from_user(oir, req)) in ocfs2_info_handle_request() 721 if (oir.ir_magic != OCFS2_INFO_MAGIC) in ocfs2_info_handle_request() 724 switch (oir.ir_code) { in ocfs2_info_handle_request() 726 if (oir.ir_size == sizeof(struct ocfs2_info_blocksize)) in ocfs2_info_handle_request() 730 if (oir.ir_size == sizeof(struct ocfs2_info_clustersize)) in ocfs2_info_handle_request() [all …]
|