Lines Matching full:oe

2971 	struct OPEN_ATTR_ENRTY *oe = NULL;  in find_loaded_attr()  local
2973 while ((oe = enum_rstbl(log->open_attr_tbl, oe))) { in find_loaded_attr()
2976 if (ino_get(&oe->ref) != rno) in find_loaded_attr()
2979 op_attr = (struct OpenAttr *)oe->ptr; in find_loaded_attr()
3035 static int do_action(struct ntfs_log *log, struct OPEN_ATTR_ENRTY *oe, in do_action() argument
3068 oa = oe->ptr; in do_action()
3176 t32 = le32_to_cpu(oe->bytes_per_index); in do_action()
3759 struct OPEN_ATTR_ENRTY *oe; in log_replay() local
4317 oe = NULL; in log_replay()
4318 while ((oe = enum_rstbl(oatbl, oe))) { in log_replay()
4322 /* Really 'oe' points to OPEN_ATTR_ENRTY_32. */ in log_replay()
4323 memcpy(&oe0, oe, SIZEOF_OPENATTRIBUTEENTRY0); in log_replay()
4325 oe->bytes_per_index = oe0.bytes_per_index; in log_replay()
4326 oe->type = oe0.type; in log_replay()
4327 oe->is_dirty_pages = oe0.is_dirty_pages; in log_replay()
4328 oe->name_len = 0; in log_replay()
4329 oe->ref = oe0.ref; in log_replay()
4330 oe->open_record_lsn = oe0.open_record_lsn; in log_replay()
4333 oe->is_attr_name = 0; in log_replay()
4334 oe->ptr = NULL; in log_replay()
4358 /* Check we can use open attribute entry 'oe'. */ in log_replay()
4359 if (t16 + sizeof(*oe) > oatbl_bytes) { in log_replay()
4365 oe = Add2Ptr(oatbl, t16); in log_replay()
4372 oe->name_len = t16 / sizeof(short); in log_replay()
4373 oe->ptr = ane->name; in log_replay()
4374 oe->is_attr_name = 2; in log_replay()
4592 oe = alloc_rsttbl_from_idx(&oatbl, t16); in log_replay()
4594 if (!oe) { in log_replay()
4605 oe->bytes_per_index = oe0->bytes_per_index; in log_replay()
4606 oe->type = oe0->type; in log_replay()
4607 oe->is_dirty_pages = oe0->is_dirty_pages; in log_replay()
4608 oe->name_len = 0; //oe0.name_len; in log_replay()
4609 oe->ref = oe0->ref; in log_replay()
4610 oe->open_record_lsn = oe0->open_record_lsn; in log_replay()
4612 memcpy(oe, Add2Ptr(lrh, t16), bytes_per_attr_entry); in log_replay()
4617 oe->ptr = kmalloc(t16, GFP_NOFS); in log_replay()
4618 if (!oe->ptr) { in log_replay()
4622 oe->name_len = t16 / sizeof(short); in log_replay()
4623 memcpy(oe->ptr, in log_replay()
4625 oe->is_attr_name = 1; in log_replay()
4627 oe->ptr = NULL; in log_replay()
4628 oe->is_attr_name = 0; in log_replay()
4715 oe = NULL; in log_replay()
4718 oe = enum_rstbl(oatbl, oe); in log_replay()
4719 if (!oe) { in log_replay()
4731 inode = ntfs_iget5(sbi->sb, &oe->ref, NULL); in log_replay()
4743 attr = attr_create_nonres_log(sbi, oe->type, 0, oe->ptr, in log_replay()
4744 oe->name_len, 0); in log_replay()
4758 attr = ni_find_attr(ni_oe, NULL, NULL, oe->type, oe->ptr, oe->name_len, in log_replay()
4807 if (oe->is_attr_name == 1) in log_replay()
4808 kfree(oe->ptr); in log_replay()
4809 oe->is_attr_name = 0; in log_replay()
4810 oe->ptr = oa; in log_replay()
4811 oe->name_len = attr->name_len; in log_replay()
4824 oe = Add2Ptr(oatbl, le32_to_cpu(dp->target_attr)); in log_replay()
4826 if (oe->next != RESTART_ENTRY_ALLOCATED_LE) in log_replay()
4829 oa = oe->ptr; in log_replay()
4845 rno = ino_get(&oe->ref); in log_replay()
4848 oe->type == ATTR_DATA) { in log_replay()
4928 oe = Add2Ptr(oatbl, t16); in log_replay()
4930 if (oe->next != RESTART_ENTRY_ALLOCATED_LE) { in log_replay()
4935 oa = oe->ptr; in log_replay()
5001 err = do_action(log, oe, lrh, t16, data, dlen, rec_len, &rec_lsn); in log_replay()
5061 oe = Add2Ptr(oatbl, le16_to_cpu(lrh->target_attr)); in log_replay()
5062 oa = oe->ptr; in log_replay()
5107 err = do_action(log, oe, lrh, t16, data, dlen, rec_len, NULL); in log_replay()
5191 oe = NULL; in log_replay()
5192 while ((oe = enum_rstbl(oatbl, oe))) { in log_replay()
5193 rno = ino_get(&oe->ref); in log_replay()
5195 if (oe->is_attr_name == 1) { in log_replay()
5196 kfree(oe->ptr); in log_replay()
5197 oe->ptr = NULL; in log_replay()
5201 if (oe->is_attr_name) in log_replay()
5204 oa = oe->ptr; in log_replay()