Lines Matching refs:oa
3031 struct OpenAttr *oa, *oa2; in do_action() local
3047 oa = oe->ptr; in do_action()
3150 attr = oa->attr; in do_action()
3171 err = ntfs_read_run_nb(sbi, oa->run1, vbo, buffer_le, bytes, in do_action()
3687 attr = oa->attr; in do_action()
3688 err = ntfs_sb_write_run(sbi, oa->run1, vbo, buffer_le, bytes, 0); in do_action()
3731 struct OpenAttr *oa; in log_replay() local
4693 oa = kzalloc(sizeof(struct OpenAttr), GFP_NOFS); in log_replay()
4694 if (!oa) { in log_replay()
4706 if (oa->ni) { in log_replay()
4707 iput(&oa->ni->vfs_inode); in log_replay()
4708 oa->ni = NULL; in log_replay()
4714 kfree(oa); in log_replay()
4718 oa->attr = attr; in log_replay()
4719 oa->run1 = &oa->run0; in log_replay()
4724 oa->ni = ni_oe; in log_replay()
4733 oa->attr = kmemdup(attr, t32, GFP_NOFS); in log_replay()
4734 if (!oa->attr) in log_replay()
4739 oa->run1 = &ni_oe->file.run; in log_replay()
4746 oa->run1 = &ni_oe->dir.alloc_run; in log_replay()
4756 kfree(oa->attr); in log_replay()
4757 oa->attr = NULL; in log_replay()
4761 err = run_unpack(&oa->run0, sbi, inode->i_ino, svcn, in log_replay()
4765 kfree(oa->attr); in log_replay()
4766 oa->attr = NULL; in log_replay()
4771 oa->run1 = &oa->run0; in log_replay()
4772 attr = oa->attr; in log_replay()
4778 oe->ptr = oa; in log_replay()
4797 oa = oe->ptr; in log_replay()
4798 if (!oa) in log_replay()
4822 if ((!run_lookup_entry(oa->run1, vcn, &lcn0, &len0, NULL) || in log_replay()
4824 !run_add_entry(oa->run1, vcn, lcn, 1, false)) { in log_replay()
4828 attr = oa->attr; in log_replay()
4904 oa = oe->ptr; in log_replay()
4906 if (!oa) { in log_replay()
4910 attr = oa->attr; in log_replay()
4914 if (!run_lookup_entry(oa->run1, vcn, &lcn, NULL, NULL) || in log_replay()
5031 oa = oe->ptr; in log_replay()
5037 is_mapped = run_lookup_entry(oa->run1, le64_to_cpu(lrh->target_vcn), in log_replay()
5055 attr = oa->attr; in log_replay()
5173 oa = oe->ptr; in log_replay()
5174 if (!oa) in log_replay()
5177 run_close(&oa->run0); in log_replay()
5178 kfree(oa->attr); in log_replay()
5179 if (oa->ni) in log_replay()
5180 iput(&oa->ni->vfs_inode); in log_replay()
5181 kfree(oa); in log_replay()