Searched refs:oir (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/fs/nfs/objlayout/ |
H A D | objlayout.c | 174 objlayout_iodone(struct objlayout_io_res *oir) objlayout_iodone() argument 176 if (likely(oir->status >= 0)) { objlayout_iodone() 177 objio_free_result(oir); objlayout_iodone() 179 struct objlayout *objlay = oir->objlay; objlayout_iodone() 183 list_add(&objlay->err_list, &oir->err_list); objlayout_iodone() 195 objlayout_io_set_result(struct objlayout_io_res *oir, unsigned index, objlayout_io_set_result() argument 199 struct pnfs_osd_ioerr *ioerr = &oir->ioerrs[index]; objlayout_io_set_result() 201 BUG_ON(index >= oir->num_comps); objlayout_io_set_result() 242 objlayout_read_done(struct objlayout_io_res *oir, ssize_t status, bool sync) objlayout_read_done() argument 244 struct nfs_pgio_header *hdr = oir->rpcdata; objlayout_read_done() 246 oir->status = hdr->task.tk_status = status; objlayout_read_done() 251 objlayout_iodone(oir); objlayout_read_done() 252 /* must not use oir after this point */ objlayout_read_done() 324 objlayout_write_done(struct objlayout_io_res *oir, ssize_t status, bool sync) objlayout_write_done() argument 326 struct nfs_pgio_header *hdr = oir->rpcdata; objlayout_write_done() 328 oir->status = hdr->task.tk_status = status; objlayout_write_done() 331 hdr->verf.committed = oir->committed; objlayout_write_done() 335 objlayout_iodone(oir); objlayout_write_done() 336 /* must not use oir after this point */ objlayout_write_done() 473 struct objlayout_io_res *oir, *tmp; encode_accumulated_error() local 476 list_for_each_entry_safe(oir, tmp, &objlay->err_list, err_list) { encode_accumulated_error() 479 for (i = 0; i < oir->num_comps; i++) { encode_accumulated_error() 480 struct pnfs_osd_ioerr *ioerr = &oir->ioerrs[i]; encode_accumulated_error() 499 list_del(&oir->err_list); encode_accumulated_error() 500 objio_free_result(oir); encode_accumulated_error() 512 struct objlayout_io_res *oir, *tmp; objlayout_encode_layoutreturn() local 521 list_for_each_entry_safe(oir, tmp, &objlay->err_list, err_list) { objlayout_encode_layoutreturn() 526 for (i = 0; i < oir->num_comps; i++) { objlayout_encode_layoutreturn() 527 struct pnfs_osd_ioerr *ioerr = &oir->ioerrs[i]; objlayout_encode_layoutreturn() 551 pnfs_osd_xdr_encode_ioerr(p, &oir->ioerrs[i]); objlayout_encode_layoutreturn() 567 list_del(&oir->err_list); objlayout_encode_layoutreturn() 568 objio_free_result(oir); objlayout_encode_layoutreturn()
|
H A D | objlayout.h | 96 void objlayout_init_ioerrs(struct objlayout_io_res *oir, unsigned num_comps, objlayout_init_ioerrs() argument 100 oir->objlay = OBJLAYOUT(pnfs_layout_type); objlayout_init_ioerrs() 101 oir->rpcdata = rpcdata; objlayout_init_ioerrs() 102 INIT_LIST_HEAD(&oir->err_list); objlayout_init_ioerrs() 103 oir->num_comps = num_comps; objlayout_init_ioerrs() 104 oir->ioerrs = ioerrs; objlayout_init_ioerrs() 117 /* objio_free_result will free these @oir structs received from 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,
|
H A D | objio_osd.c | 78 struct objlayout_io_res oir; member in struct:objio_state 311 objlayout_init_ioerrs(&aos->objios.oir, objio_seg->oc.numdevs, objio_alloc_io_state() 332 void objio_free_result(struct objlayout_io_res *oir) objio_free_result() argument 334 struct objio_state *objios = container_of(oir, struct objio_state, oir); objio_free_result() 386 objlayout_io_set_result(&objios->oir, comp, __on_dev_error() 407 objlayout_read_done(&objios->oir, status, objios->sync); _read_done() 427 objio_free_result(&objios->oir); objio_read_pagelist() 445 objios->oir.committed = NFS_FILE_SYNC; _write_done() 451 objlayout_write_done(&objios->oir, status, objios->sync); _write_done() 457 struct nfs_pgio_header *hdr = objios->oir.rpcdata; __r4w_get_page() 523 objio_free_result(&objios->oir); objio_write_pagelist()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | ioctl.c | 693 struct ocfs2_info_request oir; ocfs2_info_handle_unknown() local 695 if (o2info_from_user(oir, req)) ocfs2_info_handle_unknown() 698 o2info_clear_request_filled(&oir); ocfs2_info_handle_unknown() 700 if (o2info_to_user(oir, req)) ocfs2_info_handle_unknown() 717 struct ocfs2_info_request oir; ocfs2_info_handle_request() local 719 if (o2info_from_user(oir, req)) ocfs2_info_handle_request() 723 if (oir.ir_magic != OCFS2_INFO_MAGIC) ocfs2_info_handle_request() 726 switch (oir.ir_code) { ocfs2_info_handle_request() 728 if (oir.ir_size == sizeof(struct ocfs2_info_blocksize)) ocfs2_info_handle_request() 732 if (oir.ir_size == sizeof(struct ocfs2_info_clustersize)) ocfs2_info_handle_request() 736 if (oir.ir_size == sizeof(struct ocfs2_info_maxslots)) ocfs2_info_handle_request() 740 if (oir.ir_size == sizeof(struct ocfs2_info_label)) ocfs2_info_handle_request() 744 if (oir.ir_size == sizeof(struct ocfs2_info_uuid)) ocfs2_info_handle_request() 748 if (oir.ir_size == sizeof(struct ocfs2_info_fs_features)) ocfs2_info_handle_request() 752 if (oir.ir_size == sizeof(struct ocfs2_info_journal_size)) ocfs2_info_handle_request() 756 if (oir.ir_size == sizeof(struct ocfs2_info_freeinode)) ocfs2_info_handle_request() 760 if (oir.ir_size == sizeof(struct ocfs2_info_freefrag)) ocfs2_info_handle_request()
|
Completed in 129 milliseconds